Repository navigation
Add support for tox (http://tox.testrun.org/) - #50
Conversation
|
Great! Would be useful to test agains PyPy as well, I guess. |
|
@superbobry how would this be useful for testing against PyPy? We already test against PyPy using BuildBot, As soon as we can use PyPy 1.9 under Travis-CI, we can test there too (currently only PyPy 1.8): |
|
@peterjs, you're right -- Travis and BuildBot already do the same thing, the only real benefit from As for PyPy -- I've noticed that it's missing in `tox.ini for no reason, esp. since BioPython does target PyPy. |
|
Also missing Jython ;) I personally don't bother with virtual environments - I just have multiple Python's installed - so wouldn't use Tox. |
|
Testing against multiple Python versions and/or platforms is a breeze with Tox. This would be very handy for any developers wanting to test whether his/her changes breaks support in any of the supported versions/platforms. Perhaps using Tox could also reduce the potential buildbot failures. I've been trying to set one up myself, but never managed to make it work (until I find the tox.ini here ~ thanks!). |
|
Is there any harm in merging this? |
|
We don't keep configuration files for other tools like IDEs, and this is similar. We could put this on the wiki instead? A minor but real downside is one more 'strange' file in the root folder, which will require people to use and test to avoid bit rot. I can see this will require on going tweaking - for example Python 3.3, and if Tox supports them, Jython and PyPy. The situation with TravisCI is similar, but that configuration file is tested regularly by its nature. |
|
I just played around with this again (tox has been updated as well, so I had to tweak the After tweaking, I got it to work (no sign of the previous error) and it's indeed useful. However, this may not immediately work out of the box for some other people. At least it assumes that the Python version being used for testing is present (e.g. So I'm leaning towards not putting this in the repo. As Peter mentioned earlier, the wiki may be more suitable. Though at least we can put the basic minimum |
|
Are there any objections against closing this PR? |
|
I think this issue can be closed in 2 days if no objections are raised.. |
Original issue: biopython#50
|
Closed, but integrated in the documentation via af3fc51 (also credited there). Thanks for submitting the PR :). |
No description provided.