-
Notifications
You must be signed in to change notification settings - Fork 270
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
DEP: missing explicit dependency declaration (datatree) #1680
Comments
I also note that datatree was last released in 2011 and that I can't build it on Apple Silicon, so I'd like to ask whether it'd be possible to not depend on it at all ? |
@neutrinoceros I can't speak for the maintainers here, but datatree is a major building block of the new CfRadial2/FM301 based datamodel pyart will eventually converge to. The former experimental implementation in https://github.com/xarray-contrib/datatree (which has a recent 0.0.15 version) has been merge/transformed into xarray codebase as of xarray 2024.10.0 |
as long as there's a portable solution I'm happy to use it |
Yes, be sure to use https://pypi.org/project/xarray-datatree/ not https://pypi.org/project/datatree/. |
note that adding diff --git a/requirements.txt b/requirements.txt
index cec08287..edde1d57 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -13,3 +13,4 @@ mda-xdrlib
xarray
cartopy
pint
+xarray-datatree I still get an error when running
|
Heads up: xarray-datatree has been merged to xarray since 2024.10.0. Related: #1681 |
I agree with @kmuehlbauer 's points here! I think the best steps are:
|
This should all be resolved with the release yesterday, and the release today. The pypi wheels are currently building, and the conda-forge version of the updated xradar/xarray versions will be out by the end of the day today. Thank you for raising this critical issue @neutrinoceros @juhi24 and for the suggestions/feedback here, as well as upstream fixes @kmuehlbauer ❤️ |
Thank you ! |
Description
installing pyart in a fresh env appears to be currently broken, because some modules depend on
datatree
, which is not declared as an explicit dependency.I'm assuming this is an oversight from #1622
What I Did
The text was updated successfully, but these errors were encountered: