Skip to content

ci(release): publish audit_log, branding, keycloak to PyPI - #224

Closed
antosubash wants to merge 1 commit into
mainfrom
worktree-publish-missing-pypi
Closed

ci(release): publish audit_log, branding, keycloak to PyPI#224
antosubash wants to merge 1 commit into
mainfrom
worktree-publish-missing-pypi

Conversation

@antosubash

Copy link
Copy Markdown
Owner

What

Adds the three module packages that are present in the workspace but missing from the publish-pypi matrix in release.yml, so they get published on the next release:

  • simple_module_audit_log
  • simple_module_branding
  • simple_module_keycloak

Why

Every other workspace package is on PyPI at v0.0.21. These three are not — the matrix was last touched when simple_module_test was added (#112), and audit_log (#185), keycloak (#184), and branding all landed afterward without being wired into the publish list. So each release silently skipped them.

$ curl pypi.org/pypi/<pkg>/json
simple_module_audit_log   -> 404 MISSING
simple_module_branding    -> 404 MISSING
simple_module_keycloak    -> 404 MISSING
(all 13 others -> 0.0.21)

Verification (local, on this branch off origin/main)

  • scripts/check_metadata.pyAll package metadata OK.
  • uv build --package <each> → sdist + wheel built for all three.
  • Wheels contain module.py, py.typed, and the force-included package.json.
  • release.yml parses as valid YAML; matrix now has 16 entries.

⚠️ Required before/at release (maintainer action)

  1. PyPI pending-publishers — a first-ever publish of a new project name via Trusted Publishing (OIDC) needs a matching pending publisher configured on pypi.org for each new name. On https://pypi.org/manage/account/publishing/ add a pending publisher for each of simple_module_audit_log, simple_module_branding, simple_module_keycloak with:
    • Owner: antosubash, Repo: simple_module_python
    • Workflow: release.yml, Environment: pypi
  2. Run the release — trigger the release workflow (Actions → release → Run workflow). It bumps every package to the next version (0.0.22) and publishes the full matrix. fail-fast: false means the existing packages still publish even if a new one's pending-publisher isn't set yet.

https://claude.ai/code/session_01Pf6ew7t9pHgR1fnZNew3Tc

These three module packages exist in the workspace and ship valid
packaging metadata, but were never added to the `publish-pypi` matrix
in release.yml — so every release since they were introduced skipped
them and they're absent from PyPI (everything else is at v0.0.21).

Add them to the matrix in alphabetical order within the module group.
Verified locally: check_metadata passes and all three build to
sdist+wheel with the force-included package.json present.

First publish of a brand-new project name via Trusted Publishing
requires a matching pending-publisher configured on pypi.org for each
of simple_module_audit_log, simple_module_branding, simple_module_keycloak.

Claude-Session: https://claude.ai/code/session_01Pf6ew7t9pHgR1fnZNew3Tc
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying simple-module-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 307eb9b
Status: ✅  Deploy successful!
Preview URL: https://3f79e1f7.simple-module-python.pages.dev
Branch Preview URL: https://worktree-publish-missing-pyp.simple-module-python.pages.dev

View logs

@antosubash

Copy link
Copy Markdown
Owner Author

Splitting into three single-package PRs (one per package) as requested.

@antosubash antosubash closed this Jun 30, 2026
@antosubash
antosubash deleted the worktree-publish-missing-pypi branch June 30, 2026 19:48
Sign up for free to 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.

1 participant