Files
astral-sh-uv/test/scenarios/fork/fork-upgrade.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
486 B
TOML

name = "fork-upgrade"
description = '''
This test checks that we discard fork markers when using `--upgrade`.
'''
[resolver_options]
universal = true
[expected]
satisfiable = true
[root]
requires = ["foo"]
[packages.foo.versions."1.0.0"]
requires = [
# Provoke a fork
"bar==1; sys_platform == 'linux'",
"bar==2; sys_platform != 'linux'",
]
[packages.foo.versions."2.0.0"]
requires = [
# No fork
"bar==2",
]
[packages.bar.versions."1.0.0"]
[packages.bar.versions."2.0.0"]