diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 33bd7267..9289ce5e 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -32,7 +32,7 @@ jobs: pip install spacepy # required for MMS qcotrans tests pip install coveralls pip install basemap - pip install 'mth5<=0.4.7' + pip install 'mth5>=0.4.9' python -m pyspedas.projects.mms.tests.setup_tests if: matrix.os == 'ubuntu-latest' - name: Install dependencies (Windows) @@ -46,7 +46,7 @@ jobs: pip install spacepy # required for MMS qcotrans tests pip install coveralls pip install basemap - pip install 'mth5<=0.4.7' + pip install 'mth5>=0.4.9' python -m pyspedas.projects.mms.tests.setup_tests if: matrix.os == 'windows-latest' - name: Install dependencies (macOS) @@ -60,7 +60,7 @@ jobs: pip install spacepy # required for MMS qcotrans tests pip install coveralls pip install basemap - pip install 'mth5<=0.4.7' + pip install 'mth5>=0.4.9' python -m pyspedas.projects.mms.tests.setup_tests if: matrix.os == 'macos-latest' - name: Lint with flake8 diff --git a/pyspedas/mth5/__init__.py b/pyspedas/mth5/__init__.py index 3a42843b..d0fa6f02 100644 --- a/pyspedas/mth5/__init__.py +++ b/pyspedas/mth5/__init__.py @@ -16,7 +16,7 @@ except (ImportError, ModuleNotFoundError): logging.error(f'MTH5 must be installed to use module {__name__}.') - logging.error("Please install it using: pip install 'mth5==0.4.7'") + logging.error("Please install it using: pip install mth5") raise # # Synchronize mth5 logging output level with pyspedas logging output level diff --git a/pyspedas/mth5/tests/test_mth5_import.py b/pyspedas/mth5/tests/test_mth5_import.py index 82b0f7ad..3248aaee 100644 --- a/pyspedas/mth5/tests/test_mth5_import.py +++ b/pyspedas/mth5/tests/test_mth5_import.py @@ -25,7 +25,7 @@ def test_pyspedas_mth5_import_error(self): # Verify the error log was called with the expected message self.mock_logging_error.assert_any_call('MTH5 must be installed to use module pyspedas.mth5.') - self.mock_logging_error.assert_any_call("Please install it using: pip install 'mth5==0.4.7'") + self.mock_logging_error.assert_any_call("Please install it using: pip install mth5") if __name__ == '__main__':