You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
coverage 7.5.0 is the first version which causes the error below. Downgrading to coverage 7.4.4 helps.
Coverage statistics reporting failed
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/teamcity/pytest_plugin.py", line 395, in report
analysis = self.coverage._analyze(cu)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/coverage/control.py", line 940, in _analyze
file_reporter = self._get_file_reporter(morf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'PythonFileReporter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/teamcity/pytest_plugin.py", line 335, in pytest_terminal_summary
self._report_coverage()
File "/usr/local/lib/python3.11/site-packages/teamcity/pytest_plugin.py", line 432, in _report_coverage
reporter.report(None)
File "/usr/local/lib/python3.11/site-packages/teamcity/pytest_plugin.py", line 409, in report
test_id = cu.name
^^^^^^^
AttributeError: 'PythonFileReporter' object has no attribute 'name'
The text was updated successfully, but these errors were encountered:
coverage 7.5.0 is the first version which causes the error below. Downgrading to coverage 7.4.4 helps.
Coverage statistics reporting failed
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/teamcity/pytest_plugin.py", line 395, in report
analysis = self.coverage._analyze(cu)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/coverage/control.py", line 940, in _analyze
file_reporter = self._get_file_reporter(morf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'PythonFileReporter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/teamcity/pytest_plugin.py", line 335, in pytest_terminal_summary
self._report_coverage()
File "/usr/local/lib/python3.11/site-packages/teamcity/pytest_plugin.py", line 432, in _report_coverage
reporter.report(None)
File "/usr/local/lib/python3.11/site-packages/teamcity/pytest_plugin.py", line 409, in report
test_id = cu.name
^^^^^^^
AttributeError: 'PythonFileReporter' object has no attribute 'name'
Thank you, it worked for us. We are now waiting a bugfix from Jetbrains 😀
coverage 7.5.0 is the first version which causes the error below. Downgrading to coverage 7.4.4 helps.
The text was updated successfully, but these errors were encountered: