Skip to content

Commit

Permalink
Merge b5d5f1e into 7608751
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Jun 16, 2021
2 parents 7608751 + b5d5f1e commit 5988209
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 3 additions & 1 deletion setup.py
Expand Up @@ -129,7 +129,9 @@ def _read_file(filename):
],
'testing': (),
'docs': [
'Sphinx',
# Until repoze.sphinx.autointerface supports Sphinx 4.x we cannot use it:
# https://github.com/repoze/repoze.sphinx.autointerface/issues/16
'Sphinx < 4',
'repoze.sphinx.autointerface',
],
},
Expand Down
9 changes: 4 additions & 5 deletions tox.ini
Expand Up @@ -3,8 +3,8 @@ envlist =
py27,py35,py36,py37,py37-pure,py38,py39,py27-pure,pypy,pypy3,coverage,docs

[testenv]
deps =
.[test]
extras =
test
commands =
zope-testrunner --test-path=. []

Expand All @@ -30,7 +30,6 @@ commands =
python -c 'import os, subprocess; subprocess.check_call("coverage run -a -m zope.testrunner --test-path=.", env=dict(os.environ, PURE_PYTHON="0"), shell=True)'
coverage report --fail-under=100
deps =
{[testenv]deps}
coverage

[testenv:docs]
Expand All @@ -39,5 +38,5 @@ basepython =
commands =
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
deps =
.[docs]
extras =
docs

0 comments on commit 5988209

Please sign in to comment.