mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00

### 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.
24 lines
345 B
Plaintext
24 lines
345 B
Plaintext
-c ./deps/constraints.txt
|
|
-c base.txt
|
|
black>=22.3.0
|
|
coverage
|
|
types-click
|
|
flake8
|
|
flake8-print
|
|
freezegun
|
|
label_studio_sdk
|
|
mypy
|
|
pydantic
|
|
pytest-cov
|
|
pytest-mock
|
|
# NOTE(robison) - we need to do additional cleanup to pass
|
|
# linting for the latest version of ruff
|
|
ruff<0.5.0
|
|
types-Markdown
|
|
types-requests
|
|
types-tabulate
|
|
vcrpy
|
|
grpcio
|
|
autoflake
|
|
liccheck
|