Matt Robinson ee2b247297
build: check dependency licenses in CI (#3349)
### Summary

Adds a CI check to ensure that packages added as dependencies are
appropriately licensed. All of the `.txt` files in the `requirements`
directory are checked with the exception of:

- `constraints.txt`, since those are not installed and are instead
conditions on the other dependency files
- `dev.txt`, since those are for local development and not shipped as
part of the `unstructured` package
- `extra-pdf-image.txt` - the `extra-pdf-image.in` since checking
`extra-pdf-image.txt` pulls in NVIDIA GPU related packages with an
`Other/Proprietary` license type, and there's not a good way to exclude
those without adding `Other/Proprietary` to the allowed licenses list.

### Testing

The new `check-licenses` job should pass in CI.
2024-07-11 22:36:01 +00:00

190 lines
3.4 KiB
Plaintext

#
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile ./test.in
#
annotated-types==0.7.0
# via pydantic
appdirs==1.4.4
# via
# label-studio-sdk
# label-studio-tools
attrs==23.2.0
# via
# jsonschema
# referencing
autoflake==2.3.1
# via -r ./test.in
black==24.4.2
# via -r ./test.in
certifi==2024.7.4
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# requests
charset-normalizer==3.3.2
# via
# -c ./base.txt
# requests
click==8.1.7
# via
# -c ./base.txt
# black
coverage[toml]==7.5.4
# via
# -r ./test.in
# pytest-cov
exceptiongroup==1.2.1
# via
# -c ./base.txt
# pytest
flake8==7.1.0
# via
# -r ./test.in
# flake8-print
flake8-print==5.0.0
# via -r ./test.in
freezegun==1.5.1
# via -r ./test.in
grpcio==1.65.0
# via -r ./test.in
idna==3.7
# via
# -c ./base.txt
# requests
# yarl
iniconfig==2.0.0
# via pytest
jsonschema==4.23.0
# via label-studio-sdk
jsonschema-specifications==2023.12.1
# via jsonschema
label-studio-sdk==0.0.34
# via -r ./test.in
label-studio-tools==0.0.4
# via label-studio-sdk
liccheck==0.9.2
# via -r ./test.in
lxml==5.2.2
# via
# -c ./base.txt
# label-studio-sdk
# label-studio-tools
mccabe==0.7.0
# via flake8
multidict==6.0.5
# via yarl
mypy==1.10.1
# via -r ./test.in
mypy-extensions==1.0.0
# via
# -c ./base.txt
# black
# mypy
packaging==23.2
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# black
# pytest
pathspec==0.12.1
# via black
platformdirs==3.10.0
# via
# -c ././deps/constraints.txt
# black
pluggy==1.5.0
# via pytest
pycodestyle==2.12.0
# via
# flake8
# flake8-print
pydantic==2.8.2
# via
# -r ./test.in
# label-studio-sdk
pydantic-core==2.20.1
# via pydantic
pyflakes==3.2.0
# via
# autoflake
# flake8
pytest==8.2.2
# via
# pytest-cov
# pytest-mock
pytest-cov==5.0.0
# via -r ./test.in
pytest-mock==3.14.0
# via -r ./test.in
python-dateutil==2.9.0.post0
# via
# -c ./base.txt
# freezegun
pyyaml==6.0.1
# via vcrpy
referencing==0.35.1
# via
# jsonschema
# jsonschema-specifications
requests==2.32.3
# via
# -c ./base.txt
# label-studio-sdk
rpds-py==0.19.0
# via
# jsonschema
# referencing
ruff==0.4.10
# via -r ./test.in
semantic-version==2.10.0
# via liccheck
six==1.16.0
# via
# -c ./base.txt
# python-dateutil
toml==0.10.2
# via liccheck
tomli==2.0.1
# via
# autoflake
# black
# coverage
# mypy
# pytest
types-click==7.1.8
# via -r ./test.in
types-markdown==3.6.0.20240316
# via -r ./test.in
types-requests==2.31.0.6
# via -r ./test.in
types-tabulate==0.9.0.20240106
# via -r ./test.in
types-urllib3==1.26.25.14
# via types-requests
typing-extensions==4.12.2
# via
# -c ./base.txt
# black
# mypy
# pydantic
# pydantic-core
urllib3==1.26.19
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# requests
# vcrpy
vcrpy==6.0.1
# via -r ./test.in
wrapt==1.16.0
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# vcrpy
xmljson==0.2.1
# via label-studio-sdk
yarl==1.9.4
# via vcrpy