The 5.0 release of the coverage package contains backwards compatibility breaking changes. One of those changes was removing the Reporter class. This results in the following output in Travis CI:
$ coveralls
Traceback (most recent call last):
File "/home/travis/virtualenv/python3.7.1/bin/coveralls", line 10, in <module>
sys.exit(wear())
File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/coveralls/__init__.py", line 78, in wear
from coveralls.control import coveralls
File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/coveralls/control.py", line 2, in <module>
from coveralls.report import CoverallsReporter
File "/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/coveralls/report.py", line 6, in <module>
from coverage.report import Reporter
ImportError: cannot import name 'Reporter' from 'coverage.report' (/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/coverage/report.py)
The 5.0 release of the
coveragepackage contains backwards compatibility breaking changes. One of those changes was removing theReporterclass. This results in the following output in Travis CI: