From 2213c3b911266c574639876398d8ffda9484fbcd Mon Sep 17 00:00:00 2001 From: Daniel Yudelevich <4537920+yudelevi@users.noreply.github.com> Date: Fri, 9 Oct 2026 09:48:34 -0700 Subject: [PATCH] Support Python 3.15 3.15.0 final is out. The suite passes unchanged on 3.15 (run against rc3, since uv has no final 3.15.0 build yet), so this only adds the classifier and a CI matrix entry, and bumps to 0.3.4 so the classifier reaches PyPI. --- .github/workflows/test.yml | 2 +- CHANGELOG.md | 4 ++++ pyproject.toml | 3 ++- src/mpat/__init__.py | 2 +- tests/test_version.py | 2 +- uv.lock | 2 +- 6 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9b316cc..ed637da 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.11", "3.12", "3.13", "3.14"] + python: ["3.11", "3.12", "3.13", "3.14", "3.15"] steps: - uses: actions/checkout@v4 - uses: astral-sh/setup-uv@v6 diff --git a/CHANGELOG.md b/CHANGELOG.md index 46df586..0da57c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.3.4 + +- Python 3.15 is supported and tested in CI. + ## 0.3.3 - The archive download behind `mpat diff` and `mpat check --diff` treats the diff --git a/pyproject.toml b/pyproject.toml index dc9c01c..a39fccd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "mpat" -version = "0.3.3" +version = "0.3.4" description = "Lockfile-based upstream drift tracking for Python monkeypatches" readme = "README.md" license = "MIT" @@ -15,6 +15,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Framework :: Pytest", ] diff --git a/src/mpat/__init__.py b/src/mpat/__init__.py index f80b480..bc234a3 100644 --- a/src/mpat/__init__.py +++ b/src/mpat/__init__.py @@ -15,7 +15,7 @@ ) from mpat._until import Probe, Until, Version -__version__ = "0.3.3" +__version__ = "0.3.4" __all__ = [ "AlreadyPatched", diff --git a/tests/test_version.py b/tests/test_version.py index d6031a2..aafb48c 100644 --- a/tests/test_version.py +++ b/tests/test_version.py @@ -6,4 +6,4 @@ def test_version_matches_pyproject(): data = tomllib.loads((Path(__file__).parents[1] / "pyproject.toml").read_text()) - assert data["project"]["version"] == mpat.__version__ == "0.3.3" + assert data["project"]["version"] == mpat.__version__ == "0.3.4" diff --git a/uv.lock b/uv.lock index 519b674..154bc5b 100644 --- a/uv.lock +++ b/uv.lock @@ -412,7 +412,7 @@ wheels = [ [[package]] name = "mpat" -version = "0.3.3" +version = "0.3.4" source = { editable = "." } dependencies = [ { name = "packaging" },