Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

Release: write down and enforce the devN/postN counting rule #471

Closed

Description

@tae898

The version scheme is X.Y.Z.devN → X.Y.Z → X.Y.Z.postN, but nothing says where N starts or that aN/bN/rcN are out, and the release workflow accepts any tag starting with X.Y.Z (its base-version sed even strips rc/a/b). The native preview briefly picked 26.10.2a1, then 26.10.2.dev1, before landing on 26.10.2.dev0.

Rule, as our tags already do (26.7.2.dev0, 26.8.1.dev0, 26.5.1.post1) and as scripts/extract_version.py does (SNAPSHOT → X.Y.Z.dev0 first): devN counts from 0, postN from 1, no aN/bN/rcN, a number is never reused (PyPI refuses a version it has seen, even after a delete). Write it in release.md and make the release workflow reject other tag forms.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions