From 2abd37a6a2bcfac98975a0feb7bb32a11cc36840 Mon Sep 17 00:00:00 2001 From: Eduard Kerkhoven Date: Wed, 28 Oct 2026 15:40:25 +0100 Subject: [PATCH 1/2] ci: test on Python 3.14 and 3.15 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea7c9d8..9b12b0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 From 997e308aa56c2fc0daef48d979012a490afc5617 Mon Sep 17 00:00:00 2001 From: Eduard Kerkhoven Date: Wed, 28 Oct 2026 15:47:33 +0100 Subject: [PATCH 2/2] ci: install GLPK headers for the Python 3.15 swiglpk source build --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b12b0c..cb51464 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,11 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + # 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: | python -m pip install --upgrade pip