python-poetry / poetry

Python packaging and dependency management made easy
https://python-poetry.org
MIT License
31.08k stars 2.25k forks source link

Dependency resolution loop with Sphinx and Zappa #2298

Closed ryancausey closed 3 years ago

ryancausey commented 4 years ago

Issue

The dependency resolution seems to get stuck in a loop due to the derived botocore dependency requiring docutils<0.16. This dependency comes from Zappa requiring boto3 which requires botocore. I'm not sure why poetry is selecting docutils==0.16 and then getting stuck in a loop trying to resolve boto3 and botocore.

The workaround is to add boto3 directly as a dependency, I.E. poetry add boto3. Then poetry correctly selects docutils<0.16.

The pyproject.toml GIST linked above is the minimum required to reproduce this issue.

Here's a gist containing some of the verbose output of the loop: https://gist.github.com/ryancausey/25c01d8a06fcdc7aef40424168dfdbb5

finswimmer commented 3 years ago

Hello,

this seems to solved in the meantime.

fin swimmer

github-actions[bot] commented 6 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.