From 53c5f523f785c13d4f237533189abdef07ff7ba5 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Mon, 5 Jan 2026 10:51:31 -0700 Subject: [PATCH 1/2] Add CI checks on free-threaded Python 3.14 --- .github/workflows/miniconda.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/miniconda.yml b/.github/workflows/miniconda.yml index fe9bfba05..2cd23ec22 100644 --- a/.github/workflows/miniconda.yml +++ b/.github/workflows/miniconda.yml @@ -12,7 +12,7 @@ jobs: # NO_NET: 1 strategy: matrix: - python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ] + python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t" ] os: [windows-latest, ubuntu-latest, macos-latest] platform: [x64, x32] exclude: @@ -34,7 +34,7 @@ jobs: environment-name: TEST init-shell: bash create-args: >- - python=${{ matrix.python-version }} + ${{ endsWith(matrix.python-version, 't') && 'python-freethreading' || 'python' }}=${{ matrix.python-version }} numpy cython pip setuptools pytest hdf5 libnetcdf cftime zlib certifi typing-extensions --channel conda-forge From 2fc28e8fc6e5bb4e8c9d9d6d936d21f661b5bc67 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Mon, 5 Jan 2026 12:04:00 -0700 Subject: [PATCH 2/2] Add hack to get correct python version name --- .github/workflows/miniconda.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/miniconda.yml b/.github/workflows/miniconda.yml index 2cd23ec22..220fdf57c 100644 --- a/.github/workflows/miniconda.yml +++ b/.github/workflows/miniconda.yml @@ -12,7 +12,14 @@ jobs: # NO_NET: 1 strategy: matrix: - python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t" ] + python-version: [ + ["python", "3.10"], + ["python", "3.11"], + ["python", "3.12"], + ["python", "3.13"], + ["python", "3.14"], + ["python-freethreading", "3.14" ], + ] os: [windows-latest, ubuntu-latest, macos-latest] platform: [x64, x32] exclude: @@ -34,7 +41,7 @@ jobs: environment-name: TEST init-shell: bash create-args: >- - ${{ endsWith(matrix.python-version, 't') && 'python-freethreading' || 'python' }}=${{ matrix.python-version }} + ${{ matrix.python-version[0] }}=${{ matrix.python-version[1] }} numpy cython pip setuptools pytest hdf5 libnetcdf cftime zlib certifi typing-extensions --channel conda-forge