From 72f67bdc85ebc0f8843129c0e7124100325a7d9a Mon Sep 17 00:00:00 2001 From: Popescu V <136721202+popescu-v@users.noreply.github.com> Date: Fri, 17 Oct 2025 18:09:46 +0200 Subject: [PATCH 1/2] Add support for Python 3.14 --- .github/workflows/conda.yml | 2 +- .github/workflows/dev-docker.yml | 4 ++-- .github/workflows/tests.yml | 8 ++++---- CHANGELOG.md | 1 + 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 706ec8e3..fb3ca07c 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -67,7 +67,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] env: - {os: ubuntu-22.04, json-image: '{"image": "ubuntu:20.04"}'} - {os: ubuntu-22.04, json-image: '{"image": null}'} diff --git a/.github/workflows/dev-docker.yml b/.github/workflows/dev-docker.yml index 0a7b2641..4d6a3393 100644 --- a/.github/workflows/dev-docker.yml +++ b/.github/workflows/dev-docker.yml @@ -4,7 +4,7 @@ env: DEFAULT_KHIOPS_REVISION: 11.0.0-b.0 DEFAULT_IMAGE_INCREMENT: 0 DEFAULT_SERVER_REVISION: main - DEFAULT_PYTHON_VERSIONS: 3.8 3.9 3.10 3.11 3.12 3.13 + DEFAULT_PYTHON_VERSIONS: 3.8 3.9 3.10 3.11 3.12 3.13 3.14 DEFAULT_KHIOPS_GCS_DRIVER_REVISION: 0.0.11 DEFAULT_KHIOPS_S3_DRIVER_REVISION: 0.0.13 on: @@ -30,7 +30,7 @@ on: description: Set as 'latest' python-versions: type: string - default: 3.8 3.9 3.10 3.11 3.12 3.13 + default: 3.8 3.9 3.10 3.11 3.12 3.13 3.14 description: Python versions to support server-revision: type: string diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8de56b89..0b659031 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ on: default: 11.0.0 description: Git Tag/Branch/Commit for the khiops-samples Repo image-tag: - default: 11.0.0-b.0.0 + default: 11.0.0-b.0.1 description: Development Docker Image Tag khiops-desktop-revision: default: 11.0.0-b.0 @@ -37,13 +37,13 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] container: # 'latest' default image tag cannot be set as an environment variable, # 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-b.0.0' }} + ghcr.io/khiopsml/khiops-python/khiopspydev-ubuntu22.04:${{ inputs.image-tag || '11.0.0-b.0.1' }} credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -333,7 +333,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-b.0.0' }} + ghcr.io/khiopsml/khiops-python/khiopspydev-${{ matrix.container }}:${{ inputs.image-tag || '11.0.0-b.0.1' }} credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fc204d6..9909d6f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ## Unreleased - ### Added +- (General) Support for Python 3.14. - (`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. From 0c0ba31e27714a681d8e489ff69ad33ffec75195 Mon Sep 17 00:00:00 2001 From: Popescu V <136721202+popescu-v@users.noreply.github.com> Date: Fri, 17 Oct 2025 19:19:10 +0200 Subject: [PATCH 2/2] Manually remove pin on openssl as the relevant Boto3 issue has been closed Otherwise, keeping the pin is not harmless, as it breaks the dependency graph when using Python 3.14. --- pyproject.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c09d9509..3620abb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -116,10 +116,6 @@ s3 = [ # do not necessarily use the latest version, to avoid undesired breaking # changes "boto3>=1.17.39,<=1.35.69", - # an open issue on boto3 (https://github.com/boto/boto3/issues/3585) - # forces a minimal version of pyopenssl - "pyopenssl>=24.0.0,<25.0.0" - ] gcs = [ "google-cloud-storage>=1.37.0",