https://bugzilla.suse.com/show_bug.cgi?id=1218143 Bug ID: 1218143 Summary: python2-pycairo is blocking update python-rpm-macros Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Python Assignee: python-maintainers@suse.com Reporter: ana.guerrero@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Created attachment 871412 --> https://bugzilla.suse.com/attachment.cgi?id=871412&action=edit python2-pycairo_log.txt python-rpm-macros 20231204.dd64e74 (SR#1130671) is blocked by python2-pycairo failing to build. Most relevant part of the build log (attached): [ 12s] + xargs -0 /usr/bin/python2 -c ' [ 12s] import sys, py_compile [ 12s] for f in sys.argv[1:]: [ 12s] fp=f[len("/home/abuild/rpmbuild/BUILDROOT/python2-pycairo-1.18.1-6.20.x86_64"):] [ 12s] print(f"Generating cached byte-code for {fp}") [ 12s] for o in [0, 1]: [ 12s] py_compile.compile(f, dfile=fp, optimize=o) [ 12s] ' [ 12s] File "<string>", line 5 [ 12s] print(f"Generating cached byte-code for {fp}") [ 12s] ^ [ 12s] SyntaxError: invalid syntax [ 12s] error: Bad exit status from /var/tmp/rpm-tmp.LYEGW2 (%install) This seems to be using f-strings in python2.7 where they are not yet supported. The last update of python2-pycairo is from March 2020, so I'm wondering if this package is still maintained by upsteam. However, gimp, python-gobject2, python-gtk have a direct dependency on this package. -- You are receiving this mail because: You are on the CC list for the bug.