zopefoundation / zope.exceptions

exceptions and implementations which are general purpose
https://zopeexceptions.readthedocs.io/
Other
0 stars 6 forks source link

why does travis fail with py 3.5? #6

Closed agroszer closed 7 years ago

agroszer commented 7 years ago

https://travis-ci.org/zopefoundation/zope.exceptions/jobs/221252829

Installed /home/travis/build/zopefoundation/zope.exceptions/.eggs/zope.testrunner-4.6.0-py3.5.egg

but apparently zope.interface does NOT get installed despite it's declared as zope.testrunner dependency

icemac commented 7 years ago

@agroszer Maybe the trick learned from @mgedmin used in zopefoundation/zope.keyreference#6 helps here, too.

jamadden commented 7 years ago

I have found python setup.py test to consistently have this problem on Python 3.5 and 3.6. The solution I've been using everywhere has been to just use zope-testrunner --test-path=src. That always fixes it in my experience. Plus it cooperates nicely with pip caching, making the builds faster.