File tree Expand file tree Collapse file tree 14 files changed +44
-19
lines changed
Expand file tree Collapse file tree 14 files changed +44
-19
lines changed Original file line number Diff line number Diff line change 11---
22name : API Docs
33env :
4- DEFAULT_KHIOPS_PYTHON_TUTORIAL_REVISION : 11.0.0.0-rc.2
4+ DEFAULT_KHIOPS_PYTHON_TUTORIAL_REVISION : 11.0.0.0
55 DEFAULT_KHIOPS_SAMPLES_REVISION : 11.0.0
66on :
77 workflow_dispatch :
88 inputs :
99 khiops-python-tutorial-revision :
10- default : 11.0.0.0-rc.2
10+ default : 11.0.0.0
1111 description : khiops-python-tutorial repo revision
1212 khiops-samples-revision :
1313 default : 11.0.0
1414 description : khiops-samples repo revision
1515 image-tag :
16- default : 11.0.0-rc.2 .0
16+ default : 11.0.0.0
1717 description : Development Docker Image Tag
1818 pull_request :
1919 paths :
4545 # because the `env` context is only accessible at the step level;
4646 # hence, it is hard-coded
4747 image : |-
48- ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '11.0.0-rc.2 .0' }}
48+ ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '11.0.0.0' }}
4949 # Use the 'runner' user (1001) from github so checkout actions work properly
5050 # https://github.com/actions/runner/issues/2033#issuecomment-1598547465
5151 options : --user 1001
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ name: Conda Package
33env :
44 # Note: The default Khiops version must never be an alpha release as they are
55 # ephemeral. To test alpha versions run the workflow manually.
6- DEFAULT_KHIOPS_CORE_VERSION : 11.0.0rc.2
6+ DEFAULT_KHIOPS_CORE_VERSION : 11.0.0
77 DEFAULT_SAMPLES_VERSION : 11.0.0
88on :
99 workflow_dispatch :
1010 inputs :
1111 khiops-core-version :
12- default : 11.0.0rc.2
12+ default : 11.0.0
1313 description : khiops-core version for testing
1414 khiops-samples-version :
1515 default : 11.0.0
Original file line number Diff line number Diff line change 11---
22name : Dev Docker
33env :
4- DEFAULT_KHIOPS_REVISION : 11.0.0-rc.2
4+ DEFAULT_KHIOPS_REVISION : 11.0.0
55 DEFAULT_IMAGE_INCREMENT : 0
66 DEFAULT_SERVER_REVISION : main
77 DEFAULT_PYTHON_VERSIONS : 3.10 3.11 3.12 3.13 3.14
1414 inputs :
1515 khiops-revision :
1616 type : string
17- default : 11.0.0-rc.2
17+ default : 11.0.0
1818 description : Khiops Revision
1919 image-increment :
2020 type : number
Original file line number Diff line number Diff line change 1212 default : 11.0.0
1313 description : khiops-samples repo revision
1414 image-tag :
15- default : 11.0.0-rc.2 .0
15+ default : 11.0.0.0
1616 description : Development Docker Image Tag
1717 pypi-target :
1818 type : choice
7171 # because the `env` context is only accessible at the step level;
7272 # hence, it is hard-coded
7373 image : |-
74- ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '11.0.0-rc.2 .0' }}
74+ ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '11.0.0.0' }}
7575 steps :
7676 - name : Set parameters as env
7777 run : |
Original file line number Diff line number Diff line change 22name : Tests
33env :
44 DEFAULT_SAMPLES_REVISION : 11.0.0
5- DEFAULT_KHIOPS_DESKTOP_REVISION : 11.0.0-rc.2
5+ DEFAULT_KHIOPS_DESKTOP_REVISION : 11.0.0
66on :
77 workflow_dispatch :
88 inputs :
99 samples-revision :
1010 default : 11.0.0
1111 description : Git Tag/Branch/Commit for the khiops-samples Repo
1212 image-tag :
13- default : 11.0.0-rc.2 .0
13+ default : 11.0.0.0
1414 description : Development Docker Image Tag
1515 khiops-desktop-revision :
16- default : 11.0.0-rc.2
16+ default : 11.0.0
1717 description : Khiops Windows Desktop Application Version
1818 run-expensive-tests :
1919 type : boolean
4343 # because the `env` context is only accessible at the step level;
4444 # hence, it is hard-coded
4545 image : |-
46- ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '11.0.0-rc.2 .0' }}
46+ ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '11.0.0.0' }}
4747 credentials :
4848 username : ${{ github.actor }}
4949 password : ${{ secrets.GITHUB_TOKEN }}
@@ -362,7 +362,7 @@ jobs:
362362 # because the `env` context is only accessible at the step level;
363363 # hence, it is hard-coded
364364 image : |-
365- ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '11.0.0-rc.2 .0' }}
365+ ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '11.0.0.0' }}
366366 credentials :
367367 username : ${{ github.actor }}
368368 password : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 66 - Example: 10.2.1.4 is the 5th version that supports khiops 10.2.1.
77- Internals: Changes in * Internals* sections are unlikely to be of interest for data scientists.
88
9- ## 11.0.0.0-rc.2 - 2025-12-5
9+ ## 11.0.0.0 - 2025-12-19
1010
1111### Added
1212- (General) Support for Python 3.14.
13+ - (General) Warnings and error messages for unsupported installation setups.
1314- (` core ` ) Dictionary API support for dictionary, variable and variable block
1415 comments, and dictionary and variable block internal comments.
1516- (` core ` ) Dictionary ` Rule ` class and supporting API for serializing ` Rule ` instances.
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ Samples
3737.. autofunction :: get_khiops_version
3838.. code-block :: python
3939
40+ from khiops import core as kh
41+
4042 print (f " Khiops version: { kh.get_khiops_version()} " )
4143 .. autofunction :: build_dictionary_from_data_table
4244.. code-block :: python
@@ -1635,6 +1637,9 @@ Samples
16351637.. code-block :: python
16361638
16371639 # Set the file paths
1640+ import os
1641+ from khiops import core as kh
1642+
16381643 splice_dir = os.path.join(kh.get_samples_dir(), " SpliceJunction" )
16391644 dictionary_file_path = os.path.join(splice_dir, " SpliceJunction.kdic" )
16401645 data_table_path = os.path.join(splice_dir, " SpliceJunctionDNA.txt" )
Original file line number Diff line number Diff line change @@ -369,6 +369,7 @@ Samples
369369 import os
370370 import pandas as pd
371371 import pickle
372+ from khiops import core as kh
372373 from khiops.sklearn import KhiopsClassifier
373374
374375 # Create/clean the output directory
@@ -534,7 +535,9 @@ Samples
534535.. code-block :: python
535536
536537 # Imports
538+ import os
537539 import pandas as pd
540+ from khiops import core as kh
538541 from khiops.sklearn import KhiopsEncoder
539542
540543 # Load the dataset
Original file line number Diff line number Diff line change 2424"""
2525from khiops .core .internals .version import KhiopsVersion
2626
27- __version__ = "11.0.0.0rc.2 "
27+ __version__ = "11.0.0.0 "
2828
2929
3030def get_compatible_khiops_version ():
Original file line number Diff line number Diff line change 2323 "metadata" : {},
2424 "outputs" : [],
2525 "source" : [
26+ " from khiops import core as kh\n " ,
27+ " \n " ,
2628 " print(f\" Khiops version: {kh.get_khiops_version()}\" )"
2729 ]
2830 },
21672169 "outputs" : [],
21682170 "source" : [
21692171 " # Set the file paths\n " ,
2172+ " import os\n " ,
2173+ " from khiops import core as kh\n " ,
2174+ " \n " ,
21702175 " splice_dir = os.path.join(kh.get_samples_dir(), \" SpliceJunction\" )\n " ,
21712176 " dictionary_file_path = os.path.join(splice_dir, \" SpliceJunction.kdic\" )\n " ,
21722177 " data_table_path = os.path.join(splice_dir, \" SpliceJunctionDNA.txt\" )\n " ,
You can’t perform that action at this time.
0 commit comments