Closed carueda closed 1 year ago
Yes usually netcdf4 was a dependency which should be installed, and it is the package I use for testing. Does the problem also solve if you install netcdf4?
@cparcerisas Yes, the test also passes if I install netcdf4 instead:
poetry run pip uninstall h5netcdf
poetry run pip install netcdf4
PYPAM_TEST_NO_PLOTS= poetry run pytest tests/test_dataset.py
...
collected 1 item
tests/test_dataset.py . [100%]
============================ warnings summary =====================
...
================= 1 passed, 6 warnings in 4.66s ==========
ok I will add netcdf4 as a needed dependency
In general, I've been having trouble making tests pass as they used to on my local environment. Don't get me wrong; I know lots of updates have been happening arising from the migration to poetry and associated cleanup (which is great).
Anyway, here's the situation, with
tests/test_dataset.py
as an example:fails with:
But if I install h5netcdf:
then the test completes ok.