Description of problem: I try to package a Python program that depends on defusedxml for el7-9. At present there is no common way to express that dependency for all el versions as python36-defusedxml on el7 only provides that name, and on el8/9 the corresponding packages are called python3-defusedxml. The packages on el8 and -9 also provide python3dist(defusedxml) (which is what %{py3_dist defusedxml} expands to on thos el versions) (and python3.6dist(defusedxml)/python3.9dist(defusedxml)). Version-Release number of selected component (if applicable): python36-defusedxml-0.5.0-2.el7.noarch.rpm How reproducible: Always. Steps to Reproduce: Build package that requires "%{py3_dist defusedxml}" on el7, publish it in a yum repo and try to install it. Actual results: Yum complains that it cannot satisfy requirement "python3.6dist(defusedxml)" and aborts the installation. Expected results: Yum installs the package and python36-defusedxml along with it. Additional info: The py3_dist macro is what i have experienced to be the most reliable way to express Python requirements across el versions, if some other variant would be better i would be happy to be enlightend!
python3dist(...) is generally not present in EPEL 7, but I'll check out why does the package not provide python3-defusedxml.
Ok, that would also solve my problem. Thanks!
Rebuilding the package should fix this.
https://src.fedoraproject.org/rpms/python-defusedxml/c/4947a1210ba2b15b1e8a5af36897331e13d8f685?branch=epel7 Building python-defusedxml-0.5.0-3.el7 for epel7-candidate Created task: 105238794 Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=105238794
FEDORA-EPEL-2023-6b87f33fb6 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-6b87f33fb6
FEDORA-EPEL-2023-6b87f33fb6 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-6b87f33fb6 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Testing package tested and works well. Feedback submitted to Bodhi. Thanks again!
FEDORA-EPEL-2023-6b87f33fb6 has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report.