Repository navigation
0.3.4: package libtoks for PyPI + Trusted Publishing workflow - #67
Merged
Merged
Conversation
Prepare the Python wheel for PyPI distribution under the name libtoks (the Python import name stays toks): - python/pyproject.toml: rename distribution to libtoks and add authors, project URLs, keywords, and CPython 3.10-3.14 classifiers. - python/README.md: use full GitHub URLs so links render on PyPI and add pip / uv install instructions. - python/build.sh, python/tests/test_api.py, tools/release.sh, tools/release/rc_report.py, nightly.yml, release-artifacts.yml, docs: update wheel filename pattern and metadata check from toks to libtoks. - .github/workflows/nightly.yml: raise wheels job timeout from 15 to 30 minutes to avoid slow-runner timeouts. - .github/workflows/pypi.yml: build, test, smoke-check, twine-check, and publish the 15 wheels (linux x86-64, linux arm64, macOS arm64; CPython 3.10-3.14) via PyPI Trusted Publishing (OIDC, pypi environment).
Bump TOKS_VERSION to 0.3.4 (ABI stays 0.4) and update README.md with the 0.3.4 release summary and pip / uv install instructions for libtoks.
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.
Packages the Python wheels as
libtoks(Python import staystoks) for PyPI via Trusted Publishing, and cuts version0.3.4(ABI stays 0.4).Changes:
python/pyproject.toml,python/README.md: rename PyPI distribution tolibtoks, add authors/URLs/keywords/classifiers, rewrite relative README links to absolute GitHub URLs, addpip install libtoks/uv pip install libtokssnippets.python/build.sh,python/tests/test_api.py,tools/release.sh,tools/release/rc_report.py,nightly.yml,release-artifacts.yml, docs: update wheel globs andimportlib.metadata.version("libtoks"); bumpnightly.ymlwheels timeout from 15 to 30 minutes..github/workflows/pypi.yml: builds and tests all 15 wheels (linux x86-64 manylinux2014, linux arm64 manylinux2014, macOS arm64; CPython 3.10-3.14), runs fresh-venv smoke checks +twine check --strict, and publishes viapypa/gh-action-pypi-publish(OIDC,pypienvironment locked tov*tags) on release publication or manual dispatch.include/toks.h,README.md: bumpTOKS_VERSIONto0.3.4and update release summary and install snippets.Receipts:
test_version(0.3.4, abi 0.4, 0 failures),libtoks-0.3.4-cp313-cp313-macosx_11_0_arm64.whlbuilt,twine check --strictPASSED,pytest python/tests/test_api.py python/tests/test_threads.py32 passed / 1 skipped.PARITY_PY="" sh python/build.sh 3.13built +auditwheelrepaired tomanylinux_2_17_x86_64.manylinux2014_x86_64,twine check --strictPASSED,pytest32 passed / 1 skipped.