diff --git a/setup.py b/setup.py index 02466317..2884e591 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ "Framework :: Wagtail", "Framework :: Wagtail :: 2", ], - install_requires=["Django>=2.2,<4.1", "Wagtail>=2.11,<2.17", "polib>=1.1,<2.0"], + install_requires=["Django>=2.2,<4.1", "Wagtail>=2.11,<3.1", "polib>=1.1,<2.0"], extras_require={ "testing": ["dj-database-url==0.5.0", "freezegun==1.1.0"], "documentation": [ diff --git a/tox.ini b/tox.ini index c74704fe..d5678392 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ usedevelop = True envlist = python{3.7,3.8,3.9}-django{2.2}-wagtail{2.11,2.12,2.13}-{sqlite,postgres} python{3.7,3.8,3.9}-django{3.2}-wagtail{2.14,2.15,2.16}-{sqlite,postgres} - python{3.7,3.8,3.9,3.10}-django{4.0}-wagtail{2.16,main}-{sqlite,postgres} + python{3.7,3.8,3.9,3.10}-django{4.0}-wagtail{2.16,main,sync}-{sqlite,postgres} python{3.10}-django{3.2,main}-wagtail{2.15,2.16,main}-{sqlite,postgres} [flake8] @@ -16,7 +16,7 @@ exclude = migrations,node_modules [testenv] install_command = pip install -e ".[testing]" -U {opts} {packages} -commands = coverage run testmanage.py test --deprecation all {posargs: -v 2} +commands = coverage run testmanage.py test {posargs: -v 2} basepython = python3.7: python3.7 @@ -39,6 +39,7 @@ deps = wagtail2.15: wagtail>=2.15,<2.16 wagtail2.16: wagtail>=2.16,<2.17 wagtailmain: git+https://github.com/wagtail/wagtail.git + wagtailsync: git+https://github.com/wagtail/wagtail.git@feature/sync-tree-unpublish-cascade#egg=wagtail # Pinned to work around UTC connection error # https://stackoverflow.com/questions/68024060/assertionerror-database-connection-isnt-set-to-utc