Closed trigaut closed 1 year ago
With pyomo 6.4.2 on python 3.11 importing pyomo.environ raises an error.
import pyomo.environ as pyo
pyomo\core\base\component.py", line 471, in __getstate__ state[key] = val ~~~~~^^^^^ TypeError: 'tuple' object does not support item assignment
Pyomo version: 6.4.2 Python version: 3.11 Operating system: Windows 10 How Pyomo was installed: Pypi
This was resolved in main by https://github.com/Pyomo/pyomo/pull/2596 and will be part of the next release (currently scheduled for Nov 21).
Summary
With pyomo 6.4.2 on python 3.11 importing pyomo.environ raises an error.
Steps to reproduce the issue
Error Message
Information on your system
Pyomo version: 6.4.2 Python version: 3.11 Operating system: Windows 10 How Pyomo was installed: Pypi