Skip to content

Commit b74c25e

Browse files
committed
remove python licence check
1 parent a027a79 commit b74c25e

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

.github/workflows/quality-checks.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -204,32 +204,6 @@ jobs:
204204
run: |
205205
make check-licenses
206206
207-
- name: Check licenses (Python)
208-
if: steps.check_poetry.outputs.uses_poetry == 'true'
209-
run: |
210-
#!/bin/bash
211-
set -euo pipefail
212-
213-
# Install pip-licenses if not already installed
214-
if ! poetry run pip show pip-licenses > /dev/null 2>&1; then
215-
echo "pip-licenses is not detected. Installing..."
216-
poetry run pip install pip-licenses
217-
fi
218-
219-
# known packages with dual licensing
220-
IGNORE_PACKAGES='"PyGithub" "chardet" "text-unidecode"'
221-
LICENSES=$(poetry run pip-licenses --ignore-packages "${IGNORE_PACKAGES}")
222-
INCOMPATIBLE_LIBS=$(echo "$LICENSES" | grep 'GPL' || true)
223-
224-
if [[ -z $INCOMPATIBLE_LIBS ]]; then
225-
echo "Checked licenses are OK"
226-
exit 0
227-
else
228-
echo "The following libraries were found which are not compatible with this project's license:"
229-
echo "$INCOMPATIBLE_LIBS"
230-
exit 1
231-
fi
232-
233207
- name: Run code lint
234208
run: make lint
235209

0 commit comments

Comments
 (0)