Skip to content

Add missing runtime dependencies#16

Open
charles-openclaw wants to merge 1 commit into
ACCESS-NRI:mainfrom
charles-openclaw:fix-runtime-dependencies
Open

Add missing runtime dependencies#16
charles-openclaw wants to merge 1 commit into
ACCESS-NRI:mainfrom
charles-openclaw:fix-runtime-dependencies

Conversation

@charles-openclaw
Copy link
Copy Markdown

Summary

Fixes #13.

Verification

  • Reproduced on current main: uv pip install . in a fresh Python 3.12 env succeeded, then python -c "import metplan.metplan" failed with ModuleNotFoundError: No module named 'yaml'.
  • After the change: fresh Python 3.12 uv env, uv pip install . pytest, then python -c "import metplan.metplan; import yaml, h5py; print(yaml.__version__, h5py.__version__)" passed and printed 6.0.3 3.16.0.
  • git diff --check -- pyproject.toml .conda/environment.yml passed.
  • python -m pytest tests ran 58 tests: 57 passed; tests/test_metplan.py::test_sample_dataset failed because the test config writes to /scratch/tm70/ag9761/met_data/..., which does not exist in this contributor environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dependencies not installed but default with the package

1 participant