Skip to content

Commit 3e2ead2

Browse files
committed
fix(ci): update Python version matrix and add numpy/scikit-image constraints for testing
1 parent 38fc67f commit 3e2ead2

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test_pyqt5.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
name: Install and Test on Ubuntu (latest) with PyQt5
77

88
on:
9+
workflow_dispatch:
910
push:
1011
branches: [ "main", "develop", "release" ]
1112
pull_request:
@@ -22,6 +23,22 @@ jobs:
2223
fail-fast: false
2324
matrix:
2425
python-version: ["3.9", "3.13"]
26+
include:
27+
# Baseline that used to pass (from 2025-12-19)
28+
- python-version: "3.13"
29+
numpy: "2.3.5"
30+
skimage: "0.25.2"
31+
# Newer versions that appeared on 2026-01-05
32+
- python-version: "3.13"
33+
numpy: "2.4.0"
34+
skimage: "0.26.0"
35+
# Cross-checks to identify the culprit
36+
- python-version: "3.13"
37+
numpy: "2.3.5"
38+
skimage: "0.26.0"
39+
- python-version: "3.13"
40+
numpy: "2.4.0"
41+
skimage: "0.25.2"
2542

2643
steps:
2744
- uses: actions/checkout@v4
@@ -36,6 +53,15 @@ jobs:
3653
python -m pip install --upgrade pip
3754
python -m pip install ruff pytest
3855
pip install PyQt5
56+
57+
# --- quick bisect constraints (only active for the matrix entries that define them)
58+
if [ -n "${{ matrix.numpy }}" ] || [ -n "${{ matrix.skimage }}" ]; then
59+
echo "numpy==${{ matrix.numpy }}" > constraints.txt
60+
echo "scikit-image==${{ matrix.skimage }}" >> constraints.txt
61+
python -m pip install -c constraints.txt "numpy==${{ matrix.numpy }}" "scikit-image==${{ matrix.skimage }}"
62+
fi
63+
# ---
64+
3965
if [ "${{ github.ref_name }}" = "develop" ]; then
4066
# Clone and install development versions of key dependencies with editable install
4167
cd ..

0 commit comments

Comments
 (0)