-
Notifications
You must be signed in to change notification settings - Fork 1
Test "unhappy" installation paths #301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Priority/0-High
To do now
Size/Days
Some days of work
Status/ReadyForDev
The issue is ready to be developed or to be investigated deeply
Milestone
Comments
popescu-v
added a commit
to KhiopsML/khiops
that referenced
this issue
Dec 5, 2024
… directory If `$CONDA_PREFIX/bin` is not in the `PATH`, then the putative Conda binary directory is the same as the directory the Khiops `MODL[_openmpi|mpich]` binary is situated in. Note: `KHIOPS_MPI_COMMAND` might still contain the incorrect `mpiexec`, in the following (rather unlikely) scenario: - `khiops_env` is run in a "Conda-based" environment - there is a preexisting system-wide MPI installation which contains `mpiexec`. This should be mitigated following the Khiops Python issue KhiopsML/khiops-python#301. closes #476
popescu-v
added a commit
to KhiopsML/khiops
that referenced
this issue
Dec 5, 2024
… directory If `$CONDA_PREFIX/bin` is not in the `PATH`, then the putative Conda binary directory is the same as the directory the Khiops `MODL[_openmpi|mpich]` binary is situated in. Note: `KHIOPS_MPI_COMMAND` might still contain the incorrect `mpiexec`, in the following (rather unlikely) scenario: - `khiops_env` is run in a "Conda-based" environment - there is a preexisting system-wide MPI installation which contains `mpiexec`. This should be mitigated following the Khiops Python issue KhiopsML/khiops-python#301. closes #476
popescu-v
added a commit
to KhiopsML/khiops
that referenced
this issue
Dec 5, 2024
… directory If `$CONDA_PREFIX/bin` is not in the `PATH`, then the putative Conda binary directory is the same as the directory the Khiops `MODL[_openmpi|mpich]` binary is situated in. Note: `KHIOPS_MPI_COMMAND` might still contain the incorrect `mpiexec`, in the following (rather unlikely) scenario: - `khiops_env` is run in a "Conda-based" environment - there is a preexisting system-wide MPI installation which contains `mpiexec`. This should be mitigated following the Khiops Python issue KhiopsML/khiops-python#301. closes #476
popescu-v
added a commit
to KhiopsML/khiops
that referenced
this issue
Dec 5, 2024
… directory If `$CONDA_PREFIX/bin` is not in the `PATH`, then the putative Conda binary directory is the same as the directory the Khiops `MODL[_openmpi|mpich]` binary is situated in. Note: `KHIOPS_MPI_COMMAND` might still contain the incorrect `mpiexec`, in the following (rather unlikely) scenario: - `khiops_env` is run in a "Conda-based" environment - there is a preexisting system-wide MPI installation which contains `mpiexec`. This should be mitigated following the Khiops Python issue KhiopsML/khiops-python#301. closes #476
This issue does not include automatic tests in the CI. |
Improve diagnosing capabilities of |
Start by defining the matrix of target "unhappy" installation environments. |
thekester
pushed a commit
to thekester/khiops
that referenced
this issue
Mar 22, 2025
… directory If `$CONDA_PREFIX/bin` is not in the `PATH`, then the putative Conda binary directory is the same as the directory the Khiops `MODL[_openmpi|mpich]` binary is situated in. Note: `KHIOPS_MPI_COMMAND` might still contain the incorrect `mpiexec`, in the following (rather unlikely) scenario: - `khiops_env` is run in a "Conda-based" environment - there is a preexisting system-wide MPI installation which contains `mpiexec`. This should be mitigated following the Khiops Python issue KhiopsML/khiops-python#301. closes KhiopsML#476
Also check Core and Python versions match. For now, we need to check |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Priority/0-High
To do now
Size/Days
Some days of work
Status/ReadyForDev
The issue is ready to be developed or to be investigated deeply
Description
Pykhiops peut être installé de deux façons différentes, via conda ou via pip.
Ces installations sont testées extensivement, pour arriver à un fonctionnement correctement de pykhiops.
En revanche, comme l'utilisateur peut à tout moment lancer une action d'installation ou désinstallation de Khiops core ou de pykhiops, via pip ou conda, il faut également tester tous les états possibles issus des actions utilisateurs.
C'est important, car toutes ces actions sont "normales" dans de nombreux cas d'usage, quand on ne connait pas bien l'état en cours d'une machine: installation d'une nouvelle version, installation sur une machine, en n'ayant pas utilisé l'outil depuis longtemps, intervention sur la machine d'un collègue...
Tout ce qui peut arriver par un chemin quelconque d'installation arrivera, et il est moins cher de le tester a priori, que de fournir un support à posteriori en cas de problème, voire un patch des outils.
Questions/Ideas
On peut formaliser le problème des tests systématiques des chemins d'installation au moyen d'un diagramme états-transitions.
Il y a trois composant techniques:
et deux types d'action:
Cela donne les états possibles d'une machine:
Les transitions possibles sont
Globalement, on a donc huit états et six transitions, donc 48 changements d'états à tester, bien au delà des quelques tests du "happy" path.
On doit s'assurer que:
The text was updated successfully, but these errors were encountered: