Files
astral-sh-uv/test/scenarios/fork/requires-python-patch-overlap.toml
T
Zanie Blue b4d32e4356 Vendor packse scenarios and serve them from an in-memory index (#18084)
This makes it easier for us to add resolver scenarios by

1. Rewriting the scenario package generation in Rust
2. Serving scenario packages from memory in a wiremock index
3. Rewriting the scenario test case generation in Rust
4. Dropping all dependencies on packse / the packse index

---------

Co-authored-by: Codex <noreply@openai.com>
2026-06-02 09:25:29 -05:00

29 lines
811 B
TOML

name = "fork-requires-python-patch-overlap"
description = '''
This tests that a `Requires-Python` specifier that includes a Python
patch version will not result in excluded a dependency specification
with a `python_version == '3.10'` marker.
This is a regression test for the universal resolver where it would
convert a `Requires-Python: >=3.10.1` specifier into a
`python_version >= '3.10.1'` marker expression, which would be
considered disjoint with `python_version == '3.10'`. Thus, the
dependency `a` below was erroneously excluded. It should be included.
'''
[resolver_options]
universal = true
[expected]
satisfiable = true
[environment]
python = "3.12"
[root]
requires_python = ">=3.10.1"
requires = ["a==1.0.0 ; python_version == '3.10'"]
[packages.a.versions."1.0.0"]
requires_python = ">=3.10"