Skip to content

Depend on the khiops-core Pip Package #572

@popescu-v

Description

@popescu-v

Description

The Khiops core binaries (without the GUI) are currently being packaged to be installable via Pip from PyPI.
There is currently an alpha testing version, 11.0.1-a.3 on Test.PyPI: https://test.pypi.org/project/khiops-core/11.0.1a3.
It doesn't work for Python < 3.9 but this should still be OK for the khiops-python testing / CI contexts.

The goal of this issue is to make the Khiops Python library able to use the Pip-packaged Khiops core dependency from PyPI.

Questions/Ideas

  • There are packaging impacts and code impacts:
    • Packaging impact: add khiops-core==11.0.1a.3 to the [project.dependencies] section of the pyproject.toml file; to be changed to 11.0.1 once the official khiops-core package is published on PyPI.
    • Code impacts:
      • the runner should stop supporting the "binary+pip" installation mode; only "conda", "conda-based" and "pip" should be kept;
      • the runner failure modes would cease to include native binaries vs Python package checks (including version mismatches); in fact, the checks should be very similar to those performed in the "conda" case (as the khiops-core package version should also be pinned, as in the Conda package case).
  • We need to pay attention to the case of the system-wide pip installation of the khiops-core package:
    • should we forbid such setup?
    • does such a setup overwrite any putative previous native installation of the khiops-core files?

Metadata

Metadata

Assignees

Labels

Priority/0-HighTo do nowSize/DaysSome days of workStatus/ReadyForDevThe issue is ready to be developed or to be investigated deeply

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions