Skip to content

Commit

Permalink
Add Python 3.13 support
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin committed Oct 23, 2024
1 parent 5e2f3b8 commit 80d5962
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}"
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down
5 changes: 5 additions & 0 deletions releasenotes/notes/python-3-13-support-dc538fa3bc716863.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
features:
- |
`Python 3.13 <https://www.python.org/downloads/release/python-3130/>`_ is
now supported.
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -78,3 +78,4 @@ python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313

0 comments on commit 80d5962

Please sign in to comment.