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 am using a system-wide Python 3.10 installation with up-to-date pip, setuptools and poetry, which also includes a few packages that require binaries being built during installation, example: netifaces. Version 0.11.0 is installed in /opt/python-3.10.9/lib/python3.10/site-packages/
I have a poetry.toml with:
[virtualenvs.options]
system-site-packages = true
Now when running "poetry install" (poetry version 1.3.1), I see this message:
This should not happen - why update the same version? In my case, this even fails fatally, because the environment (a Docker container) does not have a working gcc.
My expectation is that poetry will recognise the package version available in site-packages (as configured in poetry.toml) and skip any attempt to install the same version in the virtual env.
The text was updated successfully, but these errors were encountered:
This is not, in fact, the same version -- there is a direct_url.json marker in that distribution that marks it as installed from a path and not an index. The path in the version number indicates this.
Additionally, please follow the issue template and the contribution guide when reporting issues in the future -- it really helps us address your issues faster.
I am using a system-wide Python 3.10 installation with up-to-date pip, setuptools and poetry, which also includes a few packages that require binaries being built during installation, example: netifaces. Version 0.11.0 is installed in /opt/python-3.10.9/lib/python3.10/site-packages/
I have a poetry.toml with:
Now when running "poetry install" (poetry version 1.3.1), I see this message:
This should not happen - why update the same version? In my case, this even fails fatally, because the environment (a Docker container) does not have a working gcc.
My expectation is that poetry will recognise the package version available in site-packages (as configured in poetry.toml) and skip any attempt to install the same version in the virtual env.
The text was updated successfully, but these errors were encountered: