-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
OS version and name: Linux 5.10.0-10-amd64 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux
-
Poetry version: 1.2.0b1
-
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/karlb/4ef34bd22cbd39dde7a7d8aa3bd6ca22
Issue
When running poetry update, the Resolving dependencies... step is stuck in what seems to be an infinite loop. It runs for a long time (>1000s) until I am force to kill it, because it starts to use excessive amounts of memory (>8GB).
The problem only happens when dependencies are involved where the declared dependency name differs from the PyPI package name in ways allowed by the package name normalization. In the gist, the problematic dependencies are zope-interface (zope.interface on PyPI) and zope-event (zope.event on PyPI). These are transitive dependencies of the "bug" project included via the raiden dependency.
This seems to be related to #3365 and #3200 and a potential duplicate of these. However, the case is slightly different, since the problematic dependencies are not declared in the package managed by poetry, but in a dependency (which is not created using poetry). Due to this, I don't see a way to work around this by changing the pyproject.toml as done in #3132 (comment).