Skip to content

Commit

Permalink
Adds support to Python 3.13 (#504)
Browse files Browse the repository at this point in the history
* Adds support to python 3.13

* Small adjustments to the test matrix

---------

Co-authored-by: Rust Saiargaliev <[email protected]>
  • Loading branch information
jairhenrique and amureki authored Oct 10, 2024
1 parent e6ae935 commit fa833e7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
env:
PGUSER: postgres
PGPASSWORD: postgres
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Added
- Support to Field `db_default` value
- Support to python 3.13

### Changed

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development",
]
dependencies = [
Expand Down
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ env_list =
py{310,311}-django{42,50,51}-{postgresql,sqlite}
py{311,312}-django{42,50,51}-{postgresql-psycopg3}
py312-django{50,51}-{postgresql-contenttypes}
py313-django{50,51}-{sqlite,postgresql-psycopg3,postgresql-contenttypes}

[testenv]
package = wheel
Expand All @@ -16,6 +17,9 @@ setenv =
postgresql-psycopg3: PGUSER=postgres
postgresql-psycopg3: PGPASSWORD=postgres
postgresql-contenttypes: USE_CONTENTTYPES=True
postgresql-contenttypes: TEST_DB=postgresql
postgresql-contenttypes: PGUSER=postgres
postgresql-contenttypes: PGPASSWORD=postgres
sqlite: TEST_DB=sqlite
sqlite: USE_TZ=True
deps =
Expand All @@ -28,6 +32,7 @@ deps =
django51: Django>=5.1,<5.2
postgresql: psycopg2-binary
postgresql-psycopg3: psycopg
postgresql-contenttypes: psycopg
commands =
python \
-m coverage run \
Expand Down

0 comments on commit fa833e7

Please sign in to comment.