@@ -40,35 +40,13 @@ jobs:
4040 python-version : 3.11
4141 - name : Get explicit and transitive dependencies
4242 run : |
43- pip install -U pip==22.0.4 setuptools==58.3.0
44- pip install -q -r requirements.txt
45- pip freeze > requirements-all.txt
46- working-directory : ./backend
47- - name : Check python
48- id : license_check_report
49- 50- with :
51- requirements : " backend/requirements-all.txt"
52- fail : " Copyleft,Other,Error"
53- exclude : ' (category_encoders.*2\.7\..*|attrs.*25\.3\..*|referencing.*0\.36\..*|envier.*0\.5\.0|psycopg2.*2\.9\.3|fqdn.*1\.5\.1|pyzmq.*25\.1\.2|debugpy.*1\.6\.7|certifi.*2025\.1\.31|tqdm.*4\.67\..*|webencodings.*0\.5\.1|torch.*1\.10\.2.*|torch.*1\.11\.0.*|pytorch-ignite.*0\.4\.10.*|torchaudio.*0\.11\.0.*|torchvision.*0\.12\.0.*|terminado.*0\.15\.0|qudida.*0\.0\.4|expiringdict.*1\.2\.2|botocore.*1\.29\.80|orderedmultidict.*1\.0\.1|termcolor.*3\.0\.1|pillow.*11\.2\.1|deepchecks.*)'
54- # psycopg2 is LGPL 2
55- # category_encoders is BSD https://github.com/scikit-learn-contrib/category_encoders/tree/master?tab=BSD-3-Clause-1-ov-file
56- # attrs is MIT https://github.com/python-attrs/attrs/blob/main/LICENSE
57- # referencing is MIT https://github.com/python-jsonschema/referencing?tab=MIT-1-ov-file
58- # pyzmq is Revised BSD https://github.com/zeromq/pyzmq/blob/main/examples/LICENSE
59- # debugpy is MIT https://github.com/microsoft/debugpy/blob/main/LICENSE
60- # certifi is MPL-2.0 https://github.com/certifi/python-certifi/blob/master/LICENSE
61- # tqdm is MPL-2.0 https://github.com/tqdm/tqdm/blob/master/LICENCE
62- # webencodings is BSD https://github.com/gsnedders/python-webencodings/blob/master/LICENSE
63- # torch is BSD https://github.com/pytorch/pytorch/blob/master/LICENSE
64- # torchvision is BSD https://github.com/pytorch/vision/blob/main/LICENSE
65- # torchaudio is BSD https://github.com/pytorch/audio/blob/main/LICENSE
66- # terminado is BSD https://github.com/jupyter/terminado/blob/main/LICENSE
67- # termcolor is MIT https://github.com/termcolor/termcolor/blob/main/COPYING.txt
68- # orderedmultidict is freeley distributed https://github.com/gruns/orderedmultidict/blob/master/LICENSE.md
69- - name : Print report
70- if : ${{ always() }}
71- run : echo "${{ steps.license_check_report.outputs.report }}"
43+ pip install -U pip==25.1.1 setuptools==80.9.0
44+ pip install -q -r backend/requirements.txt
45+ - name : Set up liccheck
46+ run : pip install liccheck
47+ - name : Run liccheck
48+ run : python -m liccheck -r backend/requirements.txt -s liccheck.ini
49+
7250 frontend-license-check :
7351 runs-on : ubuntu-latest
7452 steps :
0 commit comments