Commit cd0c54f
committed
fix: drop extra-files pyproject.toml writer to preserve PEP 440 normalization
Per aao-ipr-bot review on #804: the generic JSON `extra-files` updater
writes the raw SemVer version string into `pyproject.toml`, bypassing
PEP 440 normalization. For stable releases this is inert (SemVer ==
PEP 440), but for prereleases it produces invalid versions like
`6.0.0-beta.1` instead of `6.0.0b1` — and PyPI rejects the wheel.
The Python release-type natively handles `pyproject.toml`'s
`[project] version` field and applies the SemVer → PEP 440 conversion
automatically. Dropping the redundant `extra-files` entry lets the
native updater do its job.
Refs: #802, #8041 parent fecf6a3 commit cd0c54f
1 file changed
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 11 | + | |
19 | 12 | | |
20 | 13 | | |
21 | 14 | | |
| |||
0 commit comments