From 43a7f437765073d521ddbd789b863795da02980e 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 3b29282..12c0fbd 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 98f9eb6f3b767b8e5e5737ffad933b88b16d6339 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 12c0fbd..af44c37 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 13780f0776ae47ac3b85dd689e63b56b7732610c 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 ece54cd8ea0253258e1ffa3fff2849fc4d1e2688 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 f05ea7415842ff094b30c8a297e78afd144d020b 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