From 7b8e2962db2b8cecdd1dfff18891ba7e2fd05937 Mon Sep 17 00:00:00 2001 From: Popescu V <136721202+popescu-v@users.noreply.github.com> Date: Thu, 2 Jul 2026 16:06:25 +0200 Subject: [PATCH 1/4] Do not install khiops-core explicitly in the Conda package testing workflow It is installed via the dependency specified in the recipe of the `khiops` Conda package. --- .github/workflows/test-conda-forge-package.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-conda-forge-package.yml b/.github/workflows/test-conda-forge-package.yml index d932ffe7..4a4eced4 100644 --- a/.github/workflows/test-conda-forge-package.yml +++ b/.github/workflows/test-conda-forge-package.yml @@ -3,9 +3,6 @@ name: Test the released Conda Package on: workflow_dispatch: inputs: - khiops-core-version: - default: 11.0.0 - description: khiops-core version for testing khiops-samples-version: default: 11.0.0 description: khiops-samples version @@ -48,13 +45,12 @@ jobs: - name: Install the Khiops Conda package run: | # Add the Conda `rc` label for alpha or RC pre-releases - if [[ $(echo ${{ inputs.khiops-core-version }} | grep -E ".*(a|rc)\.[0-9]+") ]]; then + if [[ $(echo ${{ inputs.khiops-python-version }} | grep -E ".*(a|rc)\.[0-9]+") ]]; then RC_LABEL="conda-forge/label/rc::" else RC_LABEL="" fi - conda install "${RC_LABEL}"khiops-core==${{ inputs.khiops-core-version }} - conda install khiops==${{ inputs.khiops-python-version }} + conda install "${RC_LABEL}"khiops==${{ inputs.khiops-python-version }} - name: Test Khiops Installation Status run: kh-status - name: Test Khiops Installation Status (Conda-Based Environments) From 019cbf8bc562145c775e6b11a549d570b3ff6a9e Mon Sep 17 00:00:00 2001 From: Popescu V <136721202+popescu-v@users.noreply.github.com> Date: Thu, 2 Jul 2026 16:07:38 +0200 Subject: [PATCH 2/4] Update default `khiops` Conda package version to 11.0.1.0 --- .github/workflows/test-conda-forge-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-conda-forge-package.yml b/.github/workflows/test-conda-forge-package.yml index 4a4eced4..4ccdab88 100644 --- a/.github/workflows/test-conda-forge-package.yml +++ b/.github/workflows/test-conda-forge-package.yml @@ -7,7 +7,7 @@ on: default: 11.0.0 description: khiops-samples version khiops-python-version: - default: 11.0.1.0rc.3 + default: 11.0.1.0 description: khiops-python version for testing defaults: run: From 0c272069880db72940063ee69ca9e193d883d3e9 Mon Sep 17 00:00:00 2001 From: Popescu V <136721202+popescu-v@users.noreply.github.com> Date: Thu, 2 Jul 2026 16:07:58 +0200 Subject: [PATCH 3/4] Simplify the testing matrix: One OS from each family; lowest / highest Python --- .github/workflows/test-conda-forge-package.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test-conda-forge-package.yml b/.github/workflows/test-conda-forge-package.yml index 4ccdab88..81d138b9 100644 --- a/.github/workflows/test-conda-forge-package.yml +++ b/.github/workflows/test-conda-forge-package.yml @@ -21,20 +21,9 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] - env: - - {os: ubuntu-22.04, json-image: '{"image": "ubuntu:20.04"}'} - - {os: ubuntu-22.04, json-image: '{"image": null}'} - - {os: ubuntu-24.04, json-image: '{"image": null}'} - - {os: ubuntu-22.04, json-image: '{"image": "rockylinux:8"}'} - - {os: ubuntu-22.04, json-image: '{"image": "rockylinux:9"}'} - - {os: windows-2022, json-image: '{"image": null}'} - - {os: windows-2025, json-image: '{"image": null}'} - - {os: macos-14, json-image: '{"image": null}'} - - {os: macos-15, json-image: '{"image": null}'} - - {os: macos-15-intel, json-image: '{"image": null}'} - runs-on: ${{ matrix.env.os }} - container: ${{ fromJSON(matrix.env.json-image) }} + python-version: ['3.10', '3.14'] + os: [ubuntu-24.04, windows-2025, macos-15] + runs-on: ${{ matrix.os }} steps: - name: Install Miniforge uses: conda-incubator/setup-miniconda@v3 From bc3f49b9948ab5ec2fc82df50ebb0a8094398b40 Mon Sep 17 00:00:00 2001 From: Popescu V <136721202+popescu-v@users.noreply.github.com> Date: Thu, 2 Jul 2026 16:09:05 +0200 Subject: [PATCH 4/4] Enable core oversubscription for MPI (OpenMPI is now used and needs it) --- .github/workflows/test-conda-forge-package.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test-conda-forge-package.yml b/.github/workflows/test-conda-forge-package.yml index 81d138b9..c90ebcb5 100644 --- a/.github/workflows/test-conda-forge-package.yml +++ b/.github/workflows/test-conda-forge-package.yml @@ -70,6 +70,11 @@ jobs: env: # Force > 2 CPU cores to launch mpiexec KHIOPS_PROC_NUMBER: 4 + # Oversubscribe for Open MPI 4.x + rmaps_base_oversubscribe: true + OMPI_MCA_rmaps_base_oversubscribe: true + # Oversubscribe for Open MPI >= 5 + PRTE_MCA_rmaps_default_mapping_policy: :oversubscribe run: | kh-samples core -i deploy_model -e kh-samples core -i deploy_coclustering -e @@ -80,6 +85,11 @@ jobs: env: # Force > 2 CPU cores to launch mpiexec KHIOPS_PROC_NUMBER: 4 + # Oversubscribe for Open MPI 4.x + rmaps_base_oversubscribe: true + OMPI_MCA_rmaps_base_oversubscribe: true + # Oversubscribe for Open MPI >= 5 + PRTE_MCA_rmaps_default_mapping_policy: :oversubscribe run: | # Set `python` to the current Conda Python executable PYTHON="$(type -P python)"