Skip to content

Publish misp-cabby releases with PyPI Trusted Publishing - #6

Merged
adulau merged 1 commit into
masterfrom
publish-misp-cabby
Nov 20, 2026
Merged

adulau merged 1 commit into
masterfrom
publish-misp-cabby

Conversation

@adulau

@adulau adulau commented Nov 20, 2026

Copy link
Copy Markdown
Member

Rename the MISP fork’s PyPI distribution to misp-cabby. Consumers install it with uv add misp-cabby, uv tool install misp-cabby, or python -m pip install misp-cabby. The import package remains cabby, and all seven CLI commands keep their names. The installation guide covers migration and installing from GitHub before the first release.

Publishing

Pull requests build the wheel and source distribution and run Twine’s strict metadata checks. A published GitHub Release also checks that its tag matches the built version, then passes those artifacts to a separate job using PyPI Trusted Publishing. Only that job receives permission to request an OIDC token.

Before the first release, register a pending publisher for misp-cabby with owner MISP, repository cabby, workflow publish.yml, and environment pypi. The developer guide includes the setup and release steps. PyPI publisher settings

Verification

  • Validated the workflow with actionlint and exercised matching and mismatched release tags locally.
  • Built and installed the wheel and source distribution in separate Python 3.12 environments. Verified the distribution name, imports, legacy factory default, and all seven CLI entry points.
  • Ran twine check --strict on both distributions and built the Sphinx documentation with warnings treated as errors.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T06:41:55.338245Z 2f307c4 PR opened
🔒 Security Review ✅ Completed 2026-11-20T06:47:56.646320Z 2f307c4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@adulau
adulau merged commit 13377c6 into master Nov 20, 2026
6 checks passed
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