From a7d06b93a5ad87c3222be8b4380c83af8d4bb3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Barrois?= Date: Sun, 18 Aug 2024 19:11:54 +0200 Subject: [PATCH] Target Django 5.x tests at version 5.1 --- docs/changelog.rst | 2 +- setup.cfg | 2 +- tox.ini | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 0b8e4dd6..9df2a88e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -8,7 +8,7 @@ ChangeLog *New:* - Add support for Django 4.2 -- Add support for Django 5.0 +- Add support for Django 5.1 - Add support for Python 3.12 - :issue:`903`: Add basic typing annotations - Run the test suite against ``mongomock`` instead of an actual MongoDB server diff --git a/setup.cfg b/setup.cfg index dd1c00e9..ccbfe6fb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,7 +16,7 @@ classifiers = Development Status :: 5 - Production/Stable Framework :: Django Framework :: Django :: 4.2 - Framework :: Django :: 5.0 + Framework :: Django :: 5.1 Intended Audience :: Developers License :: OSI Approved :: MIT License Operating System :: OS Independent diff --git a/tox.ini b/tox.ini index 95b88d47..2bca8a08 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,8 @@ envlist = py{38,39,310,311,312,py39,py310} py{38,39,310,311,312}-django42-mongo-alchemy py{py39,py310}-django42-mongo-alchemy - py{310,311,312}-django50-mongo-alchemy + py{310,311,312}-django51-mongo-alchemy + pypy310-django51-mongo-alchemy py310-djangomain-mongo-alchemy [gh-actions] @@ -29,9 +30,9 @@ deps = mongo: mongomock # mongomock imports pkg_resources, provided by setuptools. mongo: setuptools>=66.1.1 - django{42,50,main}: Pillow + django{42,51,main}: Pillow django42: Django>=4.2,<5.0 - django50: Django>=5.0,<5.1 + django51: Django>=5.1,<5.2 djangomain: https://github.com/django/django/archive/main.tar.gz setenv =