-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poetry 1.2.0b3 lock fails with no output #6054
Comments
introduced at #5770: which is not to say that fix was necessarily wrong... @radoering |
Tweaking the #5770 fix so that it only kicks in if a direct-origin-dependency is involved seems to limit it sufficiently that it un-breaks this new example. But I'm not sure whether this is actually sensible or it is just putting one dodgy fix on top of another |
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. |
-vvv
option).Issue
I've discovered a case where the latest pre-release version of Poetry (1.2.0b3) fails to lock dependencies in some cases. Unfortunately, I haven't been able to track down why exactly this happens, but I do have a concrete example (linked above).
Steps to reproduce:
pipx install --suffix @1.2.0b3 'poetry==1.2.0b3'
to distinguish from my other installations)pyproject.toml
withkfp = "1.8.12"
andgsutil = "^5.6.0"
poetry@1.2.0b3 lock
The output I get is:
Running the same command with
-vvv
:The line
1: selecting gsutil (5.11)
seems very weird to me becausegsutil==5.11
is incompatible withkfp==1.8.12
because the first one depends ongoogle-auth >=2.5.0
and the second one - ongoogle-auth >=1.6.1,<2
With some other combinations of dependencies I also ran into a similar issue where there is no output from running
poetry@1.2.0b3 lock
, butpoetry@1.2.0b3 lock -vvv
reveals anOverrideNeeded
exception, which sounds similar to #5791 (and also prints the same line withpandas
andnumpy
). If needed, I can try to find a combination of dependencies that reveals this exact exception, but I don't have it right now.If I try to do the same with Poetry version 1.2.0b2, everything works fine and resolves
gsutil
to version5.6
because that's the latest version compatible with the other library (kfp
).The text was updated successfully, but these errors were encountered: