From aa8b2a6b8e0adef76bc87e9bb6bb4e6b382c5984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Clgen=20Sar=C4=B1kavak?= Date: Sat, 20 Sep 2025 13:41:28 +0300 Subject: [PATCH 1/2] Upgrade Python to 3.13 --- .github/workflows/pre-commit.yml | 2 +- .github/workflows/tests.yml | 2 +- .pre-commit-config.yaml | 2 +- Dockerfile | 2 +- README.rst | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index a8760c3534..2a97fcc0b6 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -12,5 +12,5 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0ceef41d84..f993f6e8c7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ on: pull_request: env: - PYTHON_VERSION: 3.12 + PYTHON_VERSION: 3.13 jobs: tests: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3edbaf879c..b4f44e45bb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: rev: "v3.21.0" hooks: - id: pyupgrade - args: [--py312] + args: [--py313] - repo: https://github.com/adamchainz/django-upgrade rev: "1.29.0" hooks: diff --git a/Dockerfile b/Dockerfile index 5ee5efd9e8..ba5638426a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # pull official base image -FROM python:3.12-slim-trixie +FROM python:3.13-slim-trixie # set work directory WORKDIR /usr/src/app diff --git a/README.rst b/README.rst index 6af48d35f6..99952a6a3a 100644 --- a/README.rst +++ b/README.rst @@ -12,7 +12,7 @@ To run locally, you can either: Install and run locally from a virtual environment ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -#. Create a `Python Python 3.12 virtualenv and activate it `_ +#. Create a `Python 3.13 virtualenv and activate it `_ #. Install dependencies:: From 7090995df7a9c5ce26121a3147e15e6b191171cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Clgen=20Sar=C4=B1kavak?= Date: Sat, 18 Oct 2025 08:01:10 +0300 Subject: [PATCH 2/2] Upgrade Python to 3.14 --- .github/workflows/pre-commit.yml | 2 +- .github/workflows/tests.yml | 2 +- .pre-commit-config.yaml | 2 +- Dockerfile | 2 +- README.rst | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 2a97fcc0b6..49b265c798 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -12,5 +12,5 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.13" + python-version: "3.14" - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f993f6e8c7..8d8d4e6f4a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ on: pull_request: env: - PYTHON_VERSION: 3.13 + PYTHON_VERSION: 3.14 jobs: tests: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b4f44e45bb..0c1cbed471 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: rev: "v3.21.0" hooks: - id: pyupgrade - args: [--py313] + args: [--py314] - repo: https://github.com/adamchainz/django-upgrade rev: "1.29.0" hooks: diff --git a/Dockerfile b/Dockerfile index ba5638426a..a7713d4693 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # pull official base image -FROM python:3.13-slim-trixie +FROM python:3.14-slim-trixie # set work directory WORKDIR /usr/src/app diff --git a/README.rst b/README.rst index 99952a6a3a..5b338af373 100644 --- a/README.rst +++ b/README.rst @@ -12,7 +12,7 @@ To run locally, you can either: Install and run locally from a virtual environment ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -#. Create a `Python 3.13 virtualenv and activate it `_ +#. Create a `Python 3.14 virtualenv and activate it `_ #. Install dependencies::