Skip to content

Commit bff4df4

Browse files
committed
fix: pin hatchling to <1.20.0 for Python 3.9 compatibility
The test-no-python-version test was failing because the latest hatchling versions (1.20.0+) have dependencies on pathspec that are incompatible with Python 3.9, causing a TypeError during build. The fix pins the build backend to hatchling<1.20.0 to ensure compatibility with Python 3.9. The uv.lock file is also updated to reflect the latest compatible versions of dependencies.
1 parent cbebc28 commit bff4df4

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

__tests__/fixtures/old-python-constraint-project/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ dependencies = [
99
]
1010

1111
[build-system]
12-
requires = ["hatchling"]
12+
requires = ["hatchling<1.20.0"]
1313
build-backend = "hatchling.build"

__tests__/fixtures/old-python-constraint-project/uv.lock

Lines changed: 20 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)