Skip to content

Commit a049373

Browse files
authored
Merge pull request #130 from python-hyper/requirements
Update requirements, cap Sphinx
2 parents d31fb08 + 2f493a8 commit a049373

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
url=__url__,
2828
packages=find_packages(where="src"),
2929
package_dir={"": "src"},
30-
package_data=dict(hyperlink=["py.typed",],),
30+
package_data=dict(hyperlink=["py.typed"]),
3131
zip_safe=False,
3232
license=__license__,
3333
platforms="any",
34-
install_requires=["idna>=2.5", 'typing ; python_version<"3.5"',],
34+
install_requires=["idna>=2.5", 'typing ; python_version<"3.5"'],
3535
python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
3636
classifiers=[
3737
"Topic :: Utilities",

tox.ini

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,22 @@ basepython =
4747
deps =
4848
{[default]deps}
4949

50-
# In Python 2, we need to pull in typing
51-
{py26,py27}: typing==3.7.4.1
50+
# In Python 2, we need to pull in typing, mock
51+
py{26,27,py2}: typing==3.7.4.1
52+
py{26,27,py2}: mock==3.0.5 # rq.filter: <4
5253

5354
# For pytest
54-
{py26,py27,py34}: pytest==4.6.9
55-
{py35,py36,py37,py38}: pytest==5.2.4
55+
py{26,27,34,py2}: pytest==4.6.11 # rq.filter: <5
56+
py{35,36,37,38,39,py3}: pytest==5.2.4
5657

5758
# For code coverage
5859
{[testenv:coverage_report]deps}
59-
pytest-cov==2.8.1
60+
py{26,27,34,py2}: pytest-cov==2.8.1 # rq.filter: <2.9
61+
py{35,36,37,38,39,py3}: pytest-cov==2.10.0
6062

6163
# For hypothesis. Note Python 3.4 isn't supported by hypothesis.
62-
py27: hypothesis==4.43.3 # rq.filter: <4.44
63-
{py35,py36,py37,py38,py39,py2,py3}: hypothesis==5.8.4
64-
py27: mock==3.0.5
64+
py{26,27,py2}: hypothesis==4.43.9 # rq.filter: <4.44
65+
py{35,36,37,38,39,py3}: hypothesis==5.8.6
6566

6667
setenv =
6768
{[default]setenv}
@@ -94,7 +95,7 @@ setenv =
9495
BLACK_LINT_ARGS=--check
9596

9697
commands =
97-
black {env:BLACK_LINT_ARGS:} setup.py src
98+
black {env:BLACK_LINT_ARGS:} {posargs:setup.py src}
9899

99100

100101
[testenv:black-reformat]
@@ -120,16 +121,16 @@ skip_install = True
120121

121122
deps =
122123
flake8-bugbear==20.1.4
123-
flake8==3.7.9
124+
flake8==3.8.3
124125
mccabe==0.6.1
125-
pep8-naming==0.10.0
126-
pycodestyle==2.5.0
126+
pep8-naming==0.11.1
127+
pycodestyle==2.6.0
127128
pydocstyle==5.0.2
128129
# pin pyflakes pending a release with https://github.com/PyCQA/pyflakes/pull/455
129130
git+git://github.com/PyCQA/pyflakes@ffe9386#egg=pyflakes
130131

131132
commands =
132-
flake8 {posargs:src/{env:PY_MODULE}}
133+
flake8 {posargs:setup.py src/{env:PY_MODULE}}
133134

134135

135136
[flake8]
@@ -183,7 +184,7 @@ description = run Mypy (static type checker)
183184
basepython = {[default]basepython}
184185

185186
deps =
186-
mypy==0.770
187+
mypy==0.782
187188

188189
{[default]deps}
189190

@@ -239,7 +240,7 @@ ignore_missing_imports = True
239240

240241
description = generate coverage report
241242

242-
depends = test-py{26,27,34,35,36,37,38,py,py3}
243+
depends = test-py{26,27,34,35,36,37,38,39,py2,py3}
243244

244245
basepython = {[default]basepython}
245246

@@ -275,7 +276,7 @@ skip_install = True
275276

276277
deps =
277278
{[testenv:coverage_report]deps}
278-
codecov==2.1.4
279+
codecov==2.1.7
279280

280281
passenv =
281282
# See https://github.com/codecov/codecov-python/blob/master/README.md#using-tox
@@ -318,7 +319,7 @@ basepython = {[default]basepython}
318319

319320
deps =
320321
Sphinx==2.4.4
321-
sphinx-rtd-theme==0.4.3
322+
sphinx-rtd-theme==0.5.0
322323

323324
commands =
324325
sphinx-build \
@@ -358,8 +359,8 @@ basepython = {[default]basepython}
358359
skip_install = True
359360

360361
deps =
361-
check-manifest==0.41
362-
readme-renderer==25.0
362+
check-manifest==0.42
363+
readme-renderer==26.0
363364
twine==3.1.1
364365

365366
commands =

0 commit comments

Comments
 (0)