From 7fd2878ade557a1ae672c9b930a3c3733aeb9d33 Mon Sep 17 00:00:00 2001 From: Roman Gorbil Date: Mon, 10 Aug 2020 16:40:41 +0700 Subject: [PATCH] Remove Django from dependencies, update tox matrix This resolves #131, so Django now added as transitive dependency of `django-reversion`. Also add Django==3.1 to test matrix --- pyproject.toml | 6 ++---- tox.ini | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ac8063e..de6d4dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,8 @@ classifiers = [ "Programming Language :: Python :: Implementation :: PyPy", "Framework :: Django", "Framework :: Django :: 2.2", + "Framework :: Django :: 3.0", + "Framework :: Django :: 3.1", "Operating System :: OS Independent", "Topic :: Database :: Front-Ends", "Topic :: Documentation", @@ -38,10 +40,6 @@ packages = [ [tool.poetry.dependencies] python = "^3.6" -# -# https://www.djangoproject.com/download/#supported-versions -# v2.2 LTS - extended support until April 2022 -django = ">=2.2, <3.1" django-reversion = "*" diff-match-patch = "*" diff --git a/tox.ini b/tox.ini index 8e0681e..8cf61e9 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] isolated_build = True -envlist = {py38,py37,py36,pypy3}-django{22,30} +envlist = {py38,py37,py36,pypy3}-django{22,30,31} skip_missing_interpreters = True [gh-actions] @@ -15,6 +15,7 @@ python = deps = django22: Django>=2.2,<2.3 django30: Django>=3.0,<3.1 + django31: Django>=3.1,<3.2 whitelist_externals = make commands =