Skip to content

Commit 11050ed

Browse files
authored
fix: use uv_build backend for old-python-constraint-project (#729)
The test-no-python-version test was failing because hatchling's dependency on pathspec was incompatible with Python 3.9, causing a TypeError during the build process. Fixed by switching from hatchling to uv_build backend (0.9.22-0.10.0 range) which is fully compatible with Python 3.9. The uv.lock file is updated to reflect the new build backend and latest compatible versions of dependencies.
1 parent 1d22faf commit 11050ed

File tree

2 files changed

+32
-30
lines changed

2 files changed

+32
-30
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ dependencies = [
99
]
1010

1111
[build-system]
12-
requires = ["hatchling"]
13-
build-backend = "hatchling.build"
12+
requires = ["uv_build>=0.9.22,<0.10.0"]
13+
build-backend = "uv_build"

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

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

0 commit comments

Comments
 (0)