Skip to content

Commit

Permalink
install only compatible versions of Pyomo and pyutilib
Browse files Browse the repository at this point in the history
  • Loading branch information
mfripp committed Mar 9, 2021
1 parent eef6fa8 commit fe4a579
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,13 @@ def read(*rnames):
'production cost', 'capacity expansion',
'planning', 'optimization'
],
python_requires='>=2.7.12',
install_requires=[
'Pyomo>=4.4.1', # We need a version that works with glpk 4.60+
# Pyomo 4.4.1+ works with glpk 4.60+
'Pyomo >=4.4.1, <=5.6.8',
# pyutilib 6.0 breaks compatibility, and earlier versions of Pyomo
# will cheerfully install it, so we explicitly block it
'pyutilib <=5.7.3',
'pint', # needed by Pyomo when we run our tests, but not included
'testfixtures', # used for standard tests
'pandas', # used for input upgrades and testing that functionality
Expand Down

0 comments on commit fe4a579

Please sign in to comment.