Skip to content

Commit

Permalink
Remove openmdao version, none work at the moment
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadka committed Sep 5, 2024
1 parent 56914b9 commit 578fb63
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ dynamic = ["version"] # Version is read from rhodium/__init__.py

[project.optional-dependencies]
test = ["pytest", "mock", "pyper<=1.1.2"]
openmdao = ["openmdao<=3.30.0"]
openmdao = ["openmdao"]

[tool.setuptools.dynamic]
version = {attr = "rhodium.__version__"}

[tool.pytest.ini_options]
addopts = "-rA" # "-Werror"
testpaths = ["rhodium"]
4 changes: 2 additions & 2 deletions rhodium/test/openmdao_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class TestOpenMDAOModel(unittest.TestCase):
def test(self):
try:
from openmdao.api import IndepVarComp, Component, Problem, Group
except ImportError:
self.skipTest("OpenMDAO not available")
except ImportError as e:
self.skipTest(f"OpenMDAO not available: {e}")

# the following example is taken from OpenMDAO's Paraboloid tutorial
class Paraboloid(Component):
Expand Down

0 comments on commit 578fb63

Please sign in to comment.