File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,11 +60,21 @@ jobs:
6060 - name : Check out MHKiT-MATLAB
6161 uses : actions/checkout@v4
6262
63+ # mhkit depends on matplotlib-base, but pandas tries to register a matplotlib
64+ # plotting backend during mhkit import. matplotlib-base may not be sufficient
65+ # for this registration, so we install full matplotlib explicitly.
6366 - name : Conda install mhkit
6467 shell : bash -l {0}
6568 run : |
6669 conda activate mhkit_conda_env
67- conda install -c conda-forge mhkit==$MHKIT_PYTHON_VERSION
70+ conda install -c conda-forge mhkit==$MHKIT_PYTHON_VERSION matplotlib
71+
72+ - name : Verify matplotlib and mhkit imports
73+ shell : bash -l {0}
74+ run : |
75+ conda activate mhkit_conda_env
76+ python -c "import matplotlib; print(f'matplotlib: {matplotlib.__version__}')"
77+ python -c "import mhkit; print(f'mhkit: {mhkit.__version__}')"
6878
6979 - name : pip install mhkit-python-utils module from source
7080 shell : bash -l {0}
You can’t perform that action at this time.
0 commit comments