Skip to content

Commit

Permalink
Try printing avail statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmundt committed Jan 7, 2025
1 parent 4d21f77 commit c9d4d41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ jobs:
- name: Run Pyomo tests
if: matrix.mpi == 0
run: |
$PYTHON_EXE -m pytest -v \
$PYTHON_EXE -m pytest -v -s \
-W ignore::Warning ${{matrix.category}} \
pyomo `pwd`/pyomo-model-libraries \
`pwd`/examples `pwd`/doc --junitxml="TEST-pyomo.xml"
Expand Down
3 changes: 3 additions & 0 deletions pyomo/contrib/pynumero/sparse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

from pyomo.contrib.pynumero.dependencies import numpy_available, scipy_available

print("Numpy is available: ", numpy_available)
print("SciPy is available: ", scipy_available)

if numpy_available and scipy_available:
from pyomo.contrib.pynumero.sparse.block_vector import (
BlockVector,
Expand Down

0 comments on commit c9d4d41

Please sign in to comment.