Skip to content

Commit

Permalink
TODO: upgrade test deps
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanYoung committed May 23, 2022
1 parent 3533770 commit 34b7fb8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[tool:pytest]
addopts = -vs --tb=short --pep8 --flakes --ignore docs/conf.py
addopts = -vs --tb=short --pycodestyle --flakes --ignore docs/conf.py

DJANGO_SETTINGS_MODULE = csp.tests.settings
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@ def read(*parts):
]

test_requires = [
'pytest<4.0',
'pytest<8.0',
'pytest-cov',
'pytest-django',
'pytest-flakes==1.0.1',
'pytest-pep8==1.0.6',
'pep8==1.4.6',
'pytest-flakes==4.0.5',
'pytest-pycodestyle==2.2.1',
'pycodestyle==2.8.0',
'mock==1.0.1',
'six==1.12.0',
]

test_requires += jinja2_requires
Expand Down
11 changes: 8 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[tox]
envlist =
{3.6,3.7,3.8,3.9,pypy3}-main
{3.6,3.7,3.8,3.9,pypy3}-3.0.x
{3.6,3,7,3.8,3.9,pypy3}-2.2.x
# {pypy3.9}-4.1.x
{3.8,3.9,pypy3.9}-main
{3.8,3.9,pypy3.9}-4.0.x
{3.6,3.7,3.8,3.9,pypy3}-3.2.x
{3.6,3.7,3.8,3.9,pypy3}-2.2.x

[testenv]
setenv =
Expand All @@ -18,8 +20,11 @@ basepython =
3.8: python3.8
3.9: python3.9
pypy3: pypy3
pypy3.9: pypy3.9
deps=
pytest
2.2.x: Django>=2.2,<2.3
3.2.x: Django>=3.2,<3.3
4.0.x: Django>=4.0,<4.1
main: https://github.com/django/django/archive/main.tar.gz
4.1.x: https://github.com/django/django/archive/1d071ec1aa8fa414bb96b41f7be8a1bd01079815.tar.gz

0 comments on commit 34b7fb8

Please sign in to comment.