HTTPretty test hanging on Travis
While making python-intercom Python 3 compatible, I ran into an issue on Travis.
The nosetests
command doesn’t appear to exit when run on Python 3.4 (it behaves as expected on Python 2.7). I narrowed it down to tests that use HTTPretty and created a small project to highlight the issue, and to publish the results of a failed build:
$ nosetests
..
----------------------------------------------------------------------
Ran 2 tests in 0.061s
OK
No output has been received in the last 10 minutes, this potentially
indicates a stalled build or something wrong with the build itself.
The build has been terminated
Right now I don’t know how to proceed. I’ve sent an email to Travis, and I’ll update this post with any findings.
Updates
2015-03-27 10:27: Posted to Stack Overflow.
2015-03-27 10:43: An answer on Stack Overflow has linked to a known issue with HTTPretty.
2015-03-27 11:04: Downgrading HTTPretty to 0.8.6 allows nose to exit cleanly.
2015-03-30 23:39: Travis support got back to me, they don’t have any weekend support hence the delay. I forgive them given the tremendous amount of support they give open source. Thanks folks.