Skip to content

Commit c8915f8

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 c8915f8

File tree

3 files changed

+313
-63
lines changed

3 files changed

+313
-63
lines changed

.github/workflows/api-docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ jobs:
5454
run: echo PATH="$PATH:/github/home/.local/bin" >> "$GITHUB_ENV"
5555
- name: Install doc build requirements
5656
run: |
57+
python -m venv .venvdocs
58+
source .venvdocs/bin/activate
59+
5760
# Install package itself to install the samples datasets
5861
pip3 install .
5962
kh-download-datasets --force-overwrite
@@ -65,6 +68,7 @@ jobs:
6568
# Clone the Khiops Python tutorial repository while building the documentation
6669
- name: Build Sphinx Documentation
6770
run: |
71+
source .venvdocs/bin/activate
6872
cd doc
6973
./create-doc -t -d -g \
7074
${{ inputs.khiops-python-tutorial-revision || env.DEFAULT_KHIOPS_PYTHON_TUTORIAL_REVISION }}

0 commit comments

Comments
 (0)