Skip to content

Commit

Permalink
Update django support (#393)
Browse files Browse the repository at this point in the history
* Drop Django 3.0 support.

* Add Django 3.2 support.

* Add Django supported version badge to doc.

* Update tox.ini

Co-authored-by: Jannis Leidel <jannis@leidel.info>
  • Loading branch information
hramezani and jezdez committed May 16, 2021
1 parent 9b4f06a commit 349870a
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
max-parallel: 5
matrix:
python-version: ['3.7', '3.8', '3.9']
django-version: ['2.2', '3.0', '3.1', '3.2', 'main']
django-version: ['2.2', '3.1', '3.2', 'main']
drf-version: ['3.10', '3.11', '3.12']
exclude:
- python-version: '3.7'
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
## Version 4.7.0
## Unreleased

* Drop Django 3.0 support
* Add Django 3.2 support

## Version 4.7

* Added support for Django 3.2 ([#404](https://github.com/jazzband/django-rest-framework-simplejwt/pull/404))
* Added Italian translations ([#342](https://github.com/jazzband/django-rest-framework-simplejwt/pull/342))
Expand Down
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Simple JWT
:target: https://pypi.python.org/pypi/djangorestframework-simplejwt
.. image:: https://img.shields.io/pypi/pyversions/djangorestframework-simplejwt.svg
:target: https://pypi.python.org/pypi/djangorestframework-simplejwt
.. image:: https://img.shields.io/pypi/djversions/djangorestframework-simplejwt.svg
:target: https://pypi.python.org/pypi/djangorestframework-simplejwt
.. image:: https://readthedocs.org/projects/django-rest-framework-simplejwt/badge/?version=latest
:target: https://django-rest-framework-simplejwt.readthedocs.io/en/latest/

Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Requirements
------------

* Python (3.7, 3.8, 3.9)
* Django (2.2, 3.0, 3.1)
* Django (2.2, 3.1, 3.2)
* Django REST Framework (3.10, 3.11, 3.12)

These are the officially supported python and package versions. Other versions
Expand Down
2 changes: 2 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Simple JWT
:target: https://pypi.python.org/pypi/djangorestframework-simplejwt
.. image:: https://img.shields.io/pypi/pyversions/djangorestframework-simplejwt.svg
:target: https://pypi.python.org/pypi/djangorestframework-simplejwt
.. image:: https://img.shields.io/pypi/djversions/djangorestframework-simplejwt.svg
:target: https://pypi.python.org/pypi/djangorestframework-simplejwt

A JSON Web Token authentication plugin for the `Django REST Framework
<http://www.django-rest-framework.org/>`__.
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist=
py{37,38,39}-dj{22,30}-drf310-tests
py{37,38,39}-dj{22,30,31,32}-drf{311,312}-tests
py{37,38,39}-dj22-drf310-tests
py{37,38,39}-dj{22,31,32}-drf{311,312}-tests
py39-djmain-drf312-tests
docs
lint
Expand Down Expand Up @@ -34,7 +34,6 @@ setenv=
PYTHONDONTWRITEBYTECODE=1
deps=
dj22: Django>=2.2,<2.3
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django>=3.2,<3.3
drf310: djangorestframework>=3.10,<3.11
Expand Down

0 comments on commit 349870a

Please sign in to comment.