ci(release): publish simple_module_test to PyPI - #112
Merged
Conversation
Adds simple_module_test to the publish-pypi matrix so the shared pytest fixtures package is released in lockstep with the rest. The package is already a workspace member, already bumped by scripts/bump_version.py, and already produced by `uv build --all-packages` — only the matrix entry was missing. Note: requires a Trusted Publisher entry for simple_module_test on PyPI (repo + workflow + `pypi` environment) before the next release runs.
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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
simple_module_testto thepublish-pypimatrix in.github/workflows/release.ymlso the shared pytest-fixtures package is released in lockstep with the other 12 PyPI packages.[tool.uv.workspace]member, already at0.0.6, already discovered byscripts/bump_version.py(it walksframework/*/pyproject.toml), and already produced byuv build --all-packages(verified locally — both the sdist and the wheel land indist-py/).dist-py/${{ matrix.package }}-*glob unambiguously matchessimple_module_test-*artifacts (no prefix collision with other packages).Closes#105
Reviewer note — required PyPI setup before the next release
The workflow uses Trusted Publishing (OIDC,
environment: pypi). A Trusted Publisher entry for thesimple_module_testproject must be configured on PyPI (this repo +release.yml+ thepypienvironment), the same way the existing 12 packages are wired. Without it, thepublish-pypi (simple_module_test)matrix leg will 403 on first run. Other legs are unaffected (fail-fast: false), butfinalizewill not tag/commit until every leg passes.Test plan
simple_module_testreleaseworkflow with a patch bump and confirm the new matrix leg uploadssimple_module_test-<ver>{.tar.gz,-py3-none-any.whl}finalizetags + creates the GitHub Release as beforeuvx --from simple_module_cli sm new my-app ... && make installresolves cleanly (verifies sm new scaffold pins simple_module_test==0.0.6 in dev deps but package isn't on PyPI #105)