Skip to content

howto update pyomo

Ludovico Bianchi edited this page Mar 28, 2023 · 3 revisions

How to update the version of Pyomo required by IDAES

For development (as opposed to for a release)

Step 1: create a tag in the IDAES/Pyomo fork

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.

Step 2: update the pyomo requirement in setup.py

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",
]
Clone this wiki locally