You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: Ubuntu 20.04.3 LTS
Poetry version: 1.1.8
Issue
After bump version in pyproject.toml and execute poetry install poetry not remove old dist-info folder from project venv:
ls ~/.cache/pypoetry/virtualenvs/poetry-bug-w3pEPh55-py3.8/lib/python3.8/site-packages/poetry_bug*
/home/user/.cache/pypoetry/virtualenvs/poetry-bug-w3pEPh55-py3.8/lib/python3.8/site-packages/poetry_bug.pth
/home/user/.cache/pypoetry/virtualenvs/poetry-bug-w3pEPh55-py3.8/lib/python3.8/site-packages/poetry_bug-0.1.0.dist-info:
INSTALLER METADATA RECORD
/home/user/.cache/pypoetry/virtualenvs/poetry-bug-w3pEPh55-py3.8/lib/python3.8/site-packages/poetry_bug-0.1.1.dist-info:
INSTALLER METADATA RECORD
This affect pkg_resources (and maybe other package utils) module behavior - pkg_resources.get_distribution(module_name) can take incorrect version for project.
-vvv
option).Issue
After bump version in
pyproject.toml
and executepoetry install
poetry not remove old dist-info folder from project venv:This affect pkg_resources (and maybe other package utils) module behavior -
pkg_resources.get_distribution(module_name)
can take incorrect version for project.pyproject.toml
for reproduce bug is very basic:The text was updated successfully, but these errors were encountered: