Commit 1cc2d1e
authored
fix(build): align pyproject.toml version with __version__.py (0.11.0 → 0.12.0) (#50)
The `feat(sdk)` commit (79a6e7e, PR #49) bumped
`src/nullrun/__version__.py` to 0.12.0 but left `version` in
`pyproject.toml` at 0.11.0. Hatchling uses `pyproject.toml`'s
version, so `python -m build` was producing a wheel named
`nullrun-0.11.0-py3-none-any.whl` — same name as the 0.11.0
artifact that `publish-test` had already uploaded to TestPyPI
on its previous successful run (commit 18a91e2).
TestPyPI rejects re-uploads of the same wheel hash with HTTP 400
"File already exists" (no overwrite semantics), so the
`publish-test` workflow failed at the very last step. Verify
locally:
$ python -m build --wheel
Successfully built nullrun-0.12.0-py3-none-any.whl
Also adds `skip-existing: true` to the
`pypa/gh-action-pypi-publish` step so a re-run of the same
SHA becomes a no-op (matching twine's --skip-existing). Production
PyPI cannot overwrite anyway, so this flag is harmless there too.1 parent 79a6e7e commit 1cc2d1e
2 files changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
| |||
0 commit comments