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
8 changes: 4 additions & 4 deletions .github/workflows/api-docs.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
name: API Docs
env:
DEFAULT_KHIOPS_PYTHON_TUTORIAL_REVISION: 11.0.0.0-rc.2
DEFAULT_KHIOPS_PYTHON_TUTORIAL_REVISION: 11.0.0.0
DEFAULT_KHIOPS_SAMPLES_REVISION: 11.0.0
on:
workflow_dispatch:
inputs:
khiops-python-tutorial-revision:
default: 11.0.0.0-rc.2
default: 11.0.0.0
description: khiops-python-tutorial repo revision
khiops-samples-revision:
default: 11.0.0
description: khiops-samples repo revision
image-tag:
default: 11.0.0-rc.2.0
default: 11.0.0.0
description: Development Docker Image Tag
pull_request:
paths:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
# because the `env` context is only accessible at the step level;
# hence, it is hard-coded
image: |-
ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '11.0.0-rc.2.0' }}
ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '11.0.0.0' }}
# Use the 'runner' user (1001) from github so checkout actions work properly
# https://github.com/actions/runner/issues/2033#issuecomment-1598547465
options: --user 1001
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ name: Conda Package
env:
# Note: The default Khiops version must never be an alpha release as they are
# ephemeral. To test alpha versions run the workflow manually.
DEFAULT_KHIOPS_CORE_VERSION: 11.0.0rc.2
DEFAULT_KHIOPS_CORE_VERSION: 11.0.0
DEFAULT_SAMPLES_VERSION: 11.0.0
on:
workflow_dispatch:
inputs:
khiops-core-version:
default: 11.0.0rc.2
default: 11.0.0
description: khiops-core version for testing
khiops-samples-version:
default: 11.0.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dev-docker.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Dev Docker
env:
DEFAULT_KHIOPS_REVISION: 11.0.0-rc.2
DEFAULT_KHIOPS_REVISION: 11.0.0
DEFAULT_IMAGE_INCREMENT: 0
DEFAULT_SERVER_REVISION: main
DEFAULT_PYTHON_VERSIONS: 3.10 3.11 3.12 3.13 3.14
Expand All @@ -14,7 +14,7 @@ on:
inputs:
khiops-revision:
type: string
default: 11.0.0-rc.2
default: 11.0.0
description: Khiops Revision
image-increment:
type: number
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
default: 11.0.0
description: khiops-samples repo revision
image-tag:
default: 11.0.0-rc.2.0
default: 11.0.0.0
description: Development Docker Image Tag
pypi-target:
type: choice
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
# because the `env` context is only accessible at the step level;
# hence, it is hard-coded
image: |-
ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '11.0.0-rc.2.0' }}
ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '11.0.0.0' }}
steps:
- name: Set parameters as env
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
name: Tests
env:
DEFAULT_SAMPLES_REVISION: 11.0.0
DEFAULT_KHIOPS_DESKTOP_REVISION: 11.0.0-rc.2
DEFAULT_KHIOPS_DESKTOP_REVISION: 11.0.0
on:
workflow_dispatch:
inputs:
samples-revision:
default: 11.0.0
description: Git Tag/Branch/Commit for the khiops-samples Repo
image-tag:
default: 11.0.0-rc.2.0
default: 11.0.0.0
description: Development Docker Image Tag
khiops-desktop-revision:
default: 11.0.0-rc.2
default: 11.0.0
description: Khiops Windows Desktop Application Version
run-expensive-tests:
type: boolean
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
# because the `env` context is only accessible at the step level;
# hence, it is hard-coded
image: |-
ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '11.0.0-rc.2.0' }}
ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '11.0.0.0' }}
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -362,7 +362,7 @@ jobs:
# because the `env` context is only accessible at the step level;
# hence, it is hard-coded
image: |-
ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '11.0.0-rc.2.0' }}
ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '11.0.0.0' }}
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
- Example: 10.2.1.4 is the 5th version that supports khiops 10.2.1.
- Internals: Changes in *Internals* sections are unlikely to be of interest for data scientists.

## 11.0.0.0-rc.2 - 2025-12-5
## 11.0.0.0 - 2025-12-19

### Added
- (General) Support for Python 3.14.
- (General) Warnings and error messages for unsupported installation setups.
- (`core`) Dictionary API support for dictionary, variable and variable block
comments, and dictionary and variable block internal comments.
- (`core`) Dictionary `Rule` class and supporting API for serializing `Rule` instances.
Expand Down
5 changes: 5 additions & 0 deletions doc/samples/samples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Samples
.. autofunction:: get_khiops_version
.. code-block:: python

from khiops import core as kh

print(f"Khiops version: {kh.get_khiops_version()}")
.. autofunction:: build_dictionary_from_data_table
.. code-block:: python
Expand Down Expand Up @@ -1635,6 +1637,9 @@ Samples
.. code-block:: python

# Set the file paths
import os
from khiops import core as kh

splice_dir = os.path.join(kh.get_samples_dir(), "SpliceJunction")
dictionary_file_path = os.path.join(splice_dir, "SpliceJunction.kdic")
data_table_path = os.path.join(splice_dir, "SpliceJunctionDNA.txt")
Expand Down
3 changes: 3 additions & 0 deletions doc/samples/samples_sklearn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ Samples
import os
import pandas as pd
import pickle
from khiops import core as kh
from khiops.sklearn import KhiopsClassifier

# Create/clean the output directory
Expand Down Expand Up @@ -534,7 +535,9 @@ Samples
.. code-block:: python

# Imports
import os
import pandas as pd
from khiops import core as kh
from khiops.sklearn import KhiopsEncoder

# Load the dataset
Expand Down
2 changes: 1 addition & 1 deletion khiops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"""
from khiops.core.internals.version import KhiopsVersion

__version__ = "11.0.0.0rc.2"
__version__ = "11.0.0.0"


def get_compatible_khiops_version():
Expand Down
5 changes: 5 additions & 0 deletions khiops/samples/samples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"metadata": {},
"outputs": [],
"source": [
"from khiops import core as kh\n",
"\n",
"print(f\"Khiops version: {kh.get_khiops_version()}\")"
]
},
Expand Down Expand Up @@ -2167,6 +2169,9 @@
"outputs": [],
"source": [
"# Set the file paths\n",
"import os\n",
"from khiops import core as kh\n",
"\n",
"splice_dir = os.path.join(kh.get_samples_dir(), \"SpliceJunction\")\n",
"dictionary_file_path = os.path.join(splice_dir, \"SpliceJunction.kdic\")\n",
"data_table_path = os.path.join(splice_dir, \"SpliceJunctionDNA.txt\")\n",
Expand Down
5 changes: 5 additions & 0 deletions khiops/samples/samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

def get_khiops_version():
"""Shows the Khiops version"""
from khiops import core as kh

print(f"Khiops version: {kh.get_khiops_version()}")


Expand Down Expand Up @@ -1847,6 +1849,9 @@ def simplify_coclustering():
def extract_clusters():
"""Extract the clusters' id, members, frequencies and typicalities into a file"""
# Set the file paths
import os
from khiops import core as kh

splice_dir = os.path.join(kh.get_samples_dir(), "SpliceJunction")
dictionary_file_path = os.path.join(splice_dir, "SpliceJunction.kdic")
data_table_path = os.path.join(splice_dir, "SpliceJunctionDNA.txt")
Expand Down
3 changes: 3 additions & 0 deletions khiops/samples/samples_sklearn.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@
"import os\n",
"import pandas as pd\n",
"import pickle\n",
"from khiops import core as kh\n",
"from khiops.sklearn import KhiopsClassifier\n",
"\n",
"# Create/clean the output directory\n",
Expand Down Expand Up @@ -637,7 +638,9 @@
"outputs": [],
"source": [
"# Imports\n",
"import os\n",
"import pandas as pd\n",
"from khiops import core as kh\n",
"from khiops.sklearn import KhiopsEncoder\n",
"\n",
"# Load the dataset\n",
Expand Down
3 changes: 3 additions & 0 deletions khiops/samples/samples_sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ def khiops_classifier_pickle():
import os
import pandas as pd
import pickle
from khiops import core as kh
from khiops.sklearn import KhiopsClassifier

# Create/clean the output directory
Expand Down Expand Up @@ -555,7 +556,9 @@ def khiops_encoder():
usually splits the dataset into train and test subsets.
"""
# Imports
import os
import pandas as pd
from khiops import core as kh
from khiops.sklearn import KhiopsEncoder

# Load the dataset
Expand Down
4 changes: 2 additions & 2 deletions packaging/conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package:
name: {{ name }}
# The Conda version cannot contain the '-' character, so we eliminate it
version: "11.0.0.0rc.2"
version: "11.0.0.0"

source:
path: ../../
Expand All @@ -23,7 +23,7 @@ requirements:
- setuptools
run:
- python
- conda-forge/label/rc::khiops-core =11.0.0rc.2
- khiops-core =11.0.0
- pandas >=0.25.3
- scikit-learn >=0.22.2
run_constrained:
Expand Down
Loading