Open tennlee opened 2 weeks ago
These failures went away when I downgraded to numpy 1.26 and Python 3.10. I haven't dug further to discover the exact root cause but I suspect something in the dependency chain has recently introduced the issue.
Thanks @tennlee for reaching out! You are right, the issue is with the numpy dependency. numpy was pinned to version <2 up to last week I believe, but in the latest commit we introduced some change to have numpy>=2 as a requirement. Can you try in your environment installing the latest commit of pydap?
python -m pip uninstall pydap # optional but sometimes things linger...
pip install --upgrade git+https://github.com/pydap/pydap.git
I am planning a new version release asap (after some pushes I make today), that will have all these new features pip/conda installable.
@tennlee could you share the environment where you ran into these issues? I would like to replicate the error. I think I remember seeing this error back when we set the implicit discovery of entry_points. I no longer remember what the issue with that, but it got around it.
Also - since pydap 3.5
released last Aug and available via pip and conda installs, pydap
is only compatible with numpy>=2.0. And so the fact that pydap
is even running in your system with numpy 1.26 probably means something went wrong during the initial installation...
Thanks again!
I tried this again and it didn't reproduce. That was a bit of a surprise because I hadn't done anything out of the ordinary. I will try again in the next couple of days, but perhaps this one isn't a big problem. It could be some quirk of the dependency resolution which just doesn't apply any more.
That is good news! Thanks for checking back and do let us know if this is a problem later.
I installed pydap and ran the following:
This led to the following error:
I'm happy to help debug this but thought I would report it.