From 4f4384215c58e5cf11cceafb4f2ce290b326b7c5 Mon Sep 17 00:00:00 2001 From: rust Date: Wed, 4 Mar 2026 11:48:10 +0100 Subject: [PATCH] chore: raise Python baseline to 3.13 and validate 3.14 (ch-w8v) --- .github/workflows/python-test.yml | 4 ++-- CHANGELOG.md | 8 ++++++++ README.md | 2 +- example/Dockerfile | 2 +- example/Dockerfile-dev | 2 +- example/Dockerfile-dev-auth | 2 +- pyproject.toml | 11 ++++++++--- 7 files changed, 22 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index d450fa9..38fa746 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.11, 3.12] + python-version: [3.13, 3.14] steps: - uses: actions/checkout@v2 @@ -69,4 +69,4 @@ jobs: with: github_token: ${{ secrets.github_token }} # Change reviewdog reporter if you need [github-pr-check, github-check]. - reporter: github-pr-check \ No newline at end of file + reporter: github-pr-check diff --git a/CHANGELOG.md b/CHANGELOG.md index c69656f..9f684eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## Unreleased + +### BREAKING CHANGE +- Raise minimum supported Python version to 3.13. + +### Chore +- Validate runtime/tooling compatibility on Python 3.14. + ## v6.0.0 (2025-10-07) ### Feat diff --git a/README.md b/README.md index 84f3785..566d383 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Chartreuse leverages [Helm Hooks](https://helm.sh/docs/topics/charts_hooks/), th ### Requirements -- Python >= 3.7 +- Python >= 3.13 - Using Helm to deploy you application - This Python package requires the `expecteddeploymentscales.wiremind.io` Kubernetes `Custom Resource Definition`: diff --git a/example/Dockerfile b/example/Dockerfile index a36d06c..57d9dc4 100644 --- a/example/Dockerfile +++ b/example/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12 +FROM python:3.13 WORKDIR /app diff --git a/example/Dockerfile-dev b/example/Dockerfile-dev index 588e753..eb56d0a 100644 --- a/example/Dockerfile-dev +++ b/example/Dockerfile-dev @@ -1,6 +1,6 @@ # Only used for e2e tests. Do not use in production. # For Wiremind use only since it uses our private package wiremind-python -FROM python:3.12 +FROM python:3.13 WORKDIR /app diff --git a/example/Dockerfile-dev-auth b/example/Dockerfile-dev-auth index 8c7cc61..d76a409 100644 --- a/example/Dockerfile-dev-auth +++ b/example/Dockerfile-dev-auth @@ -1,7 +1,7 @@ # Only used for e2e tests. Do not use in production. # For Wiremind use only since it uses our private package wiremind-python -FROM python:3.12 +FROM python:3.13 WORKDIR /app diff --git a/pyproject.toml b/pyproject.toml index 862155f..1ef768d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,12 @@ authors = [{ name = "wiremind", email = "dev@wiremind.io" }] license="LGPL-3.0-or-later" urls = { github = "https://github.com/wiremind/chartreuse"} scripts = {chartreuse-upgrade = "chartreuse.chartreuse_upgrade:main"} -requires-python = ">=3.11.0" +requires-python = ">=3.13.0" +classifiers = [ + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", +] dependencies = [ "alembic", @@ -50,7 +55,7 @@ dev = [ [tool.ruff] line-length = 120 -target-version = "py311" +target-version = "py313" [tool.ruff.lint] select = [ @@ -76,4 +81,4 @@ known-first-party = ["chartreuse"] log_level = "INFO" # Deterministic ordering for tests; useful for pytest-xdist. env = ["PYTHONHASHSEED=0"] -filterwarnings = ["ignore::pytest.PytestUnknownMarkWarning"] \ No newline at end of file +filterwarnings = ["ignore::pytest.PytestUnknownMarkWarning"]