New issue 278: InvocationError: could not find executable https://bitbucket.org/hpk42/tox/issues/278/invocationerror-could-not-find-executable
Seán Hayes: When I run "tox -e py34-docs" using the following config everything works: [testenv:py27-docs] basepython = python2.7 sitepackages = True deps = Sphinx changedir = docs commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html sphinx-build -W -b doctest -d {envtmpdir}/doctrees . {envtmpdir}/html [testenv:py34-docs] basepython = python3.4 sitepackages = {[testenv:py27-docs]sitepackages} deps = {[testenv:py27-docs]deps} changedir = {[testenv:py27-docs]changedir} commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html sphinx-build -W -b doctest -d {envtmpdir}/doctrees . {envtmpdir}/html But this fails: [testenv:py34-docs] basepython = python3.4 sitepackages = {[testenv:py27-docs]sitepackages} deps = {[testenv:py27-docs]deps} changedir = {[testenv:py27-docs]changedir} commands = {[testenv:py27-docs]commands} $ tox -e py34-docs GLOB sdist-make: /home/sean/dev/django-tastypie/setup.py py34-docs inst-nodeps: /home/sean/dev/django-tastypie/.tox/dist/django-tastypie-0.12.2-dev.zip py34-docs runtests: PYTHONHASHSEED='3354290727' py34-docs runtests: commands[0] | sphinx-build -W -b html -d /home/sean/dev/django-tastypie/.tox/py34-docs/tmp/doctrees . /home/sean/dev/django-tastypie/.tox/py34-docs/tmp/html sphinx-build -W -b doctest -d /home/sean/dev/django-tastypie/.tox/py34-docs/tmp/doctrees . /home/sean/dev/django-tastypie/.tox/py34-docs/tmp/html ERROR: InvocationError: could not find executable 'sphinx-build -W -b html -d /home/sean/dev/django-tastypie/.tox/py34-docs/tmp/doctrees . /home/sean/dev/django-tastypie/.tox/py34-docs/tmp/html\nsphinx-build -W -b doctest -d /home/sean/dev/django-tastypie/.tox/py34-docs/tmp/doctrees . /home/sean/dev/django-tastypie/.tox/py34-docs/tmp/html' ______________________________________________________ summary _______________________________________________________ ERROR: py34-docs: commands failed _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit