vinland-technology / flict

free and open source software license compatibility tool.
GNU General Public License v3.0
45 stars 6 forks source link

[BUG] license "CC0-1.0" no longer recognized #398

Open jkowalleck opened 3 weeks ago

jkowalleck commented 3 weeks ago

Description

First of all, thank you for your bug report. Please fill out below sections (if applicable) to help us fix the issue as good and fast as possible.

Steps for reproduction

Since v1.3.0, the license "CC0-1.0" is not supported

$ pip install flict==1.3.0
$ flict display-compatibility CC0-1.0 MIT
ERROR:flict:License expression "CC0-1.0" is not supported.

Expected behavior

The license "CC0-1.0" is not supported, like it was before

$ pip install flict==1.2.14
$ flict display-compatibility CC0-1.0 MIT
{"compatibilities": [{"license": "CC0-1.0", "licenses": [{"license": "CC0-1.0", "compatible_right": "true", "compatible_left": "true"}, {"license": "MIT", "compatible_right": "true", "compatible_left": "true"}]}, {"license": "MIT", "licenses": [{"license": "CC0-1.0", "compatible_right": "true", "compatible_left": "true"}, {"license": "MIT", "compatible_right": "true", "compatible_left": "true"}]}]}

Actual behavior

What do you see instead?

Environment

tool version how to get it
flict 1.3.0 flict --version
python3 !!enter here!! python3 --version
os !!enter here!! n.a.

add additional tools you used and their versions here

Additional logs

$ pip freeze
attrs==24.2.0
boolean.py==4.0
flict==1.3.0
foss-flame==0.20.6
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
license-expression==30.4.0
osadl-matrix==2024.5.22.10535
PyYAML==6.0.2
referencing==0.35.1
rpds-py==0.20.1
spdx-license-list==3.25.0
jkowalleck commented 3 weeks ago

issue seams to be caused by a bump of direct dependency osadl-matrix==2024.5.7.50556 -> ==2024.5.22.10535

see https://github.com/priv-kweihmann/osadl-matrix/blob/a9840dcb941d8e87cac0e1772532a3c4bdc4d871/DATALOG.md?plain=1#L95

Changes in 2024-05-21T02:14:00+00:00

[...]

  • CC0-1.0: got removed