Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_pr_and_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 3 additions & 1 deletion pyomo/contrib/solver/solvers/gams.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions pyomo/tpl/ply/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions pyomo/tpl/ply/yacc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
Loading