From 80d5962a68af429d6624a3a71186e5207bc38b92 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Wed, 23 Oct 2024 17:47:54 +0100 Subject: [PATCH] Add Python 3.13 support Signed-off-by: Stephen Finucane --- .github/workflows/ci.yaml | 8 ++++---- .../notes/python-3-13-support-dc538fa3bc716863.yaml | 5 +++++ tox.ini | 3 ++- 3 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 releasenotes/notes/python-3-13-support-dc538fa3bc716863.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 52b18602..5fb784df 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.12" + python-version: "3.13" - name: Set up Go uses: actions/setup-go@v4 with: @@ -29,7 +29,7 @@ jobs: matrix: # NOTE: If you add a version here, don't forget to update the # '[gh-actions]' section in tox.ini - python: ["3.9", "3.10", "3.11", "3.12"] + python: ["3.9", "3.10", "3.11", "3.12", "3.13"] db: [postgres, mysql, sqlite3] env: DATABASE_TYPE: "${{ matrix.db }}" @@ -105,7 +105,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.12" + python-version: "3.13" - name: Install dependencies run: python -m pip install tox - name: Build docs (via tox) @@ -132,7 +132,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.12" + python-version: "3.13" - name: Build docker-compose service run: | docker compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g) diff --git a/releasenotes/notes/python-3-13-support-dc538fa3bc716863.yaml b/releasenotes/notes/python-3-13-support-dc538fa3bc716863.yaml new file mode 100644 index 00000000..f6831d82 --- /dev/null +++ b/releasenotes/notes/python-3-13-support-dc538fa3bc716863.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + `Python 3.13 `_ is + now supported. diff --git a/tox.ini b/tox.ini index b101b796..f1385fda 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.2 -envlist = pep8,docs,py{39,310,311}-django42,py{310,311,312}-django{50,51} +envlist = pep8,docs,py{39,310,311}-django42,py{310,311,312}-django{50,51},py313-django51 [testenv] skip_install = true @@ -78,3 +78,4 @@ python = 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313