Skip to content

Use MISP’s libtaxii distribution for TAXII 1.x - #10

Merged
adulau merged 3 commits into
masterfrom
misp-libtaxii
Nov 20, 2026
Merged

adulau merged 3 commits into
masterfrom
misp-libtaxii

Conversation

@adulau

@adulau adulau commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Use misp-libtaxii>=1.1.120 as Cabby's runtime dependency for TAXII 1.0 and 1.1 XML messages. Existing libtaxii imports and Cabby client entry points continue to work. The install guide explains migration for environments containing upstream libtaxii, and the developer guide covers testing both MISP checkouts together.

Dependency status. MISP/libtaxii merged the packaging change at 1c4bfa1. Its first PyPI release is pending. Cabby’s package metadata requires misp-libtaxii>=1.1.120. MISP/libtaxii#4

While PyPI returns 404 for the project, the test and documentation jobs build a wheel from that pinned commit and let uv resolve Cabby’s declared dependency from it. Once PyPI lists the project, those jobs automatically use the index. Other HTTP or connection failures stop the build.

The release workflow installs the Cabby wheel with public PyPI dependencies and runs taxii-discovery --help before uploading the distributions. The first public Cabby release using this dependency requires publication of misp-libtaxii first.

Verification

  • Built Cabby and the companion fork. Both wheels and both source distributions passed twine check --strict.
  • Made the companion wheel available via uv's local --find-links option, then installed Cabby's source distribution on Python 3.11 and its wheel on 3.12 in clean environments. Verified misp-libtaxii 1.1.120 was the only installed provider of libtaxii and checked XML schema resources and all seven Cabby entry points.
  • Ran the complete Cabby suite on both interpreters, including TAXII 1.0, 1.1 and 2.1. Each passed 82 tests with two existing skips. The fork’s own suite passed all 132 tests on Python 3.12. Flake8, the Quarto build, and the offline documentation link check passed.

After the merge, installed the dependency directly from the merged Git commit in fresh Python 3.11 and 3.12 environments. Verified the installed commit via package metadata and reran the full Cabby suite (82 passed, two existing skips on each interpreter). All seven CLI help commands, the Quarto build and the offline link check passed.

To reproduce from this Cabby checkout before the first dependency release, run the following in a fresh virtual environment.

uv pip install -r requirements-dev.txt -e . \
  "misp-libtaxii @ git+https://github.com/MISP/libtaxii.git@1c4bfa13731eb22c8fd6b674c2f5f0d48be72820"
python -m pytest

@adulau
adulau marked this pull request as ready for review November 20, 2026 09:57
@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-20T10:00:09.606102Z 2e9071c Draft marked ready
🔒 Security Review ✅ Completed 2026-11-20T10:03:16.066883Z 2e9071c Draft marked ready
ℹ️ 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 713ae43 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