khiops icon indicating copy to clipboard operation
khiops copied to clipboard

Build Linux Conda Packages on CentOS / Alma Linux

Open popescu-v opened this issue 1 year ago • 1 comments

Description

The conda-forge package building process currently uses CentOS 7 images. See e.g.:

  • https://github.com/conda-forge/conda-feedstock/blob/f90be24fb1dc58d65d8660818c2c67b99ca1aa1b/.ci_support/linux_64_python3.12.____cpython.yaml#L8.
  • https://quay.io/repository/condaforge/linux-anvil-cos7-x86_64
  • https://conda-forge.org/docs/maintainer/infrastructure/#centos-sysroot-for-linux--platforms

Thus, in order to implement issue https://github.com/KhiopsML/khiops/issues/391, we should support building the Linux Conda packages on CentOS 7, in order to match the conda-forge process.

Questions/Ideas

  • We need to use CentOS 7 Docker image in the build job of the conda.yml workflow, instead of the currently-used Debian 10.
    • However, CentOS 7 uses GLibc 2.17.
  • However, CentOS 7's end-of-life was on June 30, 2024, and CentOS 8's end-of-builds was on May 31, 2024 (https://www.centos.org/download/). Consequently, conda-forge seems to move towards using Alma Linux: https://github.com/conda-forge/conda-forge.github.io/issues/1941. Hence, building Linux Conda packages on Alma Linux should also be considered as an option.
    • Perhaps an older Alma Linux version should be used, which supports GLibc 2.28 (as of now), to support running on Rocky >= 8 and Debian >= 10.
      • AlmaLinux 8 has GLibc 2.28.
      • Alma Linux images are here: https://hub.docker.com/_/almalinux
  • Note: this should not affect runtime support: the current OS matrix could still be supported at runtime; Alma Linux is to be used only at build time.

Context

  • Khiops version: > 10.2.3
  • Log file (use khiops -e log.txt): N/A
  • Scenario file (use khiops -o scenario._kh): any
  • OS description (use khiops -s): Conda on Linux

popescu-v avatar Oct 31 '24 16:10 popescu-v

Requirement for https://github.com/KhiopsML/khiops/issues/391.

popescu-v avatar Jan 09 '25 16:01 popescu-v