Bug 1862810

Summary: move koji in epel7 to python3
Product: [Fedora] Fedora EPEL Reporter: Kevin Fenzi <kevin>
Component: kojiAssignee: Mike McLean <mikem>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: carl, dennis, jkeating, kevin, mikem, puiterwijk, riehecky, trailtotale
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kevin Fenzi 2020-08-02 18:51:12 UTC
Upstream koji has dropped some support for python2 in 1.22:

"Important: python 2 support for hub and web have been dropped in koji 1.22,
meanwhile CLI and builder are still supporting python2. Please prepare your hub
and web service for python3 if you are going to upgrade them to koji 1.22."

So, I would like to move the epel7 version to python3.

There's a few things we need to get in place: 

* mod_wsgi -> we need a python36 version. 
* libxml2 -> we need a python36 version. 
* librepo -> we need a python36 version. 
* pycdio -> we need a python36 version. 

This bug will track this work, until it happens we will just refrain from updating epel7 and breaking existing users.

Comment 1 Kevin Fenzi 2020-11-01 19:50:23 UTC
python3-mod_wsgi is done!

python3-libxml2 does seem to be there, not sure why I didn't see it before as does python3-librepo. 

python3-pycdio is also done. 

I'll move forward with getting this working now...

Comment 2 Kevin Fenzi 2020-11-01 20:42:32 UTC
ah, I was looking at the wrong branch there. ;( 

We still need python3-libxml2, python3-librepo, python3-pycdio.

Comment 3 Carl George 🤠 2021-10-13 22:45:07 UTC
On a related note, the python2-koji-hub-plugins subpackage is no longer installable because python2-qpid-proton was removed from the epel7 qpid-proton spec file [0].


[root@rhel7-container:~]# yum install python2-koji-hub-plugins
<trimmed>
--> Processing Dependency: python2-qpid-proton for package: python2-koji-hub-plugins-1.21.1-1.el7.noarch
--> Finished Dependency Resolution
Error: Package: python2-koji-hub-plugins-1.21.1-1.el7.noarch (epel)
           Requires: python2-qpid-proton
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


I was going to open a separate issue, but if the plan is to migrate to python3 it doesn't make much sense to get the python2 packages working again.


[0] bug 2000952