-
-
Notifications
You must be signed in to change notification settings - Fork 186
Closed
Description
After updating to coveralls ~= 3.3 and trying to run the CI of pylint with coverage ~= 6.1 we are running into an error. Based on the traceback I'm reporting it here. Running with coverage ~= 5.5 does not fail.
2021-11-04T11:04:44.0937803Z Submitting coverage to coveralls.io...
2021-11-04T11:04:44.1569408Z Traceback (most recent call last):
2021-11-04T11:04:44.1572295Z File "/home/runner/work/pylint/pylint/venv/lib/python3.8/site-packages/coveralls/reporter.py", line 122, in report
2021-11-04T11:04:44.1573884Z from coverage.report import Reporter # pylint: disable=import-outside-toplevel
2021-11-04T11:04:44.1575607Z ImportError: cannot import name 'Reporter' from 'coverage.report' (/home/runner/work/pylint/pylint/venv/lib/python3.8/site-packages/coverage/report.py)
2021-11-04T11:04:44.1576500Z
2021-11-04T11:04:44.1577134Z During handling of the above exception, another exception occurred:
2021-11-04T11:04:44.1577658Z
2021-11-04T11:04:44.1578094Z Traceback (most recent call last):
2021-11-04T11:04:44.1578880Z File "/home/runner/work/pylint/pylint/venv/bin/coveralls", line 8, in <module>
2021-11-04T11:04:44.1579559Z sys.exit(main())
2021-11-04T11:04:44.1580635Z File "/home/runner/work/pylint/pylint/venv/lib/python3.8/site-packages/coveralls/cli.py", line 95, in main
2021-11-04T11:04:44.1581485Z result = coverallz.wear()
2021-11-04T11:04:44.1582616Z File "/home/runner/work/pylint/pylint/venv/lib/python3.8/site-packages/coveralls/api.py", line 252, in wear
2021-11-04T11:04:44.1583503Z json_string = self.create_report()
2021-11-04T11:04:44.1585067Z File "/home/runner/work/pylint/pylint/venv/lib/python3.8/site-packages/coveralls/api.py", line 330, in create_report
2021-11-04T11:04:44.1585940Z data = self.create_data()
2021-11-04T11:04:44.1587096Z File "/home/runner/work/pylint/pylint/venv/lib/python3.8/site-packages/coveralls/api.py", line 384, in create_data
2021-11-04T11:04:44.1588222Z self._data = {'source_files': self.get_coverage()}
2021-11-04T11:04:44.1589453Z File "/home/runner/work/pylint/pylint/venv/lib/python3.8/site-packages/coveralls/api.py", line 404, in get_coverage
2021-11-04T11:04:44.1590540Z return CoverallReporter(workman, workman.config, base_dir,
2021-11-04T11:04:44.1592115Z File "/home/runner/work/pylint/pylint/venv/lib/python3.8/site-packages/coveralls/reporter.py", line 23, in __init__
2021-11-04T11:04:44.1593006Z self.report(cov, conf)
2021-11-04T11:04:44.1594179Z File "/home/runner/work/pylint/pylint/venv/lib/python3.8/site-packages/coveralls/reporter.py", line 125, in report
2021-11-04T11:04:44.1595096Z return self.report5(cov)
2021-11-04T11:04:44.1596276Z File "/home/runner/work/pylint/pylint/venv/lib/python3.8/site-packages/coveralls/reporter.py", line 71, in report5
2021-11-04T11:04:44.1597368Z matcher = FnmatchMatcher(prep_patterns(config.report_include))
2021-11-04T11:04:44.1598457Z TypeError: __init__() missing 1 required positional argument: 'name'Run of the CI can be found here https://github.com/PyCQA/pylint/runs/4104109552?check_suite_focus=true
Perhaps #330 only adds support for 6.0 and not 6.1?
Happy to provide any other details or data necessary to fix this!
blueyed and oleksandr-pavlyk
Metadata
Metadata
Assignees
Labels
No labels