Closed FrostyX closed 1 year ago
Possibly also
[2023-10-16 22:06:51,549][ INFO]: Patch uploaded successfully
[2023-10-16 22:06:51,550][ INFO]: RHBZ: #2243093, patch uploaded
[2023-10-16 22:06:51,608][ ERROR]: FAILED TO COMMENT ON RHBZ: #2243093
[2023-10-16 22:06:51,608][ ERROR]: line 45: Unknown tag: %py_provides python3-mat2
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/specfile/spec_parser.py", line 201, in get_rpm_spec
return rpm.spec(tmp.name, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: can't parse specfile
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/fedora_review_service/consumer.py", line 110, in handle_copr_message
url = None if bug.url else remote_spec(copr.spec_url).url
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/fedora_review_service/helpers.py", line 107, in remote_spec
specfile = Specfile(fp.name)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/specfile/specfile.py", line 72, in __init__
self._parser.parse(str(self))
File "/usr/lib/python3.11/site-packages/specfile/spec_parser.py", line 353, in parse
self.spec, self.tainted = self._do_parse(content, extra_macros)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/specfile/spec_parser.py", line 269, in _do_parse
spec = get_rpm_spec(content, rpm.RPMSPEC_ANYARCH | rpm.RPMSPEC_FORCE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/specfile/spec_parser.py", line 203, in get_rpm_spec
raise RPMException(stderr=stderr) from e
specfile.exceptions.RPMException: line 45: Unknown tag: %py_provides python3-mat2
This is a high-priority issue. It wasn't easy to debug but finally, I have some info