Skip to content

Commit c5ed7d8

Browse files
author
Thierry RAMORASOAVINA
committed
Detect "unhappy" installation states
- Warn when the version tuple (major, minor, patch) of Khiops does not match the Khiops Python library one - Fix the types of the returned objects in `_build_status_message` - Detect installation incompatibilities in an active conda environment - Detect installation incompatibilities in a conda-based environment or a virtual environment
1 parent 2718702 commit c5ed7d8

File tree

3 files changed

+315
-63
lines changed

3 files changed

+315
-63
lines changed

.github/workflows/api-docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ jobs:
5353
- name: Add pip scripts directory to path
5454
run: echo PATH="$PATH:/github/home/.local/bin" >> "$GITHUB_ENV"
5555
- name: Install doc build requirements
56+
shell: bash
5657
run: |
58+
python -m venv .venvdocs
59+
source .venvdocs/bin/activate
60+
5761
# Install package itself to install the samples datasets
5862
pip3 install .
5963
kh-download-datasets --force-overwrite
@@ -64,7 +68,9 @@ jobs:
6468
pip3 install -U -r requirements.txt
6569
# Clone the Khiops Python tutorial repository while building the documentation
6670
- name: Build Sphinx Documentation
71+
shell: bash
6772
run: |
73+
source .venvdocs/bin/activate
6874
cd doc
6975
./create-doc -t -d -g \
7076
${{ inputs.khiops-python-tutorial-revision || env.DEFAULT_KHIOPS_PYTHON_TUTORIAL_REVISION }}

0 commit comments

Comments
 (0)