Skip to content

Commit 860161b

Browse files
Urist-McGitfmoessbauer
authored andcommitted
fix: declare license-expression as an unconditional depedency
The dependency was previously installed in both the `cdx` and `spdx` extras. It turns out that doing it this way breaks the error message when no SBOM format is installed. As this dependency is always required and pretty lightweight simply always depend on it. Fixes: 12fdab0 ("feat(generate): add license information to SBOMs") Signed-off-by: Christoph Steiger <christoph.steiger@siemens.com>
1 parent c750634 commit 860161b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ version = "0.6.1"
88
dependencies = [
99
"packageurl-python>=0.16.0",
1010
"python-debian>=0.1.49",
11+
"license-expression>=30",
1112
]
1213
requires-python = ">=3.11"
1314
authors = [
@@ -50,11 +51,9 @@ mindev = [
5051
]
5152
cdx = [
5253
"cyclonedx-python-lib>=9.0.0",
53-
"license-expression>=30",
5454
]
5555
spdx = [
5656
"spdx-tools>=0.8.3",
57-
"license-expression>=30",
5857
]
5958
download = [
6059
"requests>=2.25.1",

0 commit comments

Comments
 (0)