Commit 6a35b49
Set the version to 2.0.0rc1 for the release candidate
_version.py could not express a PEP 440 pre-release: it built the
string from a numeric tuple, so "2.0.0rc1" (no dot before rc) was
unreachable. Split the pre-release segment into PRE_RELEASE, joined
without a dot, and keep VERSION a pure numeric tuple so
`nameparser.VERSION >= (2, 0, 0)` still works. Set PRE_RELEASE = "" for
2.0.0 final.
Release log notes the rc1 up front: it is a pre-release, so a plain
pip install skips it (needs --pre), and feedback goes to #284. The
notes themselves describe 2.0.0 as a whole and stay under the
"unreleased" heading until the final tag.
Verified: __version__ == "2.0.0rc1" (packaging confirms is_prerelease),
the wheel/sdist carry it, and twine check passes on both.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent f1e2cca commit 6a35b49
2 files changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
5 | 12 | | |
6 | 13 | | |
7 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments