Commit 59f7f75
committed
ci: fix distribution metadata check and pin uv in docs build
Two unrelated CI breakages, both from unpinned tooling:
1. The Distribution build job fails on every PR since ~2026-08-11 with
"InvalidDistribution: '2.5' is not a valid metadata version": the
unpinned hatchling build backend now emits Metadata-Version 2.5, but
build-and-inspect-python-package v2 bundles a twine that predates it.
Bump the action to v3.0.1, which ships Twine 7 with metadata 2.5
support, pinned by commit hash per the action's v3 tagging policy (it
no longer force-updates major-version tags).
2. The Read the Docs build intermittently fails at "asdf global uv
latest" with "No compatible versions available": the asdf recipe from
the RTD docs resolves "latest" via a GitHub API scrape that flakes on
RTD's shared builders, and floats the uv version besides. Install uv
from PyPI, pinned, instead.
Assisted-by: ClaudeCode:claude-opus-4.81 parent 7d28da9 commit 59f7f75
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments