-
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
Could not parse version constraint: <empty> #1782
Labels
kind/bug
Something isn't working as expected
Comments
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
-vvv
option).Issue
The following lines:
poetry/poetry/puzzle/provider.py
Lines 676 to 680 in 06cdc77
When the package python constraint(e.g. We want
flake8
for python>=3.6
only, it doesn't overlap with dep python constraint(e.g.configparser
is only needed for python<3.2
), it meansconfigparser
is not required at all and shouldn't be listed in the lock result. However, in this casepoetry
will throw aCould not parse version constraint: <empty>
error because the intersection version is<empty>
.Error detail:
Steps to replicate
$ poetry add -D -vvv --python ">=3.6" pytest
Possible related:
#1484
The text was updated successfully, but these errors were encountered: