From fa3f5b31fe11377982c1063710c2a3a43dfae357 Mon Sep 17 00:00:00 2001 From: Stuart Leitch Date: Mon, 25 Jan 2021 11:03:11 +0000 Subject: [PATCH 1/3] Add Django 3.1, Python 3.8, and 3.9 support --- setup.py | 6 ++++-- tox.ini | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index f16eae4..7403dc0 100755 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ install_requires = ( - 'Django>=1.11,<3.1', + 'Django>=1.11,<3.2', 'richenum', 'six', ) @@ -87,7 +87,7 @@ def run_tests(self): setup( name='django-richenum', - version='3.8.0', + version='3.9.0', description='Django Enum library for python.', long_description=( open('README.rst').read() + '\n\n' + @@ -106,6 +106,8 @@ def run_tests(self): 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: Implementation :: CPython', ], keywords='python django enum richenum', diff --git a/tox.ini b/tox.ini index b09f64d..c5ece49 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = {py27,py35}-django{111}-{sqlite,mysql,postgres}, {py35,py36,py37}-django{210,220}-{sqlite,mysql,postgres},lint - {py36,py37}-django{300}-{sqlite,mysql,postgres},lint + {py36,py37,py39}-django{300,310}-{sqlite,mysql,postgres},lint [gh-actions] python = @@ -9,6 +9,8 @@ python = 3.5: py35 3.6: py36 3.7: py37 + 3.8: py38 + 3.9: py39 [testenv] deps = @@ -16,6 +18,7 @@ deps = django210: Django>=2.1,<2.2 django220: Django>=2.2,<2.3 django300: Django>=2.3,<3.1 + django310: Django>=2.3,<3.2 pytest pytest-django mysqlclient From 9ed897c7b715f41a9bdc2b1535588a0335b29d92 Mon Sep 17 00:00:00 2001 From: Stuart Leitch Date: Mon, 25 Jan 2021 11:10:59 +0000 Subject: [PATCH 2/3] Update tox --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index c5ece49..29397c6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = {py27,py35}-django{111}-{sqlite,mysql,postgres}, - {py35,py36,py37}-django{210,220}-{sqlite,mysql,postgres},lint - {py36,py37,py39}-django{300,310}-{sqlite,mysql,postgres},lint + {py35,py36,py37,py38,py39}-django{210,220}-{sqlite,mysql,postgres},lint + {py36,py37,py38,py39}-django{300,310}-{sqlite,mysql,postgres},lint [gh-actions] python = From d2e2e0fb959689c2a8b734d860957d88c78e3918 Mon Sep 17 00:00:00 2001 From: Stuart Leitch Date: Mon, 25 Jan 2021 11:22:14 +0000 Subject: [PATCH 3/3] Update tox deps again --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 29397c6..a1dc912 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ deps = django210: Django>=2.1,<2.2 django220: Django>=2.2,<2.3 django300: Django>=2.3,<3.1 - django310: Django>=2.3,<3.2 + django310: Django>=3.1,<3.2 pytest pytest-django mysqlclient