Skip to content

Commit

Permalink
Update setup.py to drop Django 2.2 and update release notes (#8666)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie authored Sep 22, 2022
1 parent 11bfda9 commit 58e0a69
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/community/3.14-announcement.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 3 additions & 1 deletion docs/community/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,13 @@ def get_version(package):
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',
Expand Down

0 comments on commit 58e0a69

Please sign in to comment.