Skip to content

Commit 796880f

Browse files
committed
Update dependencies
1 parent 98e10f0 commit 796880f

File tree

2 files changed

+20
-21
lines changed

2 files changed

+20
-21
lines changed

setup.py

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,20 @@ def run_tests(self):
4545

4646

4747
tests_require = [
48-
"pytest",
49-
"pytest-benchmark",
50-
"pytest-cov",
51-
"pytest-mock",
52-
"pytest-asyncio",
53-
"snapshottest",
54-
"coveralls",
55-
"promise",
56-
"six",
57-
"mock",
58-
"pytz",
59-
"iso8601",
48+
"pytest>=5.3,<6",
49+
"pytest-benchmark>=3.2,<4",
50+
"pytest-cov>=2.8,<3",
51+
"pytest-mock>=2,<3",
52+
"pytest-asyncio>=0.10,<2",
53+
"snapshottest>=0.5,<1",
54+
"coveralls>=1.11,<2",
55+
"promise>=2.3,<3",
56+
"mock>=4.0,<5",
57+
"pytz==2019.3",
58+
"iso8601>=0.1,<2",
6059
]
6160

62-
dev_requires = ["black==19.3b0", "flake8==3.7.7"] + tests_require
61+
dev_requires = ["black==19.10b0", "flake8>=3.7,<4"] + tests_require
6362

6463
setup(
6564
name="graphene",
@@ -83,9 +82,9 @@ def run_tests(self):
8382
keywords="api graphql protocol rest relay graphene",
8483
packages=find_packages(exclude=["tests", "tests.*", "examples"]),
8584
install_requires=[
86-
"graphql-core>=3.0.3,<4",
87-
"graphql-relay>=3.0.0,<4",
88-
"aniso8601>=6,<9",
85+
"graphql-core>=3.0.3,<3.1",
86+
"graphql-relay>=3.0,<4",
87+
"aniso8601>=8,<9",
8988
"unidecode>=1.1.1,<2",
9089
],
9190
tests_require=tests_require,

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = flake8,py36,py37,pre-commit,mypy
2+
envlist = flake8,py36,py37,py38,pre-commit,mypy
33
skipsdist = true
44

55
[testenv]
@@ -8,12 +8,12 @@ deps =
88
setenv =
99
PYTHONPATH = .:{envdir}
1010
commands =
11-
py{36,37}: py.test --cov=graphene graphene examples tests_asyncio {posargs}
11+
py{36,37}: pytest --cov=graphene graphene examples tests_asyncio {posargs}
1212

1313
[testenv:pre-commit]
1414
basepython=python3.7
1515
deps =
16-
pre-commit>0.12.0
16+
pre-commit>=2,<3
1717
setenv =
1818
LC_CTYPE=en_US.UTF-8
1919
commands =
@@ -22,12 +22,12 @@ commands =
2222
[testenv:mypy]
2323
basepython=python3.7
2424
deps =
25-
mypy>=0.720
25+
mypy>=0.761,<1
2626
commands =
2727
mypy graphene
2828

2929
[testenv:flake8]
30-
basepython=python3.6
30+
basepython=python3.7
3131
deps =
3232
flake8>=3.7,<4
3333
commands =

0 commit comments

Comments
 (0)