This file in the `flatpak-builder-tests` package has a python2 shebang, which makes RPM automatically generate a requirement on /usr/bin/python2: /usr/libexec/installed-tests/flatpak-builder/testpython.py Note that Python 2 is deprecated in Fedora, requirements for it should not be added. Please either - remove/change the shebang - remove the file (and anything that needs it) or - filter out the automatic dependency like this: %global __requires_exclude ^/usr/bin/python2$ (see https://docs.fedoraproject.org/en-US/packaging-guidelines/AutoProvidesAndRequiresFiltering/#_filtering_provides_and_requires_after_scanning . I haven't tested the suggestion.) Thanks! Reproducible: Always
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40.
You ASSIGNED this bugzilla half a year ago, could you please remove the dependency?
Looks like it's https://github.com/flatpak/flatpak-builder/blob/main/tests/testpython.py
https://github.com/flatpak/flatpak-builder/pull/609
(In reply to Miro Hrončok from comment #2) > You ASSIGNED this bugzilla half a year ago, could you please remove the > dependency? Let me see if I can backport Timothée's patch.
(In reply to Debarshi Ray from comment #5) > (In reply to Miro Hrončok from comment #2) > > You ASSIGNED this bugzilla half a year ago, could you please remove the > > dependency? > > Let me see if I can backport Timothée's patch. I decided to filter out the automatic Requires on python2 as per Miro's advice: https://github.com/flatpak/flatpak-builder/pull/609
$ rpm -qRp flatpak-builder-tests-1.4.3-2.fc41.x86_64.rpm /usr/bin/bash /usr/bin/sh flatpak-builder(x86-64) = 1.4.3-2.fc41 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsZstd) <= 5.4.18-1
Thanks for the testing, Miro!