You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am on the latest stable Poetry version, installed using a recommended method.
I have searched the issues of this repo and believe that this is not a duplicate.
I have consulted the FAQ and blog for any relevant entries or release notes.
If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.
Issue
When I try to update the existing dependency to cause a dependency conflict, dependency resolution continues infinitely.
The rasa package used in the reproduction steps below depends on pytz (>=2019.1,<2023.0).
Steps to reproduce
First, run poetry install with the following tool.poetry.dependencies:
The Resolving dependencies... message is displayed infinitely, and poetry uses over 10GB(!) of memory if you keep waiting.
Debug Mode (-vvv option) Output
Running poetry update -vvv pytz gives the following output infinitely:
1: ! thus: rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 requires pytz (>=2019.1,<202
3.0)
1: ! rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 is partially satisfied by not rasa
(3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297
1: ! which is caused by "rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 depends on pytz (>=2019.1,<2023.0)"
1: ! thus: rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 requires pytz (>=2019.1,<202
3.0)
1: ! rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 is partially satisfied by not rasa
(3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297
1: ! which is caused by "rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 depends on pytz (>=2019.1,<2023.0)"
1: ! thus: rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 requires pytz (>=2019.1,<202
3.0)
1: ! rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 is partially satisfied by not rasa
(3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297
1: ! which is caused by "rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 depends on pytz (>=2019.1,<2023.0)"
1: ! thus: rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 requires pytz (>=2019.1,<202
3.0)
1: ! rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 is partially satisfied by not rasa
(3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297
1: ! which is caused by "rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 depends on pytz (>=2019.1,<2023.0)"
1: ! thus: rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 requires pytz (>=2019.1,<202
3.0)
Expected Correct Behavior
If I run poetry install from the beginning with tool.poetry.dependencies as shown below,
Updating dependencies
Resolving dependencies... (0.4s)
Because test-poetry depends on rasa (3.4.2) @ git+https://github.com/MycroftKang/rasa-cpu.git@dc276bb975d205daa389551727240437c5131297 which depends on pytz (>=2019.1,<2023.0), pytz is required.
So, because test-poetry depends on pytz (2023.3), version solving failed.
It should be like this even in the case described in the reproduction step above.
The text was updated successfully, but these errors were encountered:
-vvv
option) and have included the output below.Issue
When I try to update the existing dependency to cause a dependency conflict, dependency resolution continues infinitely.
The
rasa
package used in the reproduction steps below depends onpytz (>=2019.1,<2023.0)
.Steps to reproduce
poetry install
with the followingtool.poetry.dependencies
:2022.1
to2023.3
and runpoetry update pytz
.Resolving dependencies...
message is displayed infinitely, and poetry uses over 10GB(!) of memory if you keep waiting.Debug Mode (-vvv option) Output
Running
poetry update -vvv pytz
gives the following output infinitely:Expected Correct Behavior
If I run
poetry install
from the beginning withtool.poetry.dependencies
as shown below,poetry will exit with the following message.
It should be like this even in the case described in the reproduction step above.
The text was updated successfully, but these errors were encountered: