--- # Check the package page on how to configure this job # https://pypi.org/project/pip-licenses/ include: - remote: https://jobs.just-ci.dev/66-bug-python-3-11-breaks-python-pip-licenses/python/generic.yml - remote: https://jobs.just-ci.dev/66-bug-python-3-11-breaks-python-pip-licenses/python/install-extras.yml variables: PIP_LICENSES_ALLOWED: "" # Empty means all. Semicolon separated list. See https://pypi.org/project/pip-licenses/#option-allow-only python:pip-licenses: extends: .python:install-extras image: name: registry.gitlab.com/just-ci/images/python:3.10-slim entrypoint: [""] variables: JOB_PACKAGE: pip-licenses script: # isolate installation to ignore licenses of pre-installed packages - python3 -m venv .venv - source .venv/bin/activate - !reference [".python:pre", script] - !reference [".python:install-extras", script] - pip-licenses --from=mixed --allow-only="${PIP_LICENSES_ALLOWED}"