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.
-vvv
option).Poetry version 1.0.5
Issue
The dependency resolution seems to get stuck in a loop due to the derived
botocore
dependency requiringdocutils<0.16
. This dependency comes fromZappa
requiringboto3
which requiresbotocore
. I'm not sure why poetry is selectingdocutils==0.16
and then getting stuck in a loop trying to resolveboto3
andbotocore
.The workaround is to add
boto3
directly as a dependency, I.E.poetry add boto3
. Then poetry correctly selectsdocutils<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