From 4ee535f19bd0c922cacdb8b632d73c2ff0f3fb8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Fernanda=20Magallanes?= <35668326+MaferMazu@users.noreply.github.com> Date: Tue, 14 Sep 2021 15:33:15 -0400 Subject: [PATCH] feat: add support for django 3.2 (#102) --- .github/workflows/test.yml | 3 ++- .travis.yml | 3 +++ CHANGELOG.rst | 4 ++++ docs/requirements.txt | 2 +- setup.py | 1 + tests/requirements/django-3.2.txt | 3 +++ tox.ini | 3 ++- 7 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 tests/requirements/django-3.2.txt diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6a4dd1f..8eca040 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,8 @@ jobs: requirements-file: [ django-2.2.txt, django-3.0.txt, - django-3.1.txt + django-3.1.txt, + django-3.2.txt ] os: [ ubuntu-20.04, diff --git a/.travis.yml b/.travis.yml index ff611ae..00c579f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,9 @@ matrix: # Django 3.1, always run the lowest supported version - python: 3.6 env: DJANGO='dj31' + # Django 3.2, always run the lowest supported version + - python: 3.6 + env: DJANGO='dj32' install: - pip install coverage isort tox diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f31c53b..fdf5d37 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,10 @@ Changelog ========= +2.1.0 (2021-08-17) +================== + +* Added support for Django 3.2 2.0.0 (2020-08-26) ================== diff --git a/docs/requirements.txt b/docs/requirements.txt index e95f32a..6a527e3 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ -django<3.2 +django<3.3 MarkupSafe Pygments restructuredtext_lint diff --git a/setup.py b/setup.py index c683f38..60a5e8b 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ 'Framework :: Django :: 2.2', 'Framework :: Django :: 3.0', 'Framework :: Django :: 3.1', + 'Framework :: Django :: 3.2', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development', diff --git a/tests/requirements/django-3.2.txt b/tests/requirements/django-3.2.txt new file mode 100644 index 0000000..7528ce3 --- /dev/null +++ b/tests/requirements/django-3.2.txt @@ -0,0 +1,3 @@ +-r base.txt + +django>=3.2,<3.3 diff --git a/tox.ini b/tox.ini index 8e7b92a..8ad097c 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ envlist = flake8 isort py{35,36,37,38}-dj{22} - py{36,37,38}-dj{30,31} + py{36,37,38}-dj{30,31,32} skip_missing_interpreters=True @@ -41,6 +41,7 @@ deps = dj22: Django>=2.2,<3.0 dj30: Django>=3.0,<3.1 dj31: Django>=3.1,<3.2 + dj32: Django>=3.2,<3.3 commands = {envpython} --version {env:COMMAND:coverage} erase