Skip to content

Commit

Permalink
Temporarily update setup.py/tox.ini to allow testing
Browse files Browse the repository at this point in the history
to manually run the test: `tox -e python3.8-django4.0-wagtailsync-sqlite wagtail_localize.tests.test_synctree.TestConstructSyncedPageTreeListHook`
  • Loading branch information
zerolab committed Apr 5, 2022
1 parent 0f47e29 commit f474a4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f474a4e

Please sign in to comment.