Skip to content

Commit 82ee065

Browse files
authored
Merge pull request #367 from KhiopsML/325-prepare-v11-support
Prepare v11 support
2 parents 9ca7672 + c624616 commit 82ee065

File tree

122 files changed

+5712
-27553
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+5712
-27553
lines changed

.github/workflows/api-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
type: boolean
1010
default: false
1111
image-tag:
12-
default: latest
12+
default: 10.6.0-b.0.0
1313
description: Development Docker Image Tag
1414
pull_request:
1515
paths:
@@ -39,7 +39,7 @@ jobs:
3939
# because the `env` context is only accessible at the step level;
4040
# hence, it is hard-coded
4141
image: |-
42-
ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || 'latest' }}
42+
ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '10.6.0-b.0.0' }}
4343
# Use the 'runner' user (1001) from github so checkout actions work properly
4444
# https://github.com/actions/runner/issues/2033#issuecomment-1598547465
4545
options: --user 1001

.github/workflows/conda.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ name: Conda Package
33
env:
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: 10.2.4
6+
DEFAULT_KHIOPS_CORE_VERSION: 10.6.0b.0
77
DEFAULT_SAMPLES_VERSION: 10.2.4
88
on:
99
workflow_dispatch:
1010
inputs:
1111
khiops-core-version:
12-
default: 10.2.4
12+
default: 10.6.0b.0
1313
description: khiops-core version for testing
1414
khiops-samples-version:
1515
default: 10.2.4
@@ -240,9 +240,9 @@ jobs:
240240
if [[ "$ANACONDA_CHANNEL" == "khiops" ]]
241241
then
242242
anaconda --token "${{ secrets.KHIOPS_ANACONDA_CHANNEL_TOKEN }}" upload \
243-
--user "$ANACONDA_CHANNEL" ./khiops-conda/noarch/*.tar.bz2
243+
--user "$ANACONDA_CHANNEL" ./khiops-conda/noarch/*.conda
244244
# For the dev channel: upload with forcing
245245
else
246246
anaconda --token "${{ secrets.KHIOPS_DEV_ANACONDA_CHANNEL_TOKEN }}" upload \
247-
--user "$ANACONDA_CHANNEL" --force ./khiops-conda/noarch/*.tar.bz2
247+
--user "$ANACONDA_CHANNEL" --force ./khiops-conda/noarch/*.conda
248248
fi

.github/workflows/dev-docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Dev Docker
33
env:
4-
DEFAULT_KHIOPS_REVISION: 10.2.4
4+
DEFAULT_KHIOPS_REVISION: 10.6.0-b.0
55
DEFAULT_IMAGE_INCREMENT: 0
66
DEFAULT_SERVER_REVISION: main
77
DEFAULT_PYTHON_VERSIONS: 3.8 3.9 3.10 3.11 3.12 3.13
@@ -14,7 +14,7 @@ on:
1414
inputs:
1515
khiops-revision:
1616
type: string
17-
default: 10.2.4
17+
default: 10.6.0-b.0
1818
description: Khiops Revision
1919
image-increment:
2020
type: number

.github/workflows/pip.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
default: 10.2.4
1010
description: khiops-samples repo revision
1111
image-tag:
12-
default: latest
12+
default: 10.6.0-b.0.0
1313
description: Development Docker Image Tag
1414
pull_request:
1515
paths:
@@ -64,7 +64,7 @@ jobs:
6464
# because the `env` context is only accessible at the step level;
6565
# hence, it is hard-coded
6666
image: |-
67-
ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || 'latest' }}
67+
ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '10.6.0-b.0.0' }}
6868
steps:
6969
- name: Set parameters as env
7070
run: |

.github/workflows/tests.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
name: Tests
33
env:
44
DEFAULT_SAMPLES_REVISION: 10.2.4
5-
DEFAULT_KHIOPS_DESKTOP_REVISION: 10.2.4
5+
DEFAULT_KHIOPS_DESKTOP_REVISION: 10.6.0-b.0
66
on:
77
workflow_dispatch:
88
inputs:
99
samples-revision:
1010
default: 10.2.4
1111
description: Git Tag/Branch/Commit for the khiops-samples Repo
1212
image-tag:
13-
default: latest
13+
default: 10.6.0-b.0.0
1414
description: Development Docker Image Tag
1515
khiops-desktop-revision:
16-
default: 10.2.4
16+
default: 10.6.0-b.0
1717
description: Khiops Windows Desktop Application Version
1818
run-expensive-tests:
1919
type: boolean
@@ -43,7 +43,7 @@ jobs:
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 || 'latest' }}
46+
ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '10.6.0-b.0.0' }}
4747
credentials:
4848
username: ${{ github.actor }}
4949
password: ${{ secrets.GITHUB_TOKEN }}
@@ -184,6 +184,7 @@ jobs:
184184
$CONDA run --no-capture-output -n "$CONDA_ENV" coverage xml -o "reports/$CONDA_ENV/py-coverage.xml"
185185
done
186186
- name: Display Test Reports
187+
if: success() || failure()
187188
uses: dorny/test-reporter@v1
188189
with:
189190
name: Run Tests ${{ matrix.python-version }}
@@ -192,7 +193,9 @@ jobs:
192193
reports/py${{ matrix.python-version }}_conda/TEST-tests.*.*.xml
193194
reporter: java-junit
194195
path-replace-backslashes: 'true' # Necessary for windows paths
196+
fail-on-error: 'false'
195197
- name: Upload Test Reports as Artifacts
198+
if: success() || failure()
196199
uses: actions/upload-artifact@v4
197200
with:
198201
name: test-reports-${{ matrix.python-version }}
@@ -312,7 +315,7 @@ jobs:
312315
# because the `env` context is only accessible at the step level;
313316
# hence, it is hard-coded
314317
image: |-
315-
ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || 'latest' }}
318+
ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '10.6.0-b.0.0' }}
316319
credentials:
317320
username: ${{ github.actor }}
318321
password: ${{ secrets.GITHUB_TOKEN }}

doc/multi_table_primer.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -194,14 +194,14 @@ The functions in `khiops.core` that allow using multi-table datasets have the op
194194
``additional_data_tables``. This dictionary links the secondary tables to their data file paths and
195195
it's indexed by their **data paths** which are specified as the regular expression::
196196

197-
root_table_name(`table_variable_name)*
197+
(/external_entity_table_name)?(/table_variable_name)*
198198

199199
Specifically:
200200

201-
- the data path for a root table is its name
202-
- the data path for a secondary table is composed of the name of its source root table followed by
203-
the chain of *table variable* names leading to it. The path parts are separated by a backtick
204-
`````.
201+
- the data path for an *external entity* table (see below) is its name, preceded by a forward slash
202+
- the data path for a secondary table is composed of the data path of its source root table if it
203+
is an external entity table followed by the chain of *table variable* names leading to it.
204+
The path parts are separated by a forward slash ``/``.
205205

206206
Types of secondary tables include:
207207

@@ -279,7 +279,7 @@ In this case the ``additional_data_tables`` argument consists of only one path:
279279
secondary table ``Vehicle``. Since it is pointed by the main table ``Accident`` via the table
280280
variable ``Vehicle`` the ``additional_data_tables`` parameter should be set as::
281281

282-
additional_data_tables = {"Accident`Vehicles": f"{kh.get_samples_dir()}/Vehicles.txt"}
282+
additional_data_tables = {"Vehicles": f"{kh.get_samples_dir()}/Vehicles.txt"}
283283

284284

285285
Snowflake Schema
@@ -348,8 +348,8 @@ This time, the relational schema is as follows:
348348
The ``additional_data_tables`` parameter must be set as::
349349

350350
additional_data_tables = {
351-
"Accident`Place": "/path/to/Places.txt",
352-
"Accident`Vehicles": "/path/to/Vehicles.txt",
353-
"Accident`Vehicles`Users": "/path/to/Users.txt"
351+
"Place": "/path/to/Places.txt",
352+
"Vehicles": "/path/to/Vehicles.txt",
353+
"Vehicles/Users": "/path/to/Users.txt"
354354
}
355355

0 commit comments

Comments
 (0)