From 7ff2d24b0889bf189e78a1c19ba0a80e8a78112e Mon Sep 17 00:00:00 2001 From: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Date: Wed, 3 Jun 2026 22:56:28 -0700 Subject: [PATCH 1/2] ci: add Python 3.14 test environment to CI matrix --- .github/workflows/ci.yaml | 16 +++++++++++--- pixi.toml | 44 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9b94f17540d..d0619bd40a4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -71,8 +71,8 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] - # Bookend python versions - pixi-env: ["test-py311", "test-py313"] + # Main python versions + pixi-env: ["test-py311", "test-py313", "test-py314"] pytest-addopts: [""] include: # Minimum python version: @@ -82,7 +82,7 @@ jobs: os: ubuntu-latest - pixi-env: "test-py311-min-versions" os: ubuntu-latest - # Latest python version: + # Recent python version variants: - pixi-env: "test-py313-no-numba" os: ubuntu-latest - pixi-env: "test-py313-no-dask" @@ -90,6 +90,13 @@ jobs: - pixi-env: "test-py313" pytest-addopts: "flaky" os: ubuntu-latest + - pixi-env: "test-py314-no-numba" + os: ubuntu-latest + - pixi-env: "test-py314-no-dask" + os: ubuntu-latest + - pixi-env: "test-py314" + pytest-addopts: "flaky" + os: ubuntu-latest # The mypy tests must be executed using only 1 process in order to guarantee # predictable mypy output messages for comparison to expectations. - pixi-env: "test-py311-with-typing" @@ -99,6 +106,9 @@ jobs: - pixi-env: "test-py313-with-typing" numprocesses: 1 os: ubuntu-latest + - pixi-env: "test-py314-with-typing" + numprocesses: 1 + os: ubuntu-latest environment: name: codecov diff --git a/pixi.toml b/pixi.toml index 3e429f6f6eb..6e7ef6afb5c 100644 --- a/pixi.toml +++ b/pixi.toml @@ -38,6 +38,9 @@ python = "3.12.*" [feature.py313.dependencies] python = "3.13.*" +[feature.py314.dependencies] +python = "3.14.*" + [feature.backends.dependencies] # files h5netcdf = "*" @@ -407,6 +410,34 @@ test-py313 = { features = [ "viz", "extras", ] } +test-py314-no-numba = { features = [ + "py314", + "test", + "backends", + "accel", + "dask", + "viz", + "extras", +] } +test-py314-no-dask = { features = [ + "py314", + "test", + "backends", + "accel", + "numba", + "viz", + "extras", +] } +test-py314 = { features = [ + "py314", + "test", + "backends", + "accel", + "numba", + "dask", + "viz", + "extras", +] } test-nightly = { features = [ "py313", "nightly", @@ -467,6 +498,19 @@ test-py313-with-typing = { features = [ "typing-stubs", ] } +test-py314-with-typing = { features = [ + "py314", + "test", + "backends", + "accel", + "numba", + "dask", + "viz", + "extras", + "typing", + "typing-stubs", +] } + test-py311-bare-minimum = { features = ["test", "minimal"] } test-py311-bare-min-and-scipy = { features = [ "test", From 1e78a4d5261429b83acc144eb6a30f42525f963a Mon Sep 17 00:00:00 2001 From: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Date: Fri, 5 Jun 2026 20:14:48 -0700 Subject: [PATCH 2/2] ci: replace 3.13 with 3.14 in main test matrix per review Co-authored-by: Claude --- .github/workflows/ci.yaml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d0619bd40a4..e668594fb20 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -71,8 +71,8 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] - # Main python versions - pixi-env: ["test-py311", "test-py313", "test-py314"] + # Bookend python versions + pixi-env: ["test-py311", "test-py314"] pytest-addopts: [""] include: # Minimum python version: @@ -82,14 +82,7 @@ jobs: os: ubuntu-latest - pixi-env: "test-py311-min-versions" os: ubuntu-latest - # Recent python version variants: - - pixi-env: "test-py313-no-numba" - os: ubuntu-latest - - pixi-env: "test-py313-no-dask" - os: ubuntu-latest - - pixi-env: "test-py313" - pytest-addopts: "flaky" - os: ubuntu-latest + # Latest python version: - pixi-env: "test-py314-no-numba" os: ubuntu-latest - pixi-env: "test-py314-no-dask" @@ -103,9 +96,6 @@ jobs: pytest-addopts: "mypy" numprocesses: 1 os: ubuntu-latest - - pixi-env: "test-py313-with-typing" - numprocesses: 1 - os: ubuntu-latest - pixi-env: "test-py314-with-typing" numprocesses: 1 os: ubuntu-latest