Skip to content

Release 0.1.0 with a simplified CI and tag-driven release - #64

Open
acecchini wants to merge 3 commits into
mainfrom
claude/project-thread-vumei6
Open

acecchini wants to merge 3 commits into
mainfrom
claude/project-thread-vumei6

Conversation

@acecchini

@acecchini acecchini commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Requested by Ale · project thread

Closes #62.

Problem and change

bearshape 0.1.0 could not be released: pypi.yml gated publishing on a union rollback contract that beartype cannot satisfy, and the release, CI and planning tooling had grown far heavier than a project this size needs (#37). This PR makes main releasable and easy to maintain:

  • Version 0.1.0. pyproject.toml, uv.lock and CHANGELOG.md. The beartype range stays >=0.23.1,<0.24. 0.23.1 is the latest beartype release.
  • Union binding leak documented as a known limitation, not a release blocker (README, installation, composition guide, tour notebook).
  • Tag-driven release, modeled on beartype's python_release.yml. Pushing v0.1.0 checks that the tag matches the package version, creates the GitHub Release (ncipollo/release-action@v1), then builds and publishes to PyPI with trusted publishing (pypa/gh-action-pypi-publish@release/v1, environment pypi). The workflow file is still pypi.yml. Docs also deploy on tags.
  • One CI workflow (ci.yml): hooks plus actionlint, the runtime matrix (Linux, macOS, Windows; 3.11–3.14), the four checkers, tox compatibility floors, docs plus notebook, and a wheel smoke test. It ends in a single check job to require in branch rules.
  • Beartype prerelease lane ([Tests] Test CI against Beartype Release Candidates to preserve this fragile world 😁 #62). It installs --pre beartype over the lock and runs the suite on every PR and weekly.
  • Actions pinned to release tags instead of SHAs: @v7, @v5, @v1, release/v1, and setup-uv@v10.3.0, because setup-uv publishes no moving major tag.
  • Removed: validate.yml, nightly.yml, upstream-proposal.yml, plans/ and PLANS.md, the production-readiness handoff, tools/upstream, tools/evidence, and the release-evidence, installed-consumer, distribution and union-probe scripts with their tests. Git history keeps all of it.
  • Shorter guides: CONTRIBUTING.md, AGENTS.md, tools/README.md, docs/maintainers/releasing.md and the PR template.
  • README docs link and CI badge from Expose documentation and coverage evidence in the README #59. Expose documentation and coverage evidence in the README #59's coverage-artifact uploads lived in the removed validate.yml, so this PR supersedes Expose documentation and coverage evidence in the README #59. Dependabot's build(deps): bump the github-actions group across 1 directory with 4 updates #63 only bumped SHA pins, which no longer exist.

The union fix (replaying on a binding conflict) will come later as a separate PR for review.

Validation

Local runs on Python 3.11 with uv 0.13.0:

  • uv run --locked prek run -a and prek run actionlint -a --stage manual pass.
  • pytest tests/ --ignore=tests/test_typecheck.py -n auto: 1,283 passed, 1 skipped (CuPy, no CUDA).
  • zensical build plus tools/check_docs.py: 94 snippets verified. tools/check_notebook.py: 29 cells executed.
  • uv build produces bearshape-0.1.0 sdist and wheel. A fresh venv with only the wheel imports bearshape without NumPy.
  • Hosted CI: all 29 jobs pass, including the four-checker suite and the beartype prerelease lane.

Documentation

Changelog has a 0.1.0 entry. Guides are updated as listed above. Settings outside the repo, all listed in docs/maintainers/releasing.md: the PyPI trusted publisher (beartype/bearshape/pypi.yml/pypi), the pypi environment, github-pages allowing v* tags, and requiring check on main.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VhCcPq9JDmHrruFMCgcGMa

Bump bearshape to 0.1.0 and document the union binding leak as a known
limitation instead of a release blocker. Replace the reusable validation,
nightly, upstream-proposal and evidence-gated PyPI workflows with one CI
workflow summarized by a single `check` job, a beartype prerelease lane
(#62), and a tag-push release modeled on beartype's own workflow. Pin
actions to major tags, remove ExecPlans, evidence and upstream-proposal
tooling, and shorten the contributor, agent and release guides. Carry the
README docs link from #59.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VhCcPq9JDmHrruFMCgcGMa
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VhCcPq9JDmHrruFMCgcGMa
@acecchini acecchini self-assigned this Nov 28, 2026
astral-sh/setup-uv publishes no moving major tag, so @v10 cannot resolve.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VhCcPq9JDmHrruFMCgcGMa

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tests] Test CI against Beartype Release Candidates to preserve this fragile world 😁

2 participants