[CentOS-devel] Building python38-createrepo_c in CentOS 8 Stream

Wed Mar 2 10:16:52 UTC 2022
Ewoud Kohl van Wijngaarden <ewoud+centos at kohlvanwijngaarden.nl>

Hello everyone,

I'm sending this on behalf of the packagers of the Pulp project.

The Pulp project uses createrepo_c and in particular the Python 
bindings. The appstream repository does contain python3-createrepo_c but 
Pulp needs Python 3.8 so it uses the 3.8 module. There is no 
python38-createrepo_c so for now we're building it ourselves. The 
problem shows up when createrepo_c is bumped in CentOS Stream. From 
repoclosure:

Depsolve Error occured:
  Problem: package python38-createrepo_c-0.17.7-3.2.el8.x86_64 requires createrepo_c-libs = 0.17.7-3.2.el8, but none of the providers can be installed
   - cannot install both createrepo_c-libs-0.17.7-4.el8.x86_64 and createrepo_c-libs-0.17.7-3.2.el8.x86_64
   - cannot install both createrepo_c-libs-0.17.7-3.2.el8.x86_64 and createrepo_c-libs-0.17.7-4.el8.x86_64
   - cannot install the best update candidate for package python38-createrepo_c-0.17.7-3.2.el8.x86_64
   - cannot install the best update candidate for package createrepo_c-libs-0.17.7-3.2.el8.x86_64

It would be ideal if CentOS itself built python38-createrepo_c (and 
possibly also for other Python modules). Is this something that could be 
done?

Regards,
Ewoud