Repository navigation
Conversation
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
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
acecchini
marked this pull request as ready for review
November 28, 2026 12:14
This was referenced Nov 28, 2026
This branch has not been deployed
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.
Requested by Ale · project thread
Closes #62.
Problem and change
bearshape 0.1.0 could not be released:
pypi.ymlgated 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 makesmainreleasable and easy to maintain:pyproject.toml,uv.lockandCHANGELOG.md. The beartype range stays>=0.23.1,<0.24. 0.23.1 is the latest beartype release.python_release.yml. Pushingv0.1.0checks 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, environmentpypi). The workflow file is stillpypi.yml. Docs also deploy on tags.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 singlecheckjob to require in branch rules.--pre beartypeover the lock and runs the suite on every PR and weekly.@v7,@v5,@v1,release/v1, andsetup-uv@v10.3.0, because setup-uv publishes no moving major tag.validate.yml,nightly.yml,upstream-proposal.yml,plans/andPLANS.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.CONTRIBUTING.md,AGENTS.md,tools/README.md,docs/maintainers/releasing.mdand the PR template.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 -aandprek run actionlint -a --stage manualpass.pytest tests/ --ignore=tests/test_typecheck.py -n auto: 1,283 passed, 1 skipped (CuPy, no CUDA).zensical buildplustools/check_docs.py: 94 snippets verified.tools/check_notebook.py: 29 cells executed.uv buildproducesbearshape-0.1.0sdist and wheel. A fresh venv with only the wheel imports bearshape without NumPy.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), thepypienvironment,github-pagesallowingv*tags, and requiringcheckonmain.🤖 Generated with Claude Code
https://claude.ai/code/session_01VhCcPq9JDmHrruFMCgcGMa