Repository navigation
feat: add make patch/minor/major version bump targets - #250
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
SkyeAv
added a commit
that referenced
this pull request
Nov 9, 2026
Cut 22.3.0 and bump the package version in pyproject.toml, CITATION.cff, and uv.lock. Minor: add mechanical patch/minor/major release targets (#250) and share one Unicode-aware level-two filter between fullmap build and query paths, fixing non-ASCII term resolution (#252). Existing fullmaps must be rebuilt with build-fullmap after upgrading; the on-disk schema tag is unchanged. The real-checkout bump test now derives its expected patch version from pyproject.toml instead of pinning 22.2.2. Changelog: - Added the 22.3.0 - 2026-11-09 section covering #250 and #252 with PR links and the fullmap rebuild requirement. Docs: added the PyPI downloads badge to README.md. Testing: - make check -> Ruff, formatting, Pyright, and Clippy passed; Python 1355 passed, 1 skipped; Rust 158 passed, 1 ignored. - uv lock --check -> resolved 139 packages. - uv run mkdocs build --strict -> documentation built. - npx markdownlint-cli2 -> 0 issues in 24 files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds three Makefile targets that increment the release version everywhere the release workflow looks, making a
chore(release): X.Y.Zcommit mechanical.Version bump script
scripts/bump_version.py(patch/minor/major, optional--date), updating the four surfaces a release commit touches (shape taken from the 22.2.2 release commit): theversionkey inpyproject.toml[project], the[[package]]tablassertentry inuv.lock, theversion:line inCITATION.cff, andCHANGELOG.md.## Unreleasedheading becomes## X.Y.Z - YYYY-MM-DDwith its body kept; with no Unreleased section an empty dated section opens above the last release. Changelog prose stays manual; released sections are never rewritten.rust/Cargo.toml- thetablassert-rscrate is versioned independently and no release commit has ever bumped it.Makefile and docs
make patch/make minor/make majorrunning the script viauv run;.PHONYupdated.CONTRIBUTING.mdtask-runner table gains the three targets plus a release-flow paragraph;AGENTS.mdbuild section notes the targets.Testing
uv run pytest tests/test_bump_version.py -q->20 passed(bump math incl. 9-boundary carry, per-surface edits, uv.lock scoping against a same-version decoy package, Unreleased roll and insert, all-or-nothing failure, real-checkout round trip).make checkon an 80-core remote box ->check_rc=0: pytest1352 passed, 1 skipped, cargo test156 passed(127 + 11 + 17 + 1), clippy clean, ruff/format/pyright green.uv lock --check-> resolved 139 packages (repo tree unmutated by testing).npx markdownlint-cli2-> 0 issues in 24 files.Deferred
test_realworld_configsfailures on the remote box were environmental (LANG=en_USmakes Python read fixtures as non-UTF-8;PYTHONUTF8=1fixes it, blob byte-identical toorigin/main). APYTHONUTF8=1default or UTF-8 locale enforcement could be a follow-up if others hit it.