diff --git a/poetry.lock b/poetry.lock index 8f06576e67a..70b8d771525 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1050,9 +1050,9 @@ develop = false [package.source] type = "git" -url = "https://github.com/python-poetry/poetry-core.git" -reference = "HEAD" -resolved_reference = "b1505c6eef8160ffe4ead25c7bff81317947da1a" +url = "https://github.com/radoering/poetry-core.git" +reference = "perf-marker-intersection" +resolved_reference = "f00b7cb33e4a5000e15666cc2e868acbae674e22" [[package]] name = "pre-commit" @@ -1739,4 +1739,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = ">=3.9,<4.0" -content-hash = "e12eda5cc53996f463234f41ff013a8b0aa972ffbcbe210197327660d88b0af1" +content-hash = "b3ea8279acd55cf7472e281155f8732748102afd60fee08a2a48fdee059b1b10" diff --git a/pyproject.toml b/pyproject.toml index f86eee304d6..554f999c1b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ version = "2.0.1" description = "Python dependency management and packaging made easy." requires-python = ">=3.9,<4.0" dependencies = [ - "poetry-core @ git+https://github.com/python-poetry/poetry-core.git", + "poetry-core @ git+https://github.com/radoering/poetry-core.git@perf-marker-intersection", "build (>=1.2.1,<2.0.0)", "cachecontrol[filecache] (>=0.14.0,<0.15.0)", "cleo (>=2.1.0,<3.0.0)", diff --git a/tests/puzzle/test_solver.py b/tests/puzzle/test_solver.py index 6d791baed5d..205972a8848 100644 --- a/tests/puzzle/test_solver.py +++ b/tests/puzzle/test_solver.py @@ -2027,42 +2027,29 @@ def test_solver_duplicate_dependencies_with_overlapping_markers_complex( ' and platform_machine == "arm64" or python_version >= "3.10"' ), ( - 'numpy (>=1.19.3) ; python_version >= "3.9" and python_version < "3.10"' - ' and platform_system != "Darwin" or python_version >= "3.9"' - ' and python_version < "3.10" and platform_machine != "arm64"' - ' or platform_system == "Linux" and python_version < "3.10"' - ' and platform_machine == "aarch64" and python_version >= "3.6"' + 'numpy (>=1.19.3) ; python_version >= "3.6"' + ' and (platform_system == "Linux" or python_version >= "3.9")' + ' and python_version < "3.10"' + ' and (platform_system != "Darwin" or platform_machine != "arm64")' + ' and (platform_machine == "aarch64" or python_version >= "3.9")' ), ( 'numpy (>=1.17.3) ; python_version < "3.9"' - ' and platform_system != "Darwin" and platform_system != "Linux"' - ' and python_version >= "3.8" or python_version < "3.9"' - ' and platform_system != "Darwin" and python_version >= "3.8"' - ' and platform_machine != "aarch64" or python_version < "3.9"' - ' and platform_machine != "arm64" and python_version >= "3.8"' - ' and platform_system != "Linux" or python_version < "3.9"' - ' and platform_machine != "arm64" and platform_machine != "aarch64"' + ' and (platform_system != "Darwin" or platform_machine != "arm64")' ' and python_version >= "3.8"' + ' and (platform_system != "Linux" or platform_machine != "aarch64")' ), ( 'numpy (>=1.14.5) ; python_version < "3.8"' - ' and platform_system != "Darwin" and platform_system != "Linux"' - ' and python_version >= "3.7" or python_version < "3.8"' - ' and platform_system != "Darwin" and python_version >= "3.7"' - ' and platform_machine != "aarch64" or python_version < "3.8"' - ' and platform_machine != "arm64" and python_version >= "3.7"' - ' and platform_system != "Linux" or python_version < "3.8"' - ' and platform_machine != "arm64" and platform_machine != "aarch64"' + ' and (platform_system != "Darwin" or platform_machine != "arm64")' ' and python_version >= "3.7"' + ' and (platform_system != "Linux" or platform_machine != "aarch64")' ), ( - 'numpy (>=1.13.3) ; python_version < "3.6" or python_version < "3.7"' - ' and platform_system != "Darwin" and platform_system != "Linux"' - ' or python_version < "3.7" and platform_system != "Darwin"' - ' and platform_machine != "aarch64" or python_version < "3.7"' - ' and platform_machine != "arm64" and platform_system != "Linux"' - ' or python_version < "3.7" and platform_machine != "arm64"' - ' and platform_machine != "aarch64"' + 'numpy (>=1.13.3) ; python_version < "3.7"' + ' and (python_version < "3.6" or platform_system != "Darwin"' + ' or platform_machine != "arm64") and (python_version < "3.6"' + ' or platform_system != "Linux" or platform_machine != "aarch64")' ), }, )