@@ -348,7 +348,7 @@ jobs:
348
348
if test "${{matrix.TARGET}}" == linux; then
349
349
EXCLUDE="casadi numdifftools $EXCLUDE"
350
350
fi
351
- if [[ "${{matrix.TARGET}}" == win && "${{matrix.python}}" == " 3.13" ]]; then
351
+ if [[ "${{matrix.TARGET}}" == win && "${{matrix.python}}" == 3.13* ]]; then
352
352
# As of Nov 7, 2024, qtconsole is not compatible with python 3.13 on win
353
353
EXCLUDE="qtconsole $EXCLUDE"
354
354
fi
@@ -373,7 +373,7 @@ jobs:
373
373
fi
374
374
# Note: this will fail the build if any installation fails (or
375
375
# possibly if it outputs messages to stderr)
376
- conda install --update-deps -q -y $CONDA_DEPENDENCIES
376
+ conda install --update-deps -q -y python="${{matrix.python}}" $CONDA_DEPENDENCIES
377
377
if test -z "${{matrix.slim}}"; then
378
378
# xpress.init() (xpress 9.5.1 from conda) hangs indefinitely
379
379
# on GHA/Windows under Python 3.10 and 3.11. Exclude that
@@ -534,9 +534,8 @@ jobs:
534
534
echo "DYLD_LIBRARY_PATH=${env:DYLD_LIBRARY_PATH}:$GAMS_DIR" `
535
535
Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
536
536
$INSTALLER = "${env:DOWNLOAD_DIR}/gams_install.exe"
537
- # We are pinning to 29.1.0 because a license is required for
538
- # versions after this in order to run in demo mode.
539
- $URL = "https://d37drm4t2jghv5.cloudfront.net/distributions/29.1.0"
537
+ # Demo licenses are included for 5mo from the newest release
538
+ $URL = "https://d37drm4t2jghv5.cloudfront.net/distributions/50.1.0"
540
539
if ( "${{matrix.TARGET}}" -eq "win" ) {
541
540
$URL = "$URL/windows/windows_x64_64.exe"
542
541
} elseif ( "${{matrix.TARGET}}" -eq "osx" ) {
@@ -654,14 +653,15 @@ jobs:
654
653
655
654
- name : Install Pyomo
656
655
run : |
656
+ export PYOMO_SETUP_ARGS=${{ matrix.setup_options }}
657
657
echo ""
658
658
echo "Clone Pyomo-model-libraries..."
659
659
URL=https://github.com/Pyomo/pyomo-model-libraries.git
660
660
git clone -b ${SRC_REF##*/} $URL || git clone -b main $URL
661
661
echo ""
662
662
echo "Install Pyomo..."
663
663
echo ""
664
- $PYTHON_EXE setup.py develop ${{matrix.setup_options}}
664
+ $PYTHON_EXE -m pip install -e .
665
665
echo ""
666
666
echo "Set custom PYOMO_CONFIG_DIR"
667
667
echo ""
@@ -790,7 +790,7 @@ jobs:
790
790
echo ""
791
791
echo "Install Pyomo..."
792
792
echo ""
793
- python setup.py develop
793
+ python -m pip install -e .
794
794
echo ""
795
795
echo "Set custom PYOMO_CONFIG_DIR"
796
796
echo ""
@@ -868,13 +868,14 @@ jobs:
868
868
869
869
- name : Install Pyomo
870
870
run : |
871
+ export PYOMO_SETUP_ARGS=${{ matrix.setup_options }}
871
872
echo ""
872
873
echo "Clone Pyomo-model-libraries..."
873
874
git clone https://github.com/Pyomo/pyomo-model-libraries.git
874
875
echo ""
875
876
echo "Install Pyomo..."
876
877
echo ""
877
- $PYTHON_EXE setup.py develop ${{matrix.setup_options}}
878
+ $PYTHON_EXE -m pip install -e .
878
879
echo ""
879
880
echo "Set custom PYOMO_CONFIG_DIR"
880
881
echo ""
0 commit comments