Repository navigation
Releasing
TonyD365-Agent edited this page Nov 21, 2026
·
2 revisions
Every change reaches main through a reviewed pull request with green CI. A release:
-
Release-candidate PR: set
version = "X.Y.Zrc1"inpyproject.tomland__version__, and a CHANGELOG heading. Merge after review. -
Publish the candidate: create GitHub release
vX.Y.Zrc1onmain, marked pre-release. The Release workflow checks the tag matches the version, builds, runstwine check, and waits for the maintainer to approve thepypideployment. PyPI upload uses trusted publishing (no token). -
Test what users get:
It installs from PyPI into four fresh virtual environments and must print
python e2e/run.py "lanpair[keyring,discovery]==X.Y.Zrc1"ALL PASSED. (Right after upload, pip's index can lag a few minutes.) -
Final PR:
version = "X.Y.Z", CHANGELOG date. Merge, create releasevX.Y.Z(latest), approve the deployment, and checkpip install lanpairgets it. The release then carries the wheel, the sdist and signed build provenance; check it withgh attestation verify lanpair-X.Y.Z-py3-none-any.whl -R TonyD365/lanpair. - Security fixes: fix in a private security advisory (temporary private fork), release, then publish the advisory with the patched version so Dependabot alerts users.
Lock files: CI installs from hash-pinned requirements/*.txt. After changing
requirements/*.in, run scripts/lock.sh (needs uv).
lanpair is MIT-licensed. Found a mistake on this page? Open an issue.