Repository navigation
ci: restore PyPI publishing, docs and test-matrix parity with af-credentials - #3
Merged
Merged
Conversation
The initial scaffold copied only ci.yml, so publishing the v0.1.0 release did nothing. Restores, as in af-credentials: - cd.yml: build-and-inspect on every push/PR, trusted publishing to PyPI with build provenance attestation on a published GitHub release - docs.yml + zensical.toml + lychee.toml + .readthedocs.yaml: docstring check, link check, zensical build, GitHub Pages and Read the Docs - docs/ pages that pull README sections in via snippet markers, and the README badges Assisted-by: Claude (Anthropic)
Per-Python test environments (py311-py314) with Codecov upload in CI, pylint, and build/twine tasks, as in af-credentials. Minimum Python is now 3.11: af-credentials' conda-forge package requires 3.11+, so a 3.10 environment cannot be solved and 3.10 support would be an untested claim. Applies ruff's resulting datetime.UTC upgrades. Assisted-by: Claude (Anthropic)
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.
Summary
The initial scaffold (#1) copied only
ci.ymlfrom af-credentials. Publishing thev0.1.0GitHub release therefore did nothing, and docs, the Python version matrix and pylint were missing too. This restores parity with af-credentials:cd.yml(copied verbatim):environment: pypi)docs.yml,zensical.toml,lychee.tomland.readthedocs.yaml, plusdocs/index.mdanddocs/contributing.md. These pull README sections in through snippet markers. The README also gets the badges.py311topy314with Codecov upload in CIbuild/build-checktasks, and thedocsdependency group for Read the Docsdatetime.UTCupgrades with it.pip install af-credmonis now an install option.setup-pixipin dependabot bumped in chore(deps): Bump prefix-dev/setup-pixi from 0.10.1 to 0.10.2 in the github-actions group #2 (v0.10.2) is kept, not downgraded to af-credentials' v0.10.1.Needs repo/PyPI setup before publishing
af-credmon:maniaclab, repoaf-credmoncd.yml, environmentpypidocs.yml's deploy job.CODECOV_TOKENsecret, as in af-credentials.Test plan
pixi run -e py311|py312|py313|py314 test-all: 43 passed on eachpixi run -e dev pylint af_credmon(10.00/10),typecheck,prek run --all-filespixi run -e docs check-docstrings,docs-build,docs-linkcheckpixi run -e dev build-check: sdist and wheel passtwine check --strict🤖 Generated with Claude Code