kernel: align VERSION with the beta target (0.0.1.dev0) and document the versioning scheme - #71
Merged
Merged
Conversation
… the scheme VERSION was bootstrapped at 0.1.0.dev0, which sorts above the 0.0.1-beta release target and blocks tagging v0.0.1-alpha.N. Drop it to 0.0.1.dev0 and resync every derived version. - generalize the PEP 440 -> npm mapping in scripts/sync_versions.mjs to cover a/b/rc, so the documented beta mapping (0.0.1b1 -> 0.0.1-beta.1) actually works; unmappable versions now throw instead of landing in a package.json - add `pnpm version:check`, wired into CI as a drift gate - cover the mapping with node:test and the VERSION/__version__/CLI chain with pytest - document the tag-vs-publish scheme in CONTRIBUTING
Closed
3 tasks
JArmandoAnaya
added a commit
that referenced
this pull request
Aug 21, 2026
… the scheme (#71) VERSION was bootstrapped at 0.1.0.dev0, which sorts above the 0.0.1-beta release target and blocks tagging v0.0.1-alpha.N. Drop it to 0.0.1.dev0 and resync every derived version. - generalize the PEP 440 -> npm mapping in scripts/sync_versions.mjs to cover a/b/rc, so the documented beta mapping (0.0.1b1 -> 0.0.1-beta.1) actually works; unmappable versions now throw instead of landing in a package.json - add `pnpm version:check`, wired into CI as a drift gate - cover the mapping with node:test and the VERSION/__version__/CLI chain with pytest - document the tag-vs-publish scheme in CONTRIBUTING
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.
VERSIONwas bootstrapped at0.1.0.dev0, which sorts above the0.0.1-betareleasetarget and therefore blocks tagging any
v0.0.1-alpha.N. This drops it to0.0.1.dev0and resyncs everything derived from it.
Changes
VERSION→0.0.1.dev0; frontend packages resynced to0.0.1-dev.0;openapi.jsonregenerated (its
info.versionis derived fromVERSION, so it drifts on every bump).scripts/sync_versions.mjs: the PEP 440 → npm mapping now coversa/b/rcas well as.devN, so the documented beta mapping (0.0.1b1→0.0.1-beta.1) actually works.Unmappable versions throw instead of being written verbatim into a
package.json.pnpm version:check(--checkmode), wired into CI as a drift gate so aVERSIONbump without
pnpm version:syncfails the build.tests/scripts/sync_versions.test.mjs(node:test) covers the mapping;tests/test_versioning.pycoversVERSION→ installed distribution →visionset --version.scheme (
v0.0.1-alpha.Nare git tags only, never published; the beta is0.0.1b1onPyPI /
0.0.1-beta.1on npm, lockstep across the monorepo).Gates
uv run pytest(29 passed, incl. 3 new) ·uv run lint-imports(2 contracts kept) ·uv run mypy src/visionset/kernel+src/visionset·uv run ruff check ./ruff format --check·pnpm -r lint·pnpm -r build·pnpm test·pnpm version:checkCloses #2