From bf8ec523380c151f2e0a965c11c27ecd9b4e114e Mon Sep 17 00:00:00 2001 From: Nicholas Bunn Date: Mon, 23 Sep 2024 16:01:22 +0100 Subject: [PATCH 1/2] Add support for Django 5.1 Adds tested support for Django 5.1 --- README.md | 2 +- noxfile.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 932fd70..5e91d61 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Further use cases are documented in the tests, see [**here**][tests] for more us This package supports: - Python 3.10, 3.11 -- Django 3.2, 4.0, 4.1, 4.2, 5.0 +- Django 3.2, 4.0, 4.1, 4.2, 5.0, 5.1 - Django Rest Framework 3.12, 3.13, 3.14, 3.15 For an exact list of tested version combinations, see the `valid_version_combinations` set in the [noxfile](https://github.com/kraken-tech/django-rest-framework-recursive/blob/master/noxfile.py) diff --git a/noxfile.py b/noxfile.py index fe5253e..49b4f9b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -44,6 +44,7 @@ def temp_lock_file() -> Generator[IO[str], None, None]: ("3.11", "django>=4.2,<4.3", "djangorestframework>=3.15,<3.16"), ("3.11", "django>=5.0,<5.1", "djangorestframework>=3.14,<3.15"), ("3.11", "django>=5.0,<5.1", "djangorestframework>=3.15,<3.16"), + ("3.11", "django>=5.1,<5.2", "djangorestframework>=3.15,<3.16"), ] From e165df0218ed0013bfb9c3977ca3f64b969063ce Mon Sep 17 00:00:00 2001 From: Nicholas Bunn Date: Mon, 23 Sep 2024 16:01:40 +0100 Subject: [PATCH 2/2] Add support for Python 3.12 --- README.md | 2 +- noxfile.py | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e91d61..d8c5976 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Further use cases are documented in the tests, see [**here**][tests] for more us This package supports: -- Python 3.10, 3.11 +- Python 3.10, 3.11, 3.12 - Django 3.2, 4.0, 4.1, 4.2, 5.0, 5.1 - Django Rest Framework 3.12, 3.13, 3.14, 3.15 diff --git a/noxfile.py b/noxfile.py index 49b4f9b..ecea008 100644 --- a/noxfile.py +++ b/noxfile.py @@ -45,6 +45,15 @@ def temp_lock_file() -> Generator[IO[str], None, None]: ("3.11", "django>=5.0,<5.1", "djangorestframework>=3.14,<3.15"), ("3.11", "django>=5.0,<5.1", "djangorestframework>=3.15,<3.16"), ("3.11", "django>=5.1,<5.2", "djangorestframework>=3.15,<3.16"), + # Python 3.12 + ("3.12", "django>=4.1,<4.2", "djangorestframework>=3.14,<3.15"), + ("3.12", "django>=4.1,<4.2", "djangorestframework>=3.15,<3.16"), + ("3.12", "django>=4.2,<4.3", "djangorestframework>=3.14,<3.15"), + ("3.12", "django>=4.2,<4.3", "djangorestframework>=3.15,<3.16"), + ("3.12", "django>=5.0,<5.1", "djangorestframework>=3.14,<3.15"), + ("3.12", "django>=5.0,<5.1", "djangorestframework>=3.15,<3.16"), + ("3.12", "django>=5.1,<5.2", "djangorestframework>=3.14,<3.15"), + ("3.12", "django>=5.1,<5.2", "djangorestframework>=3.15,<3.16"), ]