From 8650c6b181b6ce605d4c887fe9e7ccc918224a02 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] 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 301ea4732e..dbb081bf07 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: rev: "v3.21.1" hooks: - id: pyupgrade - args: [--py312] + args: [--py313] - repo: https://github.com/adamchainz/django-upgrade rev: "1.29.1" 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::