Skip to content

Commit

Permalink
Merge pull request #134 from Saritasa/remove-direct-django-dependency
Browse files Browse the repository at this point in the history
Allow use Django>=3.1
  • Loading branch information
jedie authored Dec 11, 2020
2 parents 47b9e9e + 7fd2878 commit 3a171a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 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
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ addopts =
--doctest-modules

# We used logging config in django, so: disable printing caught logs on failed tests.
--no-print-logs
--show-capture=no

# run the last failures first:
--failed-first
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 3a171a8

Please sign in to comment.