|
Bugzilla – Full Text Bug Listing |
| Summary: | gcovr not working | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Georgi Georgiev <modprob> |
| Component: | Development | Assignee: | Neal Gompa <ngompa13> |
| Status: | NEW --- | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | novell |
| Version: | Leap 15.6 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Yes, only gcovr 5.1 supports python 3.6... https://github.com/gcovr/gcovr/pull/550 Seems that SUSE needs here some more testing ;-) As a workaround you could install https://download.opensuse.org/repositories/openSUSE:/Backports:/SLE-15-SP4/standard/noarch/gcovr-5.0-bp154.1.23.noarch.rpm |
After installing gcovr ``` zypper in gcovr python3-Pygments ``` It fails with the following error: ``` gcovr --version Traceback (most recent call last): File "/usr/bin/gcovr", line 11, in <module> load_entry_point('gcovr==5.2', 'console_scripts', 'gcovr')() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point return ep.load() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2443, in load return self.resolve() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2449, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib/python3.6/site-packages/gcovr/__main__.py", line 31, in <module> from .configuration import ( File "/usr/lib/python3.6/site-packages/gcovr/configuration.py", line 20 from __future__ import annotations ^ SyntaxError: future feature annotations is not defined ``` --- I'm not python guru, but my research shows that this version 5.2 of `gcovr` needs python version >= 3.7