Skip to content

Commit 9b7859d

Browse files
committed
tox: fix docs target
I had to add atomicwrites to deps to fix: Warning, treated as error: autodoc: failed to import class 'Mark' from module '_pytest.mark.structures'; the following exception was raised: No module named 'atomicwrites' ERROR: InvocationError for command '/home/user/Vcs/pytest/.tox/docs/bin/sphinx-build -W -b html . _build' (exited with code 2) I do not know why this is not failing on Travis, where atomicwrites gets installed for some reason [1]. Removing `usedevelop = True` also fixes it, apparently since then `install_requires` from `setup.py` gets used. 1: https://travis-ci.org/pytest-dev/pytest/jobs/388958175#L470
1 parent 1815765 commit 9b7859d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tox.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,8 @@ deps = {[testenv:py27-pluggymaster]deps}
111111

112112
[testenv:docs]
113113
skipsdist = True
114-
usedevelop = True
115114
changedir = doc/en
116115
deps =
117-
attrs
118-
more-itertools
119116
PyYAML
120117
sphinx
121118
sphinxcontrib-trio

0 commit comments

Comments
 (0)