File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,15 @@ jobs:
4646 with :
4747 fetch-depth : 0
4848 persist-credentials : false
49- # Note that we cannot upgrade this past 2.9 until uv build resolves a bug
50- # or build-and-inspect-python-package lets us select build as a backend
49+ # Note that we may need to revert to 2.9 if bugs are found in `uv build`,
50+ # unless build-and-inspect-python-package lets us select build as a backend
5151 #
5252 # https://github.com/astral-sh/uv/issues/5450
5353 # or https://github.com/hynek/build-and-inspect-python-package/issues/155
5454 #
55- # When we do move on, we should leave a comment to fall back in case of future uv build bugs
56- - uses : hynek/build-and-inspect-python-package@v2.8
55+ # If 2.9 is required, then we will need to pin to hatchling 1.26.x to avoid
56+ # incompatibilities with twine and the package metadata emitted by hatchiling.
57+ - uses : hynek/build-and-inspect-python-package@v2
5758 with :
5859 upload-name-suffix : -main
5960 attest-build-provenance-github : ${{ github.event_name != 'pull_request' }}
Original file line number Diff line number Diff line change 11[build-system ]
2- # Pin hatchling 1.26 to keep metadata 2.3
3- # The hynek/build-and-inspect-python-package action is pinned at 2.8,
4- # which in turn pins a twine that rejects 2.4.
5- # Until uv build fixes a problem with its tar library, we're stuck here.
6- # https://github.com/hynek/build-and-inspect-python-package/issues/155
7- # https://github.com/astral-sh/uv/issues/5450
8- requires = [" hatchling~=1.26.3" , " hatch-vcs" ]
2+ requires = [" hatchling" , " hatch-vcs" ]
93build-backend = " hatchling.build"
104
115[project ]
You can’t perform that action at this time.
0 commit comments