From 17a5c2a328e6183a4da8f4efb583ebae63d85ad1 Mon Sep 17 00:00:00 2001 From: Erik Cederstrand Date: Mon, 27 Apr 2026 14:33:43 +0200 Subject: [PATCH 1/5] Specify BSD-3.0 license and add license files Fixes license specifiers according to https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files This allows automatic license inspection tools like pip-licenses to correctly categorize this package. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e956a8b..0abaa91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,8 @@ keywords = [ "matplotlib", "python", ] -license = {file = "LICENSE"} +license = "BSD-3.0" +license-files = ["LICENSE"] readme = "README.md" requires-python = ">=3.9" From 0cc8a2e91306c94e36f0a9cd8e31a38299b1c126 Mon Sep 17 00:00:00 2001 From: Erik Cederstrand Date: Mon, 27 Apr 2026 14:36:54 +0200 Subject: [PATCH 2/5] Use valid SPDX ID --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0abaa91..2a2718b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ keywords = [ "matplotlib", "python", ] -license = "BSD-3.0" +license = "BSD-3-Clause" license-files = ["LICENSE"] readme = "README.md" requires-python = ">=3.9" From 8ac056c5730a6adbc9dd5e049b85163ba6a09a28 Mon Sep 17 00:00:00 2001 From: Erik Cederstrand Date: Tue, 5 May 2026 12:56:28 +0200 Subject: [PATCH 3/5] Update workflow to include matplotlib for tests pyproject.toml explains why matplotlib is not a dependency --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4784e9a..a0b72b3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,7 +39,10 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install package with test dependencies - run: pip install .[test] + # matplotlib is not a dependency but tests need it + run: | + pip install .[test] + pip install matplotlib - name: Test installation without nbdime run: pytest -v From c783ae72ed581f24fa136f34e6df4f6e99c3f785 Mon Sep 17 00:00:00 2001 From: Erik Cederstrand Date: Tue, 5 May 2026 21:47:04 +0200 Subject: [PATCH 4/5] Deprecate Python 3.9 in CI pipeline Python 3.9 is EOL and tests are failing --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0b72b3..84a7b2d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] include: #- os: macos-latest # python-version: "3.14" From e3b8bb10d275d5caa97d8d1b584d48797e494de4 Mon Sep 17 00:00:00 2001 From: Erik Cederstrand Date: Tue, 5 May 2026 21:48:17 +0200 Subject: [PATCH 5/5] Deprecate Python 3.9 in CI pipeline Python 3.9 is EOL and tests are failing