[Pytest-commit] Issue #215: retry installation steps (hpk42/tox)

glyph issues-reply at bitbucket.org
Sun Feb 15 09:56:41 CET 2015


New issue 215: retry installation steps
https://bitbucket.org/hpk42/tox/issue/215/retry-installation-steps

glyph:

On various test infrastructures (Travis-CI in particular) PyPI is frequently unavailable.

When this is so, I would like tox to re-try the `pip install` step but not the actual testing step. If actual tests fail, I would like to see a failure. If installation fails, I would like to just re-attempt installation… for intermittent failures, I'd like to do this basically forever, for "hard" failures where packages appear to have been removed from the index, for example, reporting a failure might be fine.

There doesn't seem to be a way to do this, and I can't work around it because there also doesn't seem to be a way to tell tox to *just* create its virtual environments. Perhaps I just haven't found the relevant documentation yet though.




More information about the pytest-commit mailing list