diff --git a/.github/workflows/test_branches.yml b/.github/workflows/test_branches.yml index 583ce2c2a95..631681d9107 100644 --- a/.github/workflows/test_branches.yml +++ b/.github/workflows/test_branches.yml @@ -23,7 +23,7 @@ env: PYTHON_CORE_PKGS: wheel PYPI_ONLY: z3-solver linear-tree PYPY_EXCLUDE: scipy numdifftools seaborn statsmodels linear-tree - CACHE_VER: v260804.0 + CACHE_VER: v261201.0 NEOS_EMAIL: tests@pyomo.org SRC_REF: ${{ github.head_ref || github.ref }} PYOMO_WORKFLOW: branch diff --git a/.github/workflows/test_pr_and_main.yml b/.github/workflows/test_pr_and_main.yml index 0ccda861aeb..88d7b8b939c 100644 --- a/.github/workflows/test_pr_and_main.yml +++ b/.github/workflows/test_pr_and_main.yml @@ -31,7 +31,7 @@ env: PYTHON_CORE_PKGS: wheel PYPI_ONLY: z3-solver linear-tree PYPY_EXCLUDE: scipy numdifftools seaborn statsmodels linear-tree - CACHE_VER: v260804.0 + CACHE_VER: v261201.0 NEOS_EMAIL: tests@pyomo.org SRC_REF: ${{ github.head_ref || github.ref }} PYOMO_WORKFLOW: | diff --git a/pyomo/contrib/solver/solvers/gams.py b/pyomo/contrib/solver/solvers/gams.py index 9761f6e51f1..9767199961f 100644 --- a/pyomo/contrib/solver/solvers/gams.py +++ b/pyomo/contrib/solver/solvers/gams.py @@ -229,7 +229,9 @@ def _get_version(self, exe: str | None): version = tuple(int(i) for i in version.split('.')) # TBD: does this also catch Community licenses? - if "GAMS Demo" in res.stdout: + if re.search(r"\b(expired|cannot be validated)\b", res.stdout): + avail = Availability.BadLicense + elif "GAMS Demo" in res.stdout: avail = Availability.LimitedLicense else: avail = Availability.FullLicense diff --git a/pyomo/tpl/ply/__init__.py b/pyomo/tpl/ply/__init__.py index 6da83c73a59..57fefb14ec6 100644 --- a/pyomo/tpl/ply/__init__.py +++ b/pyomo/tpl/ply/__init__.py @@ -20,8 +20,6 @@ The original PLY project (https://github.com/dabeaz/ply) was archived on December 21, 2025 and is no longer developed or maintained. -PLY (3.11) documentation is available here: http://www.dabeaz.com/ply/ply.html - """ __version__ = '3.11.post1' diff --git a/pyomo/tpl/ply/yacc.py b/pyomo/tpl/ply/yacc.py index 0d2e935c5af..3ec696702eb 100644 --- a/pyomo/tpl/ply/yacc.py +++ b/pyomo/tpl/ply/yacc.py @@ -98,7 +98,7 @@ # Change these to modify the default behavior of yacc (if you wish) #----------------------------------------------------------------------------- -yaccdebug = True # Debugging mode. If set, yacc generates a +yaccdebug = False # Debugging mode. If set, yacc generates a # a 'parser.out' file in the current directory debug_file = 'parser.out' # Default name of the debugging file @@ -3312,7 +3312,7 @@ def yacc(method='LALR', debug=yaccdebug, module=None, tabmodule=tab_module, star else: debuglog = NullLogger() - debuglog.info('Created by PLY version %s (http://www.dabeaz.com/ply)', __version__) + debuglog.info('Created by PLY version %s', __version__) errors = False