-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove
usage is unclear
#9041
Comments
But it does. I don't know whether this makes you more right or more wrong! Anyway, if you want docs improvements the way to do it is to submit a pull request with the change you want to see. It doesn't have to be perfect first time, folk will review before merging. |
Oh yeah. you are right... I just tried it. Okay, I still think this documentation on I can open up a pull request and:
What I am still not sure about is why using the "--lock" flag edits both Also, what are the "operations" that the documentation refers to? |
'--lock` does make it "not actually uninstall packages" ie it just updates the lock file |
In this context, an operation is an action poetry takes for the project - install, uninstall, skip (no action). Feel free to raise a documentation change when you are ready. Specifics can be discussed there. Closing this for now as I believe your questions have been answered. Feel free to start a discussion on GitHub and/or on Discord to discuss further or if you need help around how to make the changes. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue Kind
Unclear documentation
Existing Link
https://python-poetry.org/docs/cli/#remove
Description
It is not entirely clear what remove does and it would be helpful to be more explicit about the action that
remove
performs. From the current documentation, while it does mention that "Theremove
command removes a package from the current list of installed packages." It should explicitly add that it doesn't actually uninstall packages.I imagine this would prevent some confusion around issues such as #648 and #468.
Additionally, I am not noticing any difference between the actions performed using
remove
with or without--lock
. They update bothpyproject.toml
andpoetry.lock
. If there are side effects ofremove
, it'd also be nice to know what those are (Like why doesremove
update and resolve dependencies? Why does "Package operations" without--lock
say "0 removals" despite the packages being removed?)The text was updated successfully, but these errors were encountered: