-vvv option).After updating to poetry 1.1.0, poetry fails with an AssertionError. You can reproduce this by adding the pyproject.toml linked above to an empty directory and running poetry install.
After 1: Version solving took 0.600 seconds. and 1: Tried 1 solutions., I get:
AssertionError
at ~/.poetry/lib/poetry/mixology/incompatibility.py:60 in __init__
56│ # intersection, they're mutually exclusive, making this incompatibility
57│ # irrelevant, since we already know that mutually exclusive version
58│ # ranges are incompatible. We should never derive an irrelevant
59│ # incompatibility.
→ 60│ assert by_ref[ref] is not None
61│ else:
62│ by_ref[ref] = term
63│
64│ new_terms = []
@konstin poetry add --lock django-anymail@^7.2 should resolve your issue.
@abn If we do that, then the extras don't show in pyproject.toml (in my case, I would need those), would the workaround also include extras?
Update: I filed a report in #3017
I made an issue at #3017 - same error message - but I'm not sure if it's related (at the core of things) or not yet.
I added a full traceback via -vvv. Please feel free to close #3017 if its a duplicate / handled via this issue
Thank you!
@abn Any recommendation for a workaround while waiting for 1.2 to be released? This is currently breaking multiple of our pipelines.
@aaaaahaaaaa we will be releasing a bug fix release 1.1.1 soon :)
@abn Any rough ETA?
@aaaaahaaaaa if the current open bugfix PRs get reviewed and verified, this weekend. Otherwise early next week.
For those with broken pipelines: downgrading to 1.0.10 (poetry self update 1.0.10) did the trick for me. So I can wait with green pipelines until 1.1.1 is rolled out : )
Most helpful comment
For those with broken pipelines: downgrading to 1.0.10 (
poetry self update 1.0.10) did the trick for me. So I can wait with green pipelines until 1.1.1 is rolled out : )