-vvv
option).I observed strange downgrade when adding new deps to my project. Aside the fact that whole process takes almost 15 minutes (8 minutes resolving, 7 minutes lock writing; I blame it on aws-cdk
galaxy), some packages get downgraded. Then, after the install, I run poetry update
(another 15 minutes) - each downgraded package is upgraded back to latest version.
Both my pyproject.toml and example process is attached in gist link above.
It appears that for the dependencies you've specified, it takes about 10s to do version solving, but that it takes a large amount of time to go through graph building (Solver._build_graph()
) using poetry
1.1.10.
Through a process of adding dependencies, I've identified that aws-cdk.aws-rds
and ws-cdk.aws-ecs
(together), aws-cdk.aws-ecs-patterns
(by itself) seems to be causing some issue. There's over 700k calls (I had to kill it) to Solver._build_graph()
聽which doesn't appear to be normal.
Graph building will need to have better logging facilities to debug this issue :slightly_smiling_face:
Most helpful comment
It appears that for the dependencies you've specified, it takes about 10s to do version solving, but that it takes a large amount of time to go through graph building (
Solver._build_graph()
) usingpoetry
1.1.10.Through a process of adding dependencies, I've identified that
aws-cdk.aws-rds
andws-cdk.aws-ecs
(together),aws-cdk.aws-ecs-patterns
(by itself) seems to be causing some issue. There's over 700k calls (I had to kill it) toSolver._build_graph()
聽which doesn't appear to be normal.Graph building will need to have better logging facilities to debug this issue :slightly_smiling_face: