Upgrade after installing poetry downgrades dependencies #9546
-
Is it expected behavior that after installing poetry using an official script and then running the command: poetry self update this operation downgrades installed dependencies? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you run |
Beta Was this translation helpful? Give feedback.
If you run
poetry self update
immediately after installing it, I would not expect any change. However, the script installs poetry via pip andpoetry self update
uses its own resolver so that it can happen that pip's resolver and poetry's resolver come up with different solutions. Apart from that, an update of some dependencies can always require a downgrade of other dependences.