From 57539730954aa8bb32547806fefb6ebbbac28e62 Mon Sep 17 00:00:00 2001 From: Chris Muthig Date: Sat, 11 May 2024 15:37:15 -0600 Subject: [PATCH] Add explicit support for Django 4.2 (#50) --- noxfile.py | 4 ++-- pyproject.toml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/noxfile.py b/noxfile.py index b324720..467ad30 100644 --- a/noxfile.py +++ b/noxfile.py @@ -7,8 +7,8 @@ [ (python, django) for python in ("3.7", "3.8", "3.9", "3.10", "3.11") - for django in ("3.2", "4.0", "4.1") - if (python, django) not in [("3.7", "4.0"), ("3.7", "4.1")] + for django in ("3.2", "4.0", "4.1", "4.2") + if (python, django) not in [("3.7", "4.0"), ("3.7", "4.1"), ("3.7", "4.2")] ], ) def tests(session, django): diff --git a/pyproject.toml b/pyproject.toml index 8bda83b..279eb34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,13 +12,14 @@ classifiers = [ "Framework :: Django :: 3.2", "Framework :: Django :: 4.0", "Framework :: Django :: 4.1", + "Framework :: Django :: 4.2", ] [tool.poetry.dependencies] python = ">= 3.7, < 3.12" django = [ {version = "~3.2", python = "3.7"}, - {version = ">= 3.2, < 4.2", python = ">= 3.8"}, + {version = ">= 3.2, < 5.0", python = ">= 3.8"}, ] djangorestframework = { version = "^3.11", optional = true }