Skip to content

Commit 54dfed4

Browse files
committed
Add CentOS Stream with EPEL Python 3.13
Fixes: #763
1 parent b1c23b2 commit 54dfed4

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

specs/multispec.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,10 @@ specs:
103103
'mod_auth_gssapi', 'mod_ldap', 'mod_session',
104104
'gcc-gfortran', 'libffi-devel', 'libtool-ltdl',
105105
'krb5-devel']
106+
enable_epel_for: ["3.13", "3.13-minimal"]
106107
extra_pkgs:
107108
"3.12": ['python3', 'python3-devel', 'python3-setuptools', 'python3-pip']
109+
"3.13": ['python3.13', 'python3.13-devel', 'python3.13-pip']
108110

109111
fedora42:
110112
distros:
@@ -246,7 +248,9 @@ matrix:
246248
version: "3.12-minimal"
247249
- distros:
248250
- fedora-42-x86_64
251+
- centos-stream-10-x86_64
249252
version: "3.13"
250253
- distros:
251254
- fedora-42-x86_64
255+
- centos-stream-10-x86_64
252256
version: "3.13-minimal"

src/Dockerfile-minimal.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ LABEL summary="$SUMMARY" \
5858
# findutils - find command is needed for fix-permissions script
5959
# nss_wrapper - used in generate_container_user script
6060
RUN INSTALL_PKGS="{{ spec.pkg_prefix }} glibc-langpack-en findutils nss_wrapper-libs" && \
61+
{% if spec.enable_epel_for and spec.version in spec.enable_epel_for %}
62+
microdnf -y install epel-release && \
63+
{% endif %}
6164
microdnf -y --setopt=tsflags=nodocs --setopt=install_weak_deps=0 install $INSTALL_PKGS && \
6265
microdnf -y clean all --enablerepo='*'
6366

src/Dockerfile.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ LABEL summary="$SUMMARY" \
5353
RUN INSTALL_PKGS="{{ common.list_pkgs(extra_pkgs + spec.python_pkgs + spec.base_pkgs) -}}
5454
{% if spec.preinstall_cmd %}
5555
{{ common.preinstall_cmd(spec) -}}
56+
{% endif %}
57+
{% if spec.enable_epel_for and spec.version in spec.enable_epel_for %}
58+
yum -y install epel-release && \
5659
{% endif %}
5760
{{ commands.pkginstaller.install([], {'docs': False}) }}{{ common.enablerepo(spec) }} $INSTALL_PKGS && \
5861
rpm -V $INSTALL_PKGS && \

0 commit comments

Comments
 (0)