Infinite loop when resolving dependencies #9745
Labels
area/solver
Related to the dependency resolver
kind/bug
Something isn't working as expected
status/triage
This issue needs to be triaged
Description
With the example
pyproject.toml
(see below),poetry lock
hangs on "Resolving dependencies". Withpoetry -vvv lock
you can see that it enters an infinite loop with three lines repeating forever (see below).Maybe this set of dependencies is impossible to satisfy, but if so, there should be a relevant error message, not an infinite loop.
Workarounds
You can modify the dependencies, e.g. with
poetry lock
works correctly.Adding an additional dependency:
ml-dtypes = "^0.4.1"
, without modifying the others, has the same effect.Poetry Installation Method
pipx
Operating System
Ubuntu 22.04.5 LTS
Poetry Version
Poetry (version 1.8.3)
Poetry Configuration
Python Sysconfig
No response
Example pyproject.toml
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: