|
93 | 93 | fail-fast: false |
94 | 94 | matrix: |
95 | 95 | os: [ubuntu-latest, macos-latest, windows-latest] |
96 | | - # FIXME: pinning to 3.14.0 until 3.14.1 is removed from runner tool cache |
97 | | - python: [ '3.10', 3.11, 3.12, 3.13, 3.14.0 ] |
| 96 | + python: [ '3.10', 3.11, 3.12, 3.13, 3.14 ] |
98 | 97 | other: [""] |
99 | 98 | category: [""] |
100 | 99 |
|
@@ -289,8 +288,11 @@ jobs: |
289 | 288 | if: matrix.PYENV == 'conda' |
290 | 289 | uses: conda-incubator/setup-miniconda@v3 |
291 | 290 | with: |
| 291 | + conda-remove-defaults: true |
292 | 292 | auto-update-conda: false |
293 | 293 | python-version: ${{ matrix.python }} |
| 294 | + channels: conda-forge, gurobi, ibmdecisionoptimization, fico-xpress |
| 295 | + use-mamba: true |
294 | 296 |
|
295 | 297 | # This is necessary for qt (UI) tests; the package utilized here does not |
296 | 298 | # have support for OSX. |
@@ -370,27 +372,7 @@ jobs: |
370 | 372 | run: | |
371 | 373 | # Set up environment |
372 | 374 | conda config --set always_yes yes |
373 | | - conda config --set auto_update_conda false |
374 | 375 | conda config --set channel_priority strict |
375 | | - conda config --remove channels defaults |
376 | | - conda config --append channels nodefaults |
377 | | - conda config --append channels conda-forge |
378 | | - # Try to install mamba |
379 | | - CONDA_VER=$(conda --version | cut -d\ -f2) |
380 | | - if test 23.10 = "`echo -e "23.10\n$CONDA_VER" | sort -V | tail -1`"; then |
381 | | - # Note: removed '--update-deps' on 2025-02-28 to work around |
382 | | - # broken libffi(?) |
383 | | - conda install -q -y -n base conda-libmamba-solver \ |
384 | | - || MAMBA_FAILED=1 |
385 | | - if test -z "$MAMBA_FAILED"; then |
386 | | - echo "*** Activating the mamba environment solver ***" |
387 | | - conda config --set solver libmamba |
388 | | - fi |
389 | | - fi |
390 | | - # Add the rest of the channels |
391 | | - conda config --append channels gurobi |
392 | | - conda config --append channels ibmdecisionoptimization |
393 | | - conda config --append channels fico-xpress |
394 | 376 | # Print environment info |
395 | 377 | echo "*** CONDA environment: ***" |
396 | 378 | conda info |
@@ -428,10 +410,8 @@ jobs: |
428 | 410 | echo "" |
429 | 411 | echo "*** Install Pyomo dependencies ***" |
430 | 412 | # For windows, cannot use newer setuptools because of APPSI compilation issues |
431 | | - # There seems to be some specific problem with platformdirs 4.5.0 |
432 | | - # on win 3.13/3.14 as of 2025-10-23 |
433 | 413 | if test "${{matrix.TARGET}}" == 'win'; then |
434 | | - CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0 platformdirs!=4.5.0" |
| 414 | + CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0" |
435 | 415 | fi |
436 | 416 | # Note: this will fail the build if any installation fails (or |
437 | 417 | # possibly if it outputs messages to stderr) |
|
0 commit comments