Upgrade SBOM tooling for Python 3.13+ support#306
Merged
AaronAtDuo merged 2 commits intomasterfrom Feb 26, 2026
Merged
Conversation
- cyclonedx-bom 3.11.7 → 7.2.2 (3.x doesn't support Python 3.13) - cyclonedx-cli v0.24.2 → v0.30.0 (CycloneDX v1.7 / SPDX 2.3) - Update CLI invocation: `cyclonedx-py --e --format json` → `cyclonedx-py environment` (the `--e` flag became the `environment` subcommand; JSON is the default output format)
- actions/checkout v2 → v4 - actions/setup-python v2 → v5
AaronAtDuo
approved these changes
Feb 26, 2026
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 free
to 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
cyclonedx-bom3.11.7 → 7.2.2 — the 3.x series doesn't support Python 3.13, blocking releases on newer Python versionscyclonedx-cliv0.24.2 → v0.30.0 — picks up CycloneDX v1.7 / SPDX 2.3 compatibilityactions/checkoutv2 → v4,actions/setup-pythonv2 → v5Details
cyclonedx-bom CLI change
The 4.x release of
cyclonedx-bomintroduced breaking CLI changes — the--eflag became theenvironmentsubcommand and JSON became the default output format:cyclonedx-py --e --format json -o cyclonedx-sbom.jsoncyclonedx-py environment -o cyclonedx-sbom.jsoncyclonedx-cli (sbom-convert composite action)
The download URL is bumped from v0.24.2 to v0.30.0. The
convertcommand flags are identical between versions, so this is safe for downstream consumers of the composite action (duo_hmac_python, duo_universal_java, duo_client_java).GitHub Actions
actions/checkout@v2andactions/setup-python@v2are bumped to v4 and v5 respectively — the v2 versions use deprecated Node.js runtimes.Test plan
cyclonedx-bom==7.2.2locally, runcyclonedx-py environment -o cyclonedx-sbom.json, verify valid JSON outputcyclonedx-cliv0.30.0 and run the convert command on the generated JSON to verify spdx.json is produced