diff --git a/Makefile b/Makefile index e5ca2180..2849dd94 100644 --- a/Makefile +++ b/Makefile @@ -107,7 +107,7 @@ upgrade-quiet: # Generate a Software Bill of Materials (SBOM). .PHONY: sbom sbom: requirements - cyclonedx-py --force --requirements --format json --output dist/$(PACKAGE_NAME)-$(PACKAGE_VERSION)-sbom.json + cyclonedx-py requirements --output-format json --outfile dist/$(PACKAGE_NAME)-$(PACKAGE_VERSION)-sbom.json # Generate a requirements.txt file containing version and integrity hashes for all # packages currently installed in the virtual environment. There's no easy way to diff --git a/pyproject.toml b/pyproject.toml index 1fa9848d..4c8cc19d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ dev = [ "pip-audit >=2.4.4,<3.0.0", "pylint >=3.0.0,<3.1.0", "perflint >=0.8.0,<1.0.0", - "cyclonedx-bom >=3.11.0,<4.0.0", + "cyclonedx-bom >=4.0.0,<5.0.0", ] docs = [ "sphinx >=5.1.1,<8.0.0",