Let's make sure we only install the python3 and python39 python
packages, instead of all the packages of all versions that are
packaged.
This also fixes the CentOS 8 CI because python3.11-pytest was failing
to install.
We have to ship our own powertools repo definition because we need to
enable module_hotfixes for powertools to coerce dnf into installing
some of the python packages.
[Distribution]
Distribution=centos
Repositories=epel
+RepositoryDirectory=mkosi.conf.d/centos/mkosi.reposdir
[Content]
Packages=
polkit
popt
procps-ng
- python3*dist(pefile)
- python3*dist(pluggy) # python39-pluggy is a pytest dependency that's not installed for some reason.
- python3*dist(pytest)
+ python3[.][9]dist(pefile)
+ python3[.][9]dist(pluggy) # python39-pluggy is a pytest dependency that's not installed for some reason.
+ python3[.][9]dist(pytest)
python39
quota
tpm2-tss
--- /dev/null
+[powertools-hotfixes]
+name=powertools-hotfixes
+mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=PowerTools
+gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official
+gpgcheck=1
+enabled=1
+module_hotfixes=1
+skip_if_unavailable=1