mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 09:36:44 +03:00
Update dependencies
This commit is contained in:
parent
98e10f0db8
commit
796880fc5c
31
setup.py
31
setup.py
|
@ -45,21 +45,20 @@ class PyTest(TestCommand):
|
||||||
|
|
||||||
|
|
||||||
tests_require = [
|
tests_require = [
|
||||||
"pytest",
|
"pytest>=5.3,<6",
|
||||||
"pytest-benchmark",
|
"pytest-benchmark>=3.2,<4",
|
||||||
"pytest-cov",
|
"pytest-cov>=2.8,<3",
|
||||||
"pytest-mock",
|
"pytest-mock>=2,<3",
|
||||||
"pytest-asyncio",
|
"pytest-asyncio>=0.10,<2",
|
||||||
"snapshottest",
|
"snapshottest>=0.5,<1",
|
||||||
"coveralls",
|
"coveralls>=1.11,<2",
|
||||||
"promise",
|
"promise>=2.3,<3",
|
||||||
"six",
|
"mock>=4.0,<5",
|
||||||
"mock",
|
"pytz==2019.3",
|
||||||
"pytz",
|
"iso8601>=0.1,<2",
|
||||||
"iso8601",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
dev_requires = ["black==19.3b0", "flake8==3.7.7"] + tests_require
|
dev_requires = ["black==19.10b0", "flake8>=3.7,<4"] + tests_require
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="graphene",
|
name="graphene",
|
||||||
|
@ -83,9 +82,9 @@ setup(
|
||||||
keywords="api graphql protocol rest relay graphene",
|
keywords="api graphql protocol rest relay graphene",
|
||||||
packages=find_packages(exclude=["tests", "tests.*", "examples"]),
|
packages=find_packages(exclude=["tests", "tests.*", "examples"]),
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"graphql-core>=3.0.3,<4",
|
"graphql-core>=3.0.3,<3.1",
|
||||||
"graphql-relay>=3.0.0,<4",
|
"graphql-relay>=3.0,<4",
|
||||||
"aniso8601>=6,<9",
|
"aniso8601>=8,<9",
|
||||||
"unidecode>=1.1.1,<2",
|
"unidecode>=1.1.1,<2",
|
||||||
],
|
],
|
||||||
tests_require=tests_require,
|
tests_require=tests_require,
|
||||||
|
|
10
tox.ini
10
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = flake8,py36,py37,pre-commit,mypy
|
envlist = flake8,py36,py37,py38,pre-commit,mypy
|
||||||
skipsdist = true
|
skipsdist = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -8,12 +8,12 @@ deps =
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONPATH = .:{envdir}
|
PYTHONPATH = .:{envdir}
|
||||||
commands =
|
commands =
|
||||||
py{36,37}: py.test --cov=graphene graphene examples tests_asyncio {posargs}
|
py{36,37}: pytest --cov=graphene graphene examples tests_asyncio {posargs}
|
||||||
|
|
||||||
[testenv:pre-commit]
|
[testenv:pre-commit]
|
||||||
basepython=python3.7
|
basepython=python3.7
|
||||||
deps =
|
deps =
|
||||||
pre-commit>0.12.0
|
pre-commit>=2,<3
|
||||||
setenv =
|
setenv =
|
||||||
LC_CTYPE=en_US.UTF-8
|
LC_CTYPE=en_US.UTF-8
|
||||||
commands =
|
commands =
|
||||||
|
@ -22,12 +22,12 @@ commands =
|
||||||
[testenv:mypy]
|
[testenv:mypy]
|
||||||
basepython=python3.7
|
basepython=python3.7
|
||||||
deps =
|
deps =
|
||||||
mypy>=0.720
|
mypy>=0.761,<1
|
||||||
commands =
|
commands =
|
||||||
mypy graphene
|
mypy graphene
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
basepython=python3.6
|
basepython=python3.7
|
||||||
deps =
|
deps =
|
||||||
flake8>=3.7,<4
|
flake8>=3.7,<4
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user