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
Suppose I create a project (extra) with an extra dependency (or multiple). I then create another project (dep1) which depends on the project with extras and specify some extras. I then create a third project (dep2) which depends on extra but with no extras and dep1.
poetry gets stuck in an infinite loop trying to resolve this (also leaks a lot of memory while doing so). I guess the issue is that poetry considers extra and extra[net] packages disjoint. I'd assume these dependencies are compatible. I'd also assume that if they weren't compatible, poetry would raise an error which it does not.
The text was updated successfully, but these errors were encountered:
Since poetry 1.2.0, if a package has extras and another package depends
on this one twice through other dependencies, but with different extra
requirements, poetry gets stuck and leaks memory. This is a workaround
for that.
See python-poetry/poetry#7194
Kuba314
added a commit
to Kuba314/lrc-file
that referenced
this issue
Jan 9, 2023
Since poetry 1.2.0, if a package has extras and another package depends
on this one twice through other dependencies, but with different extra
requirements, poetry gets stuck and leaks memory. This is a workaround
for that.
See python-poetry/poetry#7194
-vvv
option) and have included the output below.Issue
Suppose I create a project (
extra
) with an extra dependency (or multiple). I then create another project (dep1
) which depends on the project with extras and specify some extras. I then create a third project (dep2
) which depends onextra
but with no extras anddep1
.poetry
gets stuck in an infinite loop trying to resolve this (also leaks a lot of memory while doing so). I guess the issue is thatpoetry
considersextra
andextra[net]
packages disjoint. I'd assume these dependencies are compatible. I'd also assume that if they weren't compatible,poetry
would raise an error which it does not.The text was updated successfully, but these errors were encountered: