Skip to content

ci(release): publish simple_module_test to PyPI - #112

Merged
antosubash merged 1 commit into
mainfrom
feature/determined-tharp-fb0149
May 2, 2026
Merged

ci(release): publish simple_module_test to PyPI#112
antosubash merged 1 commit into
mainfrom
feature/determined-tharp-fb0149

Conversation

@antosubash

@antosubashantosubash commented May 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds simple_module_test to the publish-pypi matrix in .github/workflows/release.yml so the shared pytest-fixtures package is released in lockstep with the other 12 PyPI packages.
  • No other changes needed: the package is already a [tool.uv.workspace] member, already at 0.0.6, already discovered by scripts/bump_version.py (it walks framework/*/pyproject.toml), and already produced by uv build --all-packages (verified locally — both the sdist and the wheel land in dist-py/).
  • The matrix's dist-py/${{ matrix.package }}-* glob unambiguously matches simple_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 the simple_module_test project must be configured on PyPI (this repo + release.yml + the pypi environment), the same way the existing 12 packages are wired. Without it, the publish-pypi (simple_module_test) matrix leg will 403 on first run. Other legs are unaffected (fail-fast: false), but finalize will not tag/commit until every leg passes.

Test plan

  • Configure the PyPI Trusted Publisher for simple_module_test
  • Run the release workflow with a patch bump and confirm the new matrix leg uploads simple_module_test-<ver>{.tar.gz,-py3-none-any.whl}
  • Confirm finalize tags + creates the GitHub Release as before
  • After the release, uvx --from simple_module_cli sm new my-app ... && make install resolves cleanly (verifies sm new scaffold pins simple_module_test==0.0.6 in dev deps but package isn't on PyPI #105)

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.
@antosubash
antosubash merged commit 894933a into mainMay 2, 2026
11 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sm new scaffold pins simple_module_test==0.0.6 in dev deps but package isn't on PyPI

1 participant

@antosubash