-
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 fails to resolve constraints of both python and markers #3444
Comments
As a note, this also seems to work if you specify an environment marker constraint on the python version instead of using poetry's What you have in your snippet doesn't seem to work:
But moving the version constraint to the marker seems to work:
It seems like poetry might be ignoring the |
The following test confirms that
then setting a breakpoint inside
|
@mrosales moving inside markers may have a side effect on performance, by preventing early version validation - and thus make resolving slower. |
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
The toml file provided fails to lock, due to a version conflict on pytype and python. The message is:
running also printed
For pytype, a possible solution would be to set the
pythonproperty to ">=3.7,<3.9"
, which suggests that poetry is ignoring the python property altogether (since that is the property's current value).The file locks properly if I erase the markers property, or set it to an empty string.
The text was updated successfully, but these errors were encountered: