@@ -348,7 +348,7 @@ jobs:
348348 if test "${{matrix.TARGET}}" == linux; then
349349 EXCLUDE="casadi numdifftools $EXCLUDE"
350350 fi
351- if [[ "${{matrix.TARGET}}" == win && "${{matrix.python}}" == " 3.13" ]]; then
351+ if [[ "${{matrix.TARGET}}" == win && "${{matrix.python}}" == 3.13* ]]; then
352352 # As of Nov 7, 2024, qtconsole is not compatible with python 3.13 on win
353353 EXCLUDE="qtconsole $EXCLUDE"
354354 fi
@@ -373,7 +373,7 @@ jobs:
373373 fi
374374 # Note: this will fail the build if any installation fails (or
375375 # 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
377377 if test -z "${{matrix.slim}}"; then
378378 # xpress.init() (xpress 9.5.1 from conda) hangs indefinitely
379379 # on GHA/Windows under Python 3.10 and 3.11. Exclude that
@@ -534,9 +534,8 @@ jobs:
534534 echo "DYLD_LIBRARY_PATH=${env:DYLD_LIBRARY_PATH}:$GAMS_DIR" `
535535 Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
536536 $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"
540539 if ( "${{matrix.TARGET}}" -eq "win" ) {
541540 $URL = "$URL/windows/windows_x64_64.exe"
542541 } elseif ( "${{matrix.TARGET}}" -eq "osx" ) {
@@ -654,14 +653,15 @@ jobs:
654653
655654 - name : Install Pyomo
656655 run : |
656+ export PYOMO_SETUP_ARGS=${{ matrix.setup_options }}
657657 echo ""
658658 echo "Clone Pyomo-model-libraries..."
659659 URL=https://github.com/Pyomo/pyomo-model-libraries.git
660660 git clone -b ${SRC_REF##*/} $URL || git clone -b main $URL
661661 echo ""
662662 echo "Install Pyomo..."
663663 echo ""
664- $PYTHON_EXE setup.py develop ${{matrix.setup_options}}
664+ $PYTHON_EXE -m pip install -e .
665665 echo ""
666666 echo "Set custom PYOMO_CONFIG_DIR"
667667 echo ""
@@ -790,7 +790,7 @@ jobs:
790790 echo ""
791791 echo "Install Pyomo..."
792792 echo ""
793- python setup.py develop
793+ python -m pip install -e .
794794 echo ""
795795 echo "Set custom PYOMO_CONFIG_DIR"
796796 echo ""
@@ -868,13 +868,14 @@ jobs:
868868
869869 - name : Install Pyomo
870870 run : |
871+ export PYOMO_SETUP_ARGS=${{ matrix.setup_options }}
871872 echo ""
872873 echo "Clone Pyomo-model-libraries..."
873874 git clone https://github.com/Pyomo/pyomo-model-libraries.git
874875 echo ""
875876 echo "Install Pyomo..."
876877 echo ""
877- $PYTHON_EXE setup.py develop ${{matrix.setup_options}}
878+ $PYTHON_EXE -m pip install -e .
878879 echo ""
879880 echo "Set custom PYOMO_CONFIG_DIR"
880881 echo ""
0 commit comments