Skip to content

Commit

Permalink
Updates for 2.6 idaes-pse release (#52)
Browse files Browse the repository at this point in the history
* Update supported/tested Python versions

* Update Pint requirement

* Use idaes-pse from IDAES/idaes-pse#1465 for testing

* Remove use of np.NINF

* Revert "Use idaes-pse from IDAES/idaes-pse#1465 for testing"

This reverts commit ee4345c.
  • Loading branch information
lbianchi-lbl authored Aug 23, 2024
1 parent 4f09583 commit 4c5d909
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ jobs:
- standard
- dev
python-version:
- '3.8'
# - '3.9'
- '3.9'
# - '3.10'
- '3.11'
# - '3.11'
- '3.12'
os:
- linux
- win64
Expand Down Expand Up @@ -84,10 +84,10 @@ jobs:
- standard
- dev
python-version:
- '3.8'
# - '3.9'
- '3.9'
# - '3.10'
- '3.11'
# - '3.11'
- '3.12'
os:
- linux
- win64
Expand Down
2 changes: 1 addition & 1 deletion idaes_ui/fv/tests/flowsheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def flash_flowsheet():
# Flash unit
m.fs.flash = Flash(property_package=m.fs.properties)
# TODO: move this to
m.fs.flash.inlet.flow_mol.fix(np.NINF, skip_validation=True)
m.fs.flash.inlet.flow_mol.fix(-np.inf, skip_validation=True)
# Pyomo#2180 is merged
# m.fs.flash.inlet.flow_mol[:].set_value(np.NINF, True)
# m.fs.flash.inlet.flow_mol.fix()
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
readme = "README.md"
version = "0.24.7.dev0" #Version format 0.YY.M
license = {text="BSD"}
requires-python = ">=3.8"
requires-python = ">=3.9"
authors = [
{name="The IDAES Project"}
]
Expand All @@ -27,10 +27,10 @@ build-backend = "setuptools.build_meta"
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Chemistry",
Expand All @@ -43,9 +43,8 @@ build-backend = "setuptools.build_meta"
"setuptools",
"pydantic ~= 2.0",

# for compatibility with IDAES unit formatting
# following IDAES/idaes-pse#1438 is released
"pint < 0.24",
# Pint 0.24.1 for Python 3.9 compatibility
"pint >= 0.24.1",

# fastapi is not used at the moment; uncomment once fastapi is needed again
# "fastapi",
Expand Down

0 comments on commit 4c5d909

Please sign in to comment.