From 3879ce1ae7d9c8ed9b53c7e13d813e8c58fc949a Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Thu, 11 Jan 2024 10:52:27 -0500 Subject: [PATCH] Added Django 5.0 and Python 3.12 to test matrix. Resolves #74. --- .github/workflows/main.yml | 1 + README.rst | 4 ++-- docs/installation.rst | 4 ++-- pyproject.toml | 5 ++++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4731d44..1207d20 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,6 +22,7 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" steps: - uses: actions/checkout@v4 diff --git a/README.rst b/README.rst index 8b2ece1..09e3aea 100644 --- a/README.rst +++ b/README.rst @@ -42,9 +42,9 @@ bi-directional data retrieval. Requirements ------------ -* Python_ (3.7, 3.8, 3.9, 3.10, 3.11) +* Python_ (3.7, 3.8, 3.9, 3.10, 3.11, 3.12) * Cryptography_ (2.0+) -* Django_ (3.2, 4.1, 4.2) +* Django_ (3.2, 4.1, 4.2, 5.0) Installation ------------ diff --git a/docs/installation.rst b/docs/installation.rst index bfa9319..15a6fa2 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -4,9 +4,9 @@ Installation Requirements ------------ -* Python_ (3.7, 3.8, 3.9, 3.10, 3.11) +* Python_ (3.7, 3.8, 3.9, 3.10, 3.11, 3.12) * Cryptography_ (2.0+) -* Django_ (3.2, 4.1, 4.2) +* Django_ (3.2, 4.1, 4.2, 5.0) .. code-block:: console diff --git a/pyproject.toml b/pyproject.toml index a98641d..c7b3386 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,13 +57,15 @@ target-version = "py37" [tool.tox] # language=ini legacy_tox_ini = """ + [tox] min_version = 4.0 envlist = {py37,py38,py39,py310}-django32, {py38,py39,py310}-django41, {py38,py39,py310,py311}-django42, - {py310,py311}-djangomain, + {py310,py311,py312}-django50, + {py310,py311,py312}-djangomain, isolated_build = True [testenv] @@ -72,6 +74,7 @@ deps = django32: Django>=3.2,<3.3 django41: Django>=4.1,<4.2 django42: Django>=4.2,<4.3 + django50: Django>=5.0,<5.1 djangomain: https://github.com/django/django/archive/main.tar.gz commands = {envpython} -m coverage run --context='{envname}' runtests.py {posargs}