Skip to content

Commit 4fc8fb1

Browse files
authored
Bump default Python to 3.12 and use 3.9 instead of 3.8 (#242)
See astral-sh/uv#13676
1 parent 869a843 commit 4fc8fb1

File tree

10 files changed

+618
-578
lines changed

10 files changed

+618
-578
lines changed

scenarios/requires_python/python-greater-than-current-patch.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ requires = ["a==1.0.0"]
88
satisfiable = false
99

1010
[packages.a.versions."1.0.0"]
11-
requires_python = ">=3.8.14"
11+
requires_python = ">=3.9.14"
1212

1313
[environment]
14-
python = "3.8.12"
14+
python = "3.9.12"

scenarios/requires_python/python-patch-override-no-patch.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ requires = ["a==1.0.0"]
66

77
[expected]
88
satisfiable = false
9-
explanation = "Since the resolver is asked to solve with 3.8, the minimum compatible Python requirement is treated as 3.8.0."
9+
explanation = "Since the resolver is asked to solve with 3.9, the minimum compatible Python requirement is treated as 3.9.0."
1010

1111
[packages.a.versions."1.0.0"]
12-
requires_python = ">=3.8.4"
12+
requires_python = ">=3.9.4"
1313

1414
[resolver_options]
15-
python = "3.8"
15+
python = "3.9"
1616

1717
[environment]
18-
python = "3.8.20"
18+
python = "3.9.20"

scenarios/requires_python/python-patch-override-patch-compatible.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ satisfiable = true
1111
a = "1.0.0"
1212

1313
[packages.a.versions."1.0.0"]
14-
requires_python = ">=3.8.0"
14+
requires_python = ">=3.9.0"
1515

1616
[resolver_options]
17-
python = "3.8.0"
17+
python = "3.9.0"
1818

1919
[environment]
20-
python = "3.8.20"
20+
python = "3.9.20"

src/packse/scenario.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def hash(self) -> str:
166166

167167

168168
class EnvironmentMetadata(msgspec.Struct, forbid_unknown_fields=True):
169-
python: str = "3.8"
169+
python: str = "3.12"
170170
"""
171171
The active Python version.
172172
"""

0 commit comments

Comments
 (0)