[TIP] Why does tox use "pip install --pre" by default?

Ned Batchelder ned at nedbatchelder.com
Sat Sep 27 10:46:39 PDT 2014


I tried to release an alpha version of coverage.py 4.0 today, and 
immediately got complaints about Travis builds failing.  It turns out 
that tox's default install_command is "pip install --pre {opts} 
{packages}".  Why the --pre ?  Do most people want to use beta versions 
of dependencies in their tests?

Of course, there's a slew of things that had to go wrong for the 
failures, notably that coveralls.io is using internal things from 
coverage that are no longer there, which is what actually caused the 
failures.  Also, "pip install --pre" will install even versions that are 
hidden on PyPI.  :(

--Ned.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20140927/b81163a0/attachment.htm>


More information about the testing-in-python mailing list