Updates installer issues and resolves the pyomo logging error#65
Merged
Conversation
yardasol
approved these changes
Sep 14, 2024
yardasol
left a comment
Contributor
There was a problem hiding this comment.
This is a great PR Sam. Glad you resolved all the pyomo issues!
Collaborator
Author
|
Thanks @yardasol! Care to merge? (Merging was previously blocked by a ruleset waiting for a status update from the "Build and test" job. I'm not entirely sure why it wasn't being triggered, even though all of the checks within that job passed). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR resolves several issues.
logging.setLevelfunction. I resolved this by following the solution from this stackoverflow.setup.pyfile and adding apyproject.tomlfile. The recent NumPy update to 2.0 caused some dependency issues with Pyomo. These issues have apparently been resolved in version 6.8.0 of pyomo. Since the current build works I have not pinned any versions.This PR also addresses some comments from @fredshone JOSS review:
Note
Contrary to @fredshone's request in #56, I changed the default solver to cbc for the test suite, instead of having GLPK. The Calliope project had a nice example for installing CBC on a windows machine via GitHub CI. I haven't found an equivalent command line only guide to installing GLPK.
Local Checks
@victoraalves
@fredshone