From d2155d880bec89c7769ee82d3424616a69198112 Mon Sep 17 00:00:00 2001 From: Alex Jones Date: Wed, 11 Feb 2026 12:24:43 +0000 Subject: [PATCH 1/2] fix: `pyproject.toml` license spelling Use the American "license" spelling instead of the British "licence" spelling, as this is generally what is expected by tooling like `licensecheck` as run in CI. This also makes it consistent with the other `license-files` option we use. Signed-off-by: Alex Jones --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b9593c8c..ad1bf610 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ version = "1.7.6" description = "DV system" authors = [{name = "lowRISC contributors (OpenTitan project)"}] readme = "README.md" -licence = "Apache-2.0" +license = "Apache-2.0" license-files = ["LICENSE"] requires-python = ">=3.10" dependencies = [ From 4a3e2c72ff2bf31fea9fa6f35e764efd535e7f4a Mon Sep 17 00:00:00 2001 From: Alex Jones Date: Wed, 11 Feb 2026 12:17:55 +0000 Subject: [PATCH 2/2] ci: Pass CI dependency license check requirements When running in a Github Actions CI environment, the `licensecheck` tool used in CI for checking dependency licenses is unable to automatically pick up the `pyproject.toml` file as a requirements file. We must therefore explicitly tell it to use this file in the command in CI. Signed-off-by: Alex Jones --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3eeb3a6..a1eadd08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,7 @@ jobs: - name: Dependency license check run: | # Ignore MPL 2.0 which is weak copy left - uv tool run licensecheck --zero --ignore-licenses "MPL 2.0" + uv tool run licensecheck --zero --ignore-licenses "MPL 2.0" --requirements-paths ./pyproject.toml - name: Lint with Ruff run: |