From 1d9a8f542b2b4fc588f0961c59ea674e4c6ca5ca Mon Sep 17 00:00:00 2001 From: Micah Gale Date: Thu, 26 Feb 2026 18:18:04 -0600 Subject: [PATCH] Add Python 3.14 to testing matrix and drop Python 3.11 (#3642) Co-authored-by: GuySten Co-authored-by: Paul Romano --- .github/workflows/ci.yml | 19 +++++++++++-------- pyproject.toml | 4 ++-- tools/ci/gha-install.sh | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0382d8d6..3e232dce0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python-version: ["3.11"] + python-version: ["3.12"] mpi: [n, y] omp: [n, y] dagmc: [n] @@ -51,26 +51,29 @@ jobs: event: [n] include: - - python-version: "3.12" - omp: n - mpi: n - python-version: "3.13" omp: n mpi: n + - python-version: "3.14" + omp: n + mpi: n + - python-version: "3.14t" + omp: n + mpi: n - dagmc: y - python-version: "3.11" + python-version: "3.12" mpi: y omp: y - libmesh: y - python-version: "3.11" + python-version: "3.12" mpi: y omp: y - libmesh: y - python-version: "3.11" + python-version: "3.12" mpi: n omp: y - event: y - python-version: "3.11" + python-version: "3.12" omp: y mpi: n name: "Python ${{ matrix.python-version }} (omp=${{ matrix.omp }}, diff --git a/pyproject.toml b/pyproject.toml index 21342155a..b2b5ff5e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ authors = [ ] description = "OpenMC" dynamic = ["version"] -requires-python = ">=3.11" +requires-python = ">=3.12" license = {file = "LICENSE"} classifiers = [ "Development Status :: 4 - Beta", @@ -21,9 +21,9 @@ classifiers = [ "Topic :: Scientific/Engineering", "Programming Language :: C++", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dependencies = [ "numpy", diff --git a/tools/ci/gha-install.sh b/tools/ci/gha-install.sh index f405baedd..4cf62afbb 100755 --- a/tools/ci/gha-install.sh +++ b/tools/ci/gha-install.sh @@ -35,7 +35,7 @@ if [[ $MPI == 'y' ]]; then export HDF5_MPI=ON export HDF5_DIR=/usr/lib/x86_64-linux-gnu/hdf5/mpich # Install h5py without build isolation to pick up already installed mpi4py - pip install Cython pkgconfig + pip install setuptools Cython pkgconfig pip install --no-build-isolation --no-binary=h5py h5py fi