Skip to content

Commit 489abfb

Browse files
Merge pull request #7 from LitePy/feat/v0.2-extras
Prepare python-wrap 0.2.1 release without replacing the existing tag
2 parents 8be39bc + 5464824 commit 489abfb

3 files changed

Lines changed: 14 additions & 11 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ Breaking changes are listed under **Breaking changes**, each with its migration.
1010

1111
## [Unreleased]
1212

13-
## [0.2.0] - 2026-10-27
13+
## [0.2.1] - 2026-10-29
14+
15+
Publishes the completed 0.2 release under a fresh version, preserving the older
16+
`v0.2.0` tag from the failed publishing attempt.
1417

1518
A ground-up rework and a much larger toolkit. Every decorator works on plain functions,
1619
`async def` functions and methods, keeps the wrapped signature for type checkers, and never
@@ -314,6 +317,6 @@ Core:
314317

315318
Initial release.
316319

317-
[Unreleased]: https://github.com/LitePy/PythonWrap/compare/v0.2.0...HEAD
318-
[0.2.0]: https://github.com/LitePy/PythonWrap/compare/v0.1.0...v0.2.0
320+
[Unreleased]: https://github.com/LitePy/PythonWrap/compare/v0.2.1...HEAD
321+
[0.2.1]: https://github.com/LitePy/PythonWrap/compare/v0.1.0...v0.2.1
319322
[0.1.0]: https://github.com/LitePy/PythonWrap/releases/tag/v0.1.0

‎RELEASING.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ was removed; revoke the token it used at <https://pypi.org/manage/account/token/
3030
## Every release
3131

3232
1. **Version.** Set `__version__` in `src/python_wrap/__init__.py`. It is the only place
33-
the version lives. Use PEP 440 spelling: `0.2.0rc1`, `0.2.0`.
33+
the version lives. Use PEP 440 spelling: `0.2.1rc1`, `0.2.1`.
3434
2. **Changelog.** Move the `Unreleased` entries under `## [<version>] - <date>`. The
3535
GitHub release notes are taken from this section.
3636
3. **Check locally.**
@@ -49,17 +49,17 @@ was removed; revoke the token it used at <https://pypi.org/manage/account/token/
4949
merged commit to pass before creating a release tag. If the repository requires
5050
PR status checks, a maintainer must align that rule with this post-merge policy;
5151
new PR commits will not receive CI/docs checks.
52-
5. **Rehearse (recommended for a big release).** Tag a pre-release such as `v0.2.0rc1`
53-
(after setting `__version__ = "0.2.0rc1"`). Every tagged version is published to
52+
5. **Rehearse (recommended for a big release).** Tag a pre-release such as `v0.2.1rc1`
53+
(after setting `__version__ = "0.2.1rc1"`). Every tagged version is published to
5454
TestPyPI and installed back from that index
5555
in a clean environment. Pre-releases (`a`, `b`, `rc`, `.dev`) stop there; final
5656
versions continue to PyPI only after this verification succeeds. A version can never
5757
be reused on PyPI, so this is cheap insurance.
5858
6. **Tag and push.**
5959

6060
```bash
61-
git tag -a v0.2.0 -m "python-wrap 0.2.0"
62-
git push origin v0.2.0
61+
git tag -a v0.2.1 -m "python-wrap 0.2.1"
62+
git push origin v0.2.1
6363
```
6464

6565
The workflow refuses a tag that disagrees with `__version__`, builds, checks the
@@ -72,8 +72,8 @@ was removed; revoke the token it used at <https://pypi.org/manage/account/token/
7272

7373
```bash
7474
uv venv /tmp/python-wrap-smoke
75-
uv pip install --python /tmp/python-wrap-smoke --no-deps --index-url https://pypi.org/simple/ python-wrap==0.2.0
76-
/tmp/python-wrap-smoke/bin/python -I scripts/check_installed.py 0.2.0
75+
uv pip install --python /tmp/python-wrap-smoke --no-deps --index-url https://pypi.org/simple/ python-wrap==0.2.1
76+
/tmp/python-wrap-smoke/bin/python -I scripts/check_installed.py 0.2.1
7777
```
7878

7979
8. **Open the next cycle.** Add an empty `Unreleased` section to the changelog and bump

‎src/python_wrap/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
validate_args,
157157
)
158158

159-
__version__ = "0.2.0"
159+
__version__ = "0.2.1"
160160

161161
# A library must never configure logging; this only silences "no handler" warnings.
162162
logging.getLogger("python_wrap").addHandler(logging.NullHandler())

0 commit comments

Comments
 (0)