Bug 1862810 - move koji in epel7 to python3
Summary: move koji in epel7 to python3
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: koji
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mike McLean
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-02 18:51 UTC by Kevin Fenzi
Modified: 2021-10-13 22:45 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.