1010 default : 11.0.0
1111 description : Git Tag/Branch/Commit for the khiops-samples Repo
1212 image-tag :
13- default : 11.0.0-b.0.1
13+ default : 11.0.0-rc.1.0
1414 description : Development Docker Image Tag
1515 khiops-desktop-revision :
1616 default : 11.0.0-b.0
@@ -37,13 +37,13 @@ jobs:
3737 strategy :
3838 fail-fast : false
3939 matrix :
40- python-version : ['3.8', '3.9', '3. 10', '3.11', '3.12', '3.13', '3.14']
40+ python-version : ['3.10', '3.11', '3.12', '3.13', '3.14']
4141 container :
4242 # 'latest' default image tag cannot be set as an environment variable,
4343 # because the `env` context is only accessible at the step level;
4444 # hence, it is hard-coded
4545 image : |-
46- ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '11.0.0-b.0.1 ' }}
46+ ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '11.0.0-rc.1.0 ' }}
4747 credentials :
4848 username : ${{ github.actor }}
4949 password : ${{ secrets.GITHUB_TOKEN }}
@@ -175,10 +175,11 @@ jobs:
175175 KHIOPS_RUNNER_SERVICE_PATH : /scripts/run_service.sh
176176 # Force > 2 CPU cores to launch mpiexec
177177 KHIOPS_PROC_NUMBER : 4
178- # Oversubscribe for MPI 4.x
178+ # Oversubscribe for Open MPI 4.x
179179 rmaps_base_oversubscribe : true
180- # Oversubscribe for MPI > 4.x
181180 OMPI_MCA_rmaps_base_oversubscribe : true
181+ # Oversubscribe for Open MPI >= 5
182+ PRTE_MCA_rmaps_default_mapping_policy : :oversubscribe
182183 # Var for tests with S3
183184 no_proxy : localhost
184185 run : |
@@ -326,14 +327,14 @@ jobs:
326327 strategy :
327328 fail-fast : false
328329 matrix :
329- container : [ubuntu22.04, rocky8, rocky9]
330+ container : [ubuntu22.04, rocky8, rocky9, debian13 ]
330331 runs-on : ubuntu-latest
331332 container :
332333 # 'latest' default image tag cannot be set as an environment variable,
333334 # because the `env` context is only accessible at the step level;
334335 # hence, it is hard-coded
335336 image : |-
336- ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '11.0.0-b.0.1 ' }}
337+ ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '11.0.0-rc.1.0 ' }}
337338 credentials :
338339 username : ${{ github.actor }}
339340 password : ${{ secrets.GITHUB_TOKEN }}
@@ -357,28 +358,49 @@ jobs:
357358 token : ${{ secrets.GITHUB_TOKEN }}
358359 path : khiops-samples
359360 - name : Install khiops-python dev dependencies
361+ shell : bash
360362 run : |
361363 # The following git command is required,
362364 # as the Git repository is in a directory the current user does not own,
363365 # Python versioneer fails to compute the current version correctly otherwise
364366 git config --global --add safe.directory $(realpath .)
367+
368+ # A virtual env is mandatory under debian
369+ if [[ "${{ matrix.container }}" == "debian13" ]]; then
370+ python -m venv khiops-debian-venv
371+ source khiops-debian-venv/bin/activate
372+ fi
373+
365374 # Install tomli for Python < 3.11
366375 pip install tomli
367376 python scripts/extract_dependencies_from_pyproject_toml.py -f "pyproject.toml" > requires.txt
368377 pip install `cat requires.txt`
369378 rm -f requires.txt
379+ if [[ "${{ matrix.container }}" == "debian13" ]]; then
380+ deactivate
381+ fi
370382 - name : Setup and Install Test Requirements
371- run : |
383+ shell : bash
384+ run : |-
385+ # A virtual env is mandatory under debian
386+ if [[ "${{ matrix.container }}" == "debian13" ]]; then
387+ source khiops-debian-venv/bin/activate
388+ fi
372389 pip install -r test-requirements.txt
390+ if [[ "${{ matrix.container }}" == "debian13" ]]; then
391+ deactivate
392+ fi
373393 - name : Test Khiops Integration
374394 env :
375395 # Force > 2 CPU cores to launch mpiexec
376396 KHIOPS_PROC_NUMBER : 4
377397 KHIOPS_SAMPLES_DIR : ${{ github.workspace }}/khiops-samples
378- # Oversubscribe for MPI 4.x
398+ # Oversubscribe for Open MPI 4.x
379399 rmaps_base_oversubscribe : true
380- # Oversubscribe for MPI > 4.x
381400 OMPI_MCA_rmaps_base_oversubscribe : true
401+ # Oversubscribe for Open MPI >= 5
402+ PRTE_MCA_rmaps_default_mapping_policy : :oversubscribe
403+ shell : bash
382404 run : |-
383405 # Reset the default 'exit-on-error' mode of the bash shell in Github actions
384406 # so that the return code can be evaluated if needed
@@ -389,6 +411,11 @@ jobs:
389411 # modules are currently not initializing the shell anyway
390412 if [ -n "$MODULESHOME" ]; then module unload mpi; fi
391413
414+ # A virtual env is mandatory under debian
415+ if [[ "${{ matrix.container }}" == "debian13" ]]; then
416+ source khiops-debian-venv/bin/activate
417+ fi
418+
392419 # Print status
393420 python -c \
394421 "import sys; import khiops.core as kh; return_code = kh.get_runner().print_status(); sys.exit(return_code)"
@@ -404,3 +431,6 @@ jobs:
404431
405432 # Execute Khiops sample (train and deploy model), which uses MPI
406433 python -m khiops.samples.samples -i deploy_model -e
434+ if [[ "${{ matrix.container }}" == "debian13" ]]; then
435+ deactivate
436+ fi
0 commit comments