Skip to content

Commit

Permalink
Remove Django from dependencies, update tox matrix
Browse files Browse the repository at this point in the history
This resolves #131, so Django now added as transitive dependency
of `django-reversion`.

Also add Django==3.1 to test matrix
  • Loading branch information
ron8mcr committed Aug 10, 2020
1 parent c60d20f commit 7fd2878
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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 = "*"

Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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 =
Expand Down

0 comments on commit 7fd2878

Please sign in to comment.