-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade GridPath to work with Pyomo v5.7 #660
Comments
It turns out that However, Manually forcing the PyUtilib version to 5.8.0 fixes this. |
Running a scenario in GridPath either via GUI or
|
Pyomo/pyomo#1319 completely revamped the implementation of Set in Pyomo, which became available in v5.7.0 (released in June) . The Set element no longer has the See Pyomo/pyomo@c1812ee#diff-7631fbd456728fa7392b5373f35cd27a for details. Manually forcing Pyomo version to 5.6.9 fixes the issue, until GridPath code can be modified for the changed API across the board. |
Leaving myself a note here, so that we fix this in the release that follows v0.3. Pyomo has introduced breaking changes with v5.7. A simple downgrade of Pyomo to the previous version does not work because of a Pyomo dependency on Pyutilib and breaking changes introduced by the latter. We'll have to update GP to work with Pyomo v5.7 (the Pyutilib issue will be taken care of automatically at that point). In v0.3, we will simply change the
|
Closed with v0.7.0. |
For completeness : Pyomo/pyomo#1525 |
On GridPath v0.2, opening GridPath GUI or running
gridpath_run_scenario
results in the following ImportErrorThe text was updated successfully, but these errors were encountered: