-
Notifications
You must be signed in to change notification settings - Fork 1
Fix running unit tests locally #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks fine to me, just wanted to ask about the docs on the zarr changes before approving
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the fix I was using, but in the docs: https://docs.xarray.dev/en/stable/generated/xarray.Dataset.to_zarr.html
It states that zarr_version
is being depreciated? I'm not sure if this is a wider zarr bug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Swapped back to zarr_version
for now.
Raised issue with xarray: link |
All fixed now I think... |
Happy for this to be merged if everyone else is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me.
It seems we need to upgrade xarray
to 2024.10.0
in order for us to use zarr_format
. Is it worth doing that now?
There seems to be some issue with running the unit tests with the zarr version.
This fixes that issue, and as a bonus enables
pyuda
tests when the user is connected to the UKAEA VPN.To test:
uv run pytest