-
Notifications
You must be signed in to change notification settings - Fork 264
howto update pyomo
Ludovico Bianchi edited this page Mar 28, 2023
·
3 revisions
The naming scheme (not enforced) for the tag is X.Y.Z.idaes.YYYY.MM.DD
, where X, Y, Z are the major, minor, and patch versions of Pyomo.
Open setup.py
and locate the DEPENDENCIES_FOR_PRERELEASE_VERSION
variable (should be a list) and change so that it looks like:
# contents of setup.py
DEPENDENCIES_FOR_PRERELEASE_VERSION = [
"pyomo @ https://github.com/IDAES/pyomo/archive/X.Y.Z.idaes.YYYY.MM.DD.zip",
]
- Set up pre-commit
- Run pytest with coverage report
- Run Pylint locally
- Update the Pyomo version
- Install Pyomo from a local Git clone
- Set up GitHub authentication with GCM
- Handle warnings in pytest
- Set up and run performance tests