Skip to content

Commit f474a4e

Browse files
committed
Temporarily update setup.py/tox.ini to allow testing
to manually run the test: `tox -e python3.8-django4.0-wagtailsync-sqlite wagtail_localize.tests.test_synctree.TestConstructSyncedPageTreeListHook`
1 parent 0f47e29 commit f474a4e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"Framework :: Wagtail",
4444
"Framework :: Wagtail :: 2",
4545
],
46-
install_requires=["Django>=2.2,<4.1", "Wagtail>=2.11,<2.17", "polib>=1.1,<2.0"],
46+
install_requires=["Django>=2.2,<4.1", "Wagtail>=2.11,<3.1", "polib>=1.1,<2.0"],
4747
extras_require={
4848
"testing": ["dj-database-url==0.5.0", "freezegun==1.1.0"],
4949
"documentation": [

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ usedevelop = True
55
envlist =
66
python{3.7,3.8,3.9}-django{2.2}-wagtail{2.11,2.12,2.13}-{sqlite,postgres}
77
python{3.7,3.8,3.9}-django{3.2}-wagtail{2.14,2.15,2.16}-{sqlite,postgres}
8-
python{3.7,3.8,3.9,3.10}-django{4.0}-wagtail{2.16,main}-{sqlite,postgres}
8+
python{3.7,3.8,3.9,3.10}-django{4.0}-wagtail{2.16,main,sync}-{sqlite,postgres}
99
python{3.10}-django{3.2,main}-wagtail{2.15,2.16,main}-{sqlite,postgres}
1010

1111
[flake8]
@@ -16,7 +16,7 @@ exclude = migrations,node_modules
1616

1717
[testenv]
1818
install_command = pip install -e ".[testing]" -U {opts} {packages}
19-
commands = coverage run testmanage.py test --deprecation all {posargs: -v 2}
19+
commands = coverage run testmanage.py test {posargs: -v 2}
2020

2121
basepython =
2222
python3.7: python3.7
@@ -39,6 +39,7 @@ deps =
3939
wagtail2.15: wagtail>=2.15,<2.16
4040
wagtail2.16: wagtail>=2.16,<2.17
4141
wagtailmain: git+https://github.com/wagtail/wagtail.git
42+
wagtailsync: git+https://github.com/wagtail/wagtail.git@feature/sync-tree-unpublish-cascade#egg=wagtail
4243

4344
# Pinned to work around UTC connection error
4445
# https://stackoverflow.com/questions/68024060/assertionerror-database-connection-isnt-set-to-utc

0 commit comments

Comments
 (0)