aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2025-02-21 20:05:44 +0000
committerGravatar GitHub <[email protected]>2025-02-21 20:05:44 +0000
commit02b95793d298c43e33dabe13fe9bd97f0eb3be3d (patch)
treee8fd1d368e1ef3b2a3ce45db31aec1323bf37ecb /.github/workflows
parentConfigure dependabot to only open PRs for major version bumps (#3227) (diff)
Bump deps to latest (#3262)
* Bump deps to latest * Sort deps * Use new style group for dev deps * Add attrs to ignore list of pip-licenses * Bump bot-core up to 11.6.0
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/lint-test.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml
index 67a2725e9..2254058bd 100644
--- a/.github/workflows/lint-test.yml
+++ b/.github/workflows/lint-test.yml
@@ -40,10 +40,17 @@ jobs:
# If you added a new dependencies that is being rejected,
# please make sure it is compatible with the license for this project,
# and add it to the ALLOWED_LICENSE variable
+
+ # NOTE: at time of writing pip-licenses is not PEP-639 compliant
+ # so is not detecting the license for packages now following that style.
+ # As a temp fix, add packages to the ignore list after manually checking
+ # that the license in use is compatible with ours.
+ # Ref: https://github.com/raimon49/pip-licenses/issues/225
- name: Check Dependencies License
run: |
poetry self add poetry-plugin-export
pip-licenses --allow-only="$ALLOWED_LICENSE" \
+ --ignore-packages attrs \
--package $(poetry export -f requirements.txt --without-hashes | sed "s/==.*//g" | tr "\n" " ")
- name: Run pre-commit hooks