-
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-untracked
does not remove old versions of root package
#5204
Comments
I encountered this exact issue earlier this week. Not clear if the described effect on |
I’ve filed https://bugs.python.org/issue46774 To understand if they consider this a bug in the upstream Python language. |
When will this be in the released poetry version if it was already solved? |
Looks like it's included with 1.2.0a1 and later. |
@jaraco Is there a tentative release date for poetry 1.2? |
I don't maintain this project; I hope someone else knows. |
@finswimmer Is there a tentative release date for poetry 1.2? |
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. |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name:
macOS Catalina 10.15.7 (19H1715)
Poetry version:
Poetry version 1.1.13
Link of a Gist with the contents of your pyproject.toml file: https://github.com/kkirsche/poetry-remove-untracked
before
andafter
tag with reproduction steps in theREADME.md
Issue
I expect the
--remove-untracked
flag to remove versions of the root package that no longer match the pyproject.toml file.By not removing these files, if the project uses
importlib.metadata.version
, this will return an incorrect version number even though the pip installation is aware that a later version is the newest.The text was updated successfully, but these errors were encountered: