Replies: 3 comments 5 replies
-
|
@mbrancato looks like you have poetry installed in the same environment that you are managing. This is bad. And in any case, and Poetry does not use the pip or packaging from within the project's virtual env (#2826). |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
@mbrancato #10091 should resolve the issue you are facing. Would be good if you can test it out. Can you please try the fix at #PULL_ID. Using pipxpipx install --suffix=@10091 'poetry @ git+https://github.com/python-poetry/poetry.git@refs/pull/10091/head'
alias poetry=poetry@10091
poetry installUsing a container (podman | docker)podman run --rm -i --entrypoint bash python:latest <<EOF
set -xe
python -m pip install --disable-pip-version-check -q git+https://github.com/python-poetry/poetry.git@refs/pull/10091/head
...
poetry install
EOF |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
For completeness, the regression was addressed in #10102. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've noticed several issues which are related to
EnvCommandErrororCalledProcessError. Many of these seem to be an issue that I have experienced and can reproduce related to a race condition with core packages. When packages likesetuptools,wheel, orpipare included in the lock file, commands likepoetry updateandpoetry installcan fail when performing installations. The process seems to be related to parallel install workers. When, for example, the packagepipis being updated, other workers callingpipwill fail.This can be resolved by setting
POETRY_INSTALLER_MAX_WORKERS=1on the env. Part of the issue here is that the packages do not explicitly call out a dependency onpipor others, and whenpoetrybuilds a graph for ordering installation, it is not taking into account its own use ofpipand others to install the packages.Example:
With only 1 worker, this does not happen:
Beta Was this translation helpful? Give feedback.
All reactions