From 58e0a698e3b02ee586b36a4c166ad3fddcf4b9ab Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 22 Sep 2022 12:31:43 +0100 Subject: [PATCH] Update setup.py to drop Django 2.2 and update release notes (#8666) --- docs/community/3.14-announcement.md | 2 +- docs/community/release-notes.md | 4 +++- setup.py | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/community/3.14-announcement.md b/docs/community/3.14-announcement.md index 8b7ee9f14..0543d0d6d 100644 --- a/docs/community/3.14-announcement.md +++ b/docs/community/3.14-announcement.md @@ -21,7 +21,7 @@ ## Django 4.1 support -The latest release now fully supports Django 4.1. +The latest release now fully supports Django 4.1, and drops support for Django 2.2. Our requirements are now: diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 485810265..887cae3b4 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -40,8 +40,10 @@ You can determine your currently installed version using `pip show`: Date: 22nd September 2022 +* Django 2.2 is no longer supported. [[#8662](https://github.com/encode/django-rest-framework/pull/8662)] +* Django 4.1 compatibility. [[#8591](https://github.com/encode/django-rest-framework/pull/8591)] +* Add `--api-version` CLI option to `generateschema` management command. [[#8663](https://github.com/encode/django-rest-framework/pull/8663)] * Enforce `is_valid(raise_exception=False)` as a keyword-only argument. [[#7952](https://github.com/encode/django-rest-framework/pull/7952)] -* Django 4.1 compatability. [[#8591](https://github.com/encode/django-rest-framework/pull/8591)] * Stop calling `set_context` on Validators. [[#8589](https://github.com/encode/django-rest-framework/pull/8589)] * Return `NotImplemented` from `ErrorDetails.__ne__`. [[#8538](https://github.com/encode/django-rest-framework/pull/8538)] * Don't evaluate `DateTimeField.default_timezone` when a custom timezone is set. [[#8531](https://github.com/encode/django-rest-framework/pull/8531)] diff --git a/setup.py b/setup.py index cb6708c6e..181740165 100755 --- a/setup.py +++ b/setup.py @@ -82,14 +82,13 @@ setup( author_email='tom@tomchristie.com', # SEE NOTE BELOW (*) packages=find_packages(exclude=['tests*']), include_package_data=True, - install_requires=["django>=2.2", "pytz"], + install_requires=["django>=3.0", "pytz"], python_requires=">=3.6", zip_safe=False, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', - 'Framework :: Django :: 2.2', 'Framework :: Django :: 3.0', 'Framework :: Django :: 3.1', 'Framework :: Django :: 3.2',