rpm-software-management/librepo

librepo should still be building Python 2 packages until there are no dependent packages

bowlofeggs opened this issue · 5 comments

I noticed that Python 2 builds were disabled recently. There are still packages in Fedora Rawhide that depend on python2-librepo (for example, Bodhi):

$ dnf repoquery --whatrequires python2-librepo                                                                                          
bodhi-server-0:3.10.0-2.fc30.noarch
python2-rpmdeplint-0:1.4-3.fc29.noarch

The Fedora 30 Python 2 change does not say that Python 2 will be dropped in Fedora 30, contrary to the commit message in librepo. It says that leaf packages will be removed. Please revert c670c6b until librepo is a leaf package.

@bowlofeggs Both rpmdeplint and bodhi are Python 3 capable. Why not just switch them over to Python 3 for Fedora 30?

Hi @Conan-Kudo, Bodhi is now Python 3 only in Fedora 30+, but I'm not sure about rpmdeplint (haven't checked it since I filed this issue).

rpmdeplint's setup.py declares it Python 3 compatible, so it may just work?

This should probably be closed now regardless, but it looks like rpmdeplint was definitely ported.