From 4da2d0b7f7e502eee9c7cde9aceea6bd5c5b81c4 Mon Sep 17 00:00:00 2001 From: Eduard Kerkhoven Date: Wed, 28 Oct 2026 15:40:11 +0100 Subject: [PATCH 1/2] ci: test on Python 3.14 and 3.15 --- .github/workflows/test.yml | 2 +- pyproject.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef078fc..8a3ce8d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: # Full Python range on Linux; a single Python on macOS/Windows to catch # OS-specific issues at low runner cost. os: [ubuntu-latest] - python-version: ["3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"] include: - { os: macos-latest, python-version: "3.12" } - { os: windows-latest, python-version: "3.12" } diff --git a/pyproject.toml b/pyproject.toml index bbaa3f3..444468e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,8 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Topic :: Scientific/Engineering :: Bio-Informatics", ] dependencies = [ From 554ea301d8fc2086383ce5de4aa6dc55b282ed9d Mon Sep 17 00:00:00 2001 From: Eduard Kerkhoven Date: Wed, 28 Oct 2026 15:47:24 +0100 Subject: [PATCH 2/2] ci: install GLPK headers for the Python 3.15 swiglpk source build --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a3ce8d..fb6df95 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,6 +35,11 @@ jobs: cache: pip cache-dependency-path: pyproject.toml + # swiglpk (a cobra/optlang dependency) publishes no Python 3.15 wheel, so pip + # builds it from source, which needs the GLPK headers and SWIG. + - name: Install GLPK build dependencies + if: matrix.python-version == '3.15' + run: sudo apt-get update && sudo apt-get install -y libglpk-dev swig - name: Install run: pip install -e ".[dev,evotune]"