Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ jobs:
enable-cache: true
- name: Setup just
uses: extractions/setup-just@v4
- name: Setup Khiops
run: |
sudo apt-get update -y && sudo apt-get install wget lsb-release -y
wget -O "./khiops.deb" "https://github.com/KhiopsML/khiops/releases/download/11.0.0/khiops-core-openmpi_11.0.0-1-$(lsb_release -cs).amd64.deb"
sudo dpkg -i "./khiops.deb" || sudo apt-get -f -y install
- name: Build docs
run: |
mkdir docs/_static
Expand Down
25 changes: 13 additions & 12 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,21 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v8.1.0
uses: astral-sh/setup-uv@v8.2.0
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Setup just
uses: extractions/setup-just@v4
- name: Install Miniforge
uses: conda-incubator/setup-miniconda@v4
with:
auto-update-conda: true
miniforge-version: latest
conda-remove-defaults: true
- name: Install Khiops
run: conda install --quiet --yes --name test khiops-core>=11.0.0
- name: Run tests
# We run with `conda` so we find the khiops executables installed in the conda env
run: conda run --name test just test
- name: Run tests (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
# Add the path of Intel MPI DLL: For some reason uv doesn't take it into account
# in the github runner
$env:PATH = "$($PWD.Path)\.venv\Library\bin;$env:PATH"
just test -x
- name: Run tests (*nix)
if: runner.os != 'Windows'
run: just test -x

4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,9 @@ See the [documentation][khalib-docs] for more information.
<!-- start-install -->
## Installation

- [Install Khiops][khiops-setup]
- Install the `khalib` python library:

```sh
pip install khalib
```
[khiops-setup]: https://khiops.org/setup/

<!-- end-install -->

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"

[project]
name = "khalib"
version = "0.5"
version = "0.6"
description = "Classifier Calibration with Khiops"
authors = [{ name = "Felipe Olmos", email = "luisfelipe.olmosmarchant@orange.com" }]
requires-python = ">=3.11"
dependencies = [
"khiops>=11.0.0.0",
"khiops>=11.0.1.0",
"numpy>=2.0.0",
"scikit-learn>=1.5.0",
"matplotlib>=3.9.0",
Expand Down
Loading
Loading