Skip to content

Commit

Permalink
Add Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schilling committed Oct 11, 2024
1 parent d65e34a commit 796155d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"

services:
mariadb:
Expand Down Expand Up @@ -78,6 +79,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
database: [pg2]
# Add psycopg3 to our matrix for modern python versions
include:
Expand All @@ -87,6 +89,8 @@ jobs:
database: pg3
- python-version: '3.12'
database: pg3
- python-version: '3.13'
database: pg3

services:
postgres:
Expand Down Expand Up @@ -158,6 +162,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Pending
*******

* Add support for Python 3.13.
* Add support for Django 5.1.
* Drop support for Django 3.2, 4.0, 4.1.
* Convert ``Safe`` to be a custom class rather than an ``Enum``.
Expand Down
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[tox]
isolated_build = True
envlist =
py{38,39,310,311,312}-dj42-sqlite
py{310,311,312}-dj50-{sqlite,pg2,pg3,mysql}
py{310,311,312}-dj51-sqlite
py{310,311,312}-djmain-sqlite
py{38,39,310,311,312,313}-dj42-sqlite
py{310,311,312,313}-dj50-{sqlite,pg2,pg3,mysql}
py{310,311,312,313}-dj51-sqlite
py{310,311,312,313}-djmain-sqlite

[testenv]
pip_pre = True
deps =
dj42: django~=4.2.0
dj50: django~=5.0.0
dj51: django~=5.1b
dj51: django~=5.1.0
djmain: https://github.com/django/django/archive/main.tar.gz
pytest
pytest-cov
Expand All @@ -38,6 +38,7 @@ python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313

[gh-actions:env]
DB =
Expand Down

0 comments on commit 796155d

Please sign in to comment.