-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
python-poetry/poetry-core
#226Labels
area/coreRelated to the poetry-core libraryRelated to the poetry-core librarykind/bugSomething isn't working as expectedSomething isn't working as expected
Description
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).
- OS version and name: any
- Poetry version: current master
- Link of a Gist with the contents of your pyproject.toml file: not applicable
Issue
The intersection of multi markers and marker unions is not recognized as empty for some cases. E.g., the following intersections which are empty are not recognized as empty:
'python_version == "3.7"'and'python_version < "3.7" or python_version >= "3.8"'python_version >= "2" and python_version < "3"andpython_version < "2" or python_version >= "3"
This can lead to the execution of unnecessary or even wrong paths in the program flow.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/coreRelated to the poetry-core libraryRelated to the poetry-core librarykind/bugSomething isn't working as expectedSomething isn't working as expected