From 27b56c5ed122aaf00cadebd74727129fed2efd23 Mon Sep 17 00:00:00 2001 From: Silke Hofstra Date: Wed, 1 May 2024 11:44:43 +0200 Subject: [PATCH] ci/package_checks: Add exception for `EULA` as a package license **Summary** Add an exception for `EULA`, as that is used by the following packages: ``` hsa-amd-aqlprofile intel-microcode nvidia-470-glx-driver nvidia-beta-driver nvidia-developer-driver nvidia-glx-driver opencv ``` This is not a valid SPDX license identifier, but there is no valid alternative. Resolves #2423 --- common/CI/package_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/CI/package_checks.py b/common/CI/package_checks.py index 481c2b4305c..ae4faae0829 100755 --- a/common/CI/package_checks.py +++ b/common/CI/package_checks.py @@ -540,7 +540,7 @@ class SPDXLicense(PullRequestCheck): _exceptions_url = 'https://raw.githubusercontent.com/spdx/license-list-data/main/json/exceptions.json' _licenses: Optional[List[str]] = None _exceptions: Optional[List[str]] = None - _extra_licenses = ['Distributable', 'Public-Domain'] + _extra_licenses = ['Distributable', 'EULA', 'Public-Domain'] _error = 'Invalid license identifier: ' _level = Level.WARNING