From 5c9ceea60e674bac0c08f23af1d5ee69612df661 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 18 Oct 2025 11:02:36 +0200 Subject: [PATCH 1/6] Add Python 3.14 to the testing --- .github/workflows/python-unit-tests.yml | 3 +++ python/Makefile | 4 ++-- python/samples/demos/guided_conversations/pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-unit-tests.yml b/.github/workflows/python-unit-tests.yml index 6c2a54238980..d5b43417a9c8 100644 --- a/.github/workflows/python-unit-tests.yml +++ b/.github/workflows/python-unit-tests.yml @@ -24,6 +24,9 @@ jobs: - python-version: "3.13" os: "ubuntu-latest" experimental: true + - python-version: "3.14" + os: "ubuntu-latest" + experimental: true env: UV_PYTHON: ${{ matrix.python-version }} permissions: diff --git a/python/Makefile b/python/Makefile index b515e0c5cae1..9a8ed30574e8 100644 --- a/python/Makefile +++ b/python/Makefile @@ -32,7 +32,7 @@ help: echo "" echo -e "\033[1mVARIABLES:\033[0m" echo " PYTHON_VERSION - Python version to use. Default is 3.10" - echo " By default, 3.10, 3.11, 3.12 and 3.13 are installed as well." + echo " By default, 3.10, 3.11, 3.12, 3.13, and 3.14 are installed as well." ############################## # INSTALL @@ -75,7 +75,7 @@ endif .ONESHELL: install-python: echo "Installing python versions" - uv python install 3.10 3.11 3.12 3.13 + uv python install 3.10 3.11 3.12 3.13 3.14 ############################## # INSTALL-PRE-COMMIT diff --git a/python/samples/demos/guided_conversations/pyproject.toml b/python/samples/demos/guided_conversations/pyproject.toml index 6bc552ae541d..425346920dfd 100644 --- a/python/samples/demos/guided_conversations/pyproject.toml +++ b/python/samples/demos/guided_conversations/pyproject.toml @@ -7,7 +7,7 @@ license = "MIT" readme = "README.md" [tool.poetry.dependencies] -python = "^3.10,<3.13" +python = "^3.10,<3.14" azure-identity = "^1.18" semantic-kernel = { git = "https://github.com/microsoft/semantic-kernel.git", branch = "main", subdirectory = "python" } From 8eba89e92f78084376d2df7d84bb2474bf0fe46f Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 20 Mar 2026 06:29:20 +0100 Subject: [PATCH 2/6] Update python/samples/demos/guided_conversations/pyproject.toml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- python/samples/demos/guided_conversations/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samples/demos/guided_conversations/pyproject.toml b/python/samples/demos/guided_conversations/pyproject.toml index 425346920dfd..c3a9c9f78894 100644 --- a/python/samples/demos/guided_conversations/pyproject.toml +++ b/python/samples/demos/guided_conversations/pyproject.toml @@ -7,7 +7,7 @@ license = "MIT" readme = "README.md" [tool.poetry.dependencies] -python = "^3.10,<3.14" +python = "^3.10,<3.15" azure-identity = "^1.18" semantic-kernel = { git = "https://github.com/microsoft/semantic-kernel.git", branch = "main", subdirectory = "python" } From c8648d1addde3fd9dd3ba41843f7c4495fb1a513 Mon Sep 17 00:00:00 2001 From: Evan Mattson Date: Thu, 30 Apr 2026 17:28:22 +0900 Subject: [PATCH 3/6] Python: bump uv to 0.10.12 in unit-tests workflow The pinned uv 0.5.x is too old to install Python 3.14, causing the new matrix entry to fail. Bumps to current stable 0.10.12. --- .github/workflows/python-unit-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-unit-tests.yml b/.github/workflows/python-unit-tests.yml index 1d5a60973fa4..7f235b323218 100644 --- a/.github/workflows/python-unit-tests.yml +++ b/.github/workflows/python-unit-tests.yml @@ -47,7 +47,7 @@ jobs: - name: Set up uv uses: astral-sh/setup-uv@v6 with: - version: "0.5.x" + version: "0.10.12" enable-cache: true cache-suffix: ${{ runner.os }}-${{ matrix.python-version }} cache-dependency-glob: "**/uv.lock" From 61c6fb06b8c6ddf4e949e3b5eb3b929f4553b31f Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 30 Sep 2026 05:44:12 -1000 Subject: [PATCH 4/6] Update python-unit-tests.yml --- .github/workflows/python-unit-tests.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-unit-tests.yml b/.github/workflows/python-unit-tests.yml index e4cd9ac90d17..8add6ee1d916 100644 --- a/.github/workflows/python-unit-tests.yml +++ b/.github/workflows/python-unit-tests.yml @@ -15,7 +15,7 @@ jobs: runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.experimental }} strategy: - fail-fast: true + fail-fast: false matrix: python-version: ["3.10", "3.11", "3.12"] os: [ubuntu-latest, windows-latest, macos-latest] @@ -35,6 +35,10 @@ jobs: os: "ubuntu-latest" experimental: true test-suite: "unit-all-except-dapr" + - python-version: "3.15" + os: "ubuntu-latest" + experimental: true + test-suite: "unit-all-except-dapr" env: UV_PYTHON: ${{ matrix.python-version }} permissions: @@ -45,9 +49,9 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up uv - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0 + uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 with: - version: "0.10.12" + version: "latest" enable-cache: true cache-suffix: ${{ runner.os }}-${{ matrix.python-version }} cache-dependency-glob: "**/uv.lock" From 1d9662b9e2be528992a43c1d335e394624405f3b Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 30 Sep 2026 05:45:15 -1000 Subject: [PATCH 5/6] Update Python version constraint to <3.16 --- python/samples/demos/guided_conversations/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samples/demos/guided_conversations/pyproject.toml b/python/samples/demos/guided_conversations/pyproject.toml index c3a9c9f78894..32d39bd45ebd 100644 --- a/python/samples/demos/guided_conversations/pyproject.toml +++ b/python/samples/demos/guided_conversations/pyproject.toml @@ -7,7 +7,7 @@ license = "MIT" readme = "README.md" [tool.poetry.dependencies] -python = "^3.10,<3.15" +python = "^3.10,<3.16" azure-identity = "^1.18" semantic-kernel = { git = "https://github.com/microsoft/semantic-kernel.git", branch = "main", subdirectory = "python" } From 55b40c52c78ff5563a48ffc39594a77527f4bc27 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 30 Sep 2026 05:46:14 -1000 Subject: [PATCH 6/6] Update Python versions in Makefile to include 3.15 --- python/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/Makefile b/python/Makefile index 9a8ed30574e8..c7629f97aff3 100644 --- a/python/Makefile +++ b/python/Makefile @@ -32,7 +32,7 @@ help: echo "" echo -e "\033[1mVARIABLES:\033[0m" echo " PYTHON_VERSION - Python version to use. Default is 3.10" - echo " By default, 3.10, 3.11, 3.12, 3.13, and 3.14 are installed as well." + echo " By default, 3.10, 3.11, 3.12, 3.13, 3.14 and 3.15 are installed as well." ############################## # INSTALL @@ -75,7 +75,7 @@ endif .ONESHELL: install-python: echo "Installing python versions" - uv python install 3.10 3.11 3.12 3.13 3.14 + uv python install 3.10 3.11 3.12 3.13 3.14 3.15 ############################## # INSTALL-PRE-COMMIT