6868 fail-fast : false
6969 matrix :
7070 os : [ubuntu-latest, macos-latest, windows-latest]
71- python : [ 3.9, '3.10', ' 3.11', ' 3.12', ' 3.13' ]
71+ python : [ 3.9, '3.10', 3.11, 3.12, 3.13 ]
7272 other : [""]
7373 category : [""]
7474
8787 PACKAGES : glpk pytest-qt filelock
8888
8989 - os : ubuntu-latest
90- python : ' 3.11'
90+ python : 3.11
9191 other : /conda
9292 skip_doctest : 1
9393 TARGET : linux
@@ -104,7 +104,7 @@ jobs:
104104 PACKAGES : openmpi mpi4py
105105
106106 - os : ubuntu-latest
107- python : ' 3.12'
107+ python : 3.12
108108 other : /cython
109109 setup_options : --with-cython
110110 skip_doctest : 1
@@ -120,7 +120,7 @@ jobs:
120120 PYENV : pip
121121
122122 - os : ubuntu-latest
123- python : ' 3.11'
123+ python : 3.11
124124 other : /singletest
125125 category : " -m 'neos or importtest'"
126126 skip_doctest : 1
@@ -397,11 +397,23 @@ jobs:
397397 # possibly if it outputs messages to stderr)
398398 conda install --update-deps -q -y $CONDA_DEPENDENCIES
399399 if test -z "${{matrix.slim}}"; then
400+ # xpress.init() (from conda) hangs indefinitely on GHA/Windows under
401+ # Python 3.10 and 3.11. Exclude that release on that platform.
402+ if [[ ${{matrix.TARGET}} == win && ${{matrix.python}} =~ 3.1[01] ]]; then
403+ # We would like to just use something like:
404+ # - "!=9.5.1" (conda errors)
405+ # - "<9.5.1|>9.5.1" (conda installs 9.1.2, which also hangs)
406+ # - "<=9.5.0|>9.5.1" (conda seg faults)
407+ XPRESS='xpress=9.5.0'
408+ else
409+ XPRESS='xpress'
410+ fi
400411 PYVER=$(echo "py${{matrix.python}}" | sed 's/\.//g')
401412 echo "Installing for $PYVER"
402- for PKG in 'cplex>=12.10' docplex gurobi xpress cyipopt pymumps scip; do
413+ for PKG in 'cplex>=12.10' docplex gurobi "$XPRESS" cyipopt pymumps scip; do
403414 echo ""
404415 echo "*** Install $PKG ***"
416+ echo ""
405417 # conda can literally take an hour to determine that a
406418 # package is not available. Perform a quick search to see
407419 # if the package is available for this interpreter before
@@ -423,6 +435,7 @@ jobs:
423435 conda install -y "$PKG" || _BUILDS=""
424436 fi
425437 fi
438+ echo ""
426439 if test -z "$_BUILDS"; then
427440 echo "WARNING: $PKG is not available"
428441 fi
@@ -654,8 +667,7 @@ jobs:
654667 if : ${{ ! matrix.slim }}
655668 shell : bash
656669 run : |
657- echo "NOTE: temporarily pinning to highspy pre-release for testing"
658- $PYTHON_EXE -m pip install --cache-dir cache/pip "highspy>=1.7.1.dev1" \
670+ $PYTHON_EXE -m pip install --cache-dir cache/pip highspy \
659671 || echo "WARNING: highspy is not available"
660672
661673 - name : Set up coverage tracking
0 commit comments