From fb8294cc1453eb7518f1bd10fa589303bb616721 Mon Sep 17 00:00:00 2001 From: Jair Henrique Date: Tue, 1 Oct 2024 12:23:03 -0300 Subject: [PATCH 1/2] Adds support to python 3.13 --- .github/workflows/ci.yml | 1 + CHANGELOG.md | 1 + pyproject.toml | 1 + tox.ini | 3 ++- 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94e7cd0c..9239fc7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" env: PGUSER: postgres PGPASSWORD: postgres diff --git a/CHANGELOG.md b/CHANGELOG.md index 915035ee..4b183cdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 92de76a4..719f19ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [ diff --git a/tox.ini b/tox.ini index b9f0e90f..d7ba4f74 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -27,7 +28,7 @@ deps = django50: Django>=5.0,<5.1 django51: Django>=5.1,<5.2 postgresql: psycopg2-binary - postgresql-psycopg3: psycopg + postgresql-psycopg3: psycopg[binary] commands = python \ -m coverage run \ From 050fa75ef0cbef51b7c83855e84e1a5f4a16fb52 Mon Sep 17 00:00:00 2001 From: Rust Saiargaliev Date: Thu, 10 Oct 2024 10:01:10 +0200 Subject: [PATCH 2/2] Small adjustments to the test matrix --- tox.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d7ba4f74..e8596849 100644 --- a/tox.ini +++ b/tox.ini @@ -17,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 = @@ -28,7 +31,8 @@ deps = django50: Django>=5.0,<5.1 django51: Django>=5.1,<5.2 postgresql: psycopg2-binary - postgresql-psycopg3: psycopg[binary] + postgresql-psycopg3: psycopg + postgresql-contenttypes: psycopg commands = python \ -m coverage run \