Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
# setuptools is pinned below 81 because cyclonedx-bom 3.11.7 imports
# pkg_resources, which setuptools removed in 81. Remove this pin once
# the SBOM tooling is upgraded (cyclonedx-bom 7.x drops pkg_resources).
pip install "setuptools<81" wheel twine
- name: Generate SBOM
run: |
pip install cyclonedx-bom==3.11.7
Expand Down
2 changes: 1 addition & 1 deletion demo/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask>=1.1.2
configparser>=4.0.2
duo_universal>=2.3.0
duo_universal>=2.3.1
2 changes: 1 addition & 1 deletion duo_universal/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.3.0"
__version__ = "2.3.1"
4 changes: 4 additions & 0 deletions scripts/make-sbom.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
# Fail fast: without this, a failure in cyclonedx-py surfaces further down as a
# confusing "could not find cyclonedx-sbom.json" from the convert step.
set -euo pipefail

cyclonedx-py --e --format json -o cyclonedx-sbom.json
wget https://github.com/CycloneDX/cyclonedx-cli/releases/download/v0.24.2/cyclonedx-linux-x64
chmod u+x cyclonedx-linux-x64
Expand Down