Make installation of the raven_hydro library optional#486
Make installation of the raven_hydro library optional#486Zeitsperre merged 12 commits intomasterfrom
raven_hydro library optional#486Conversation
|
FYI @RondeauG and @sebastienlanglois |
|
What does it change, in concrete terms? Do we need to add Edit: Since I think that we want its features in xHydro? |
|
If you install If the I want to keep |
### What kind of change does this PR introduce? * Raises the minimum version of `pydantic` to v2.11 * Addresses ~6500 `DeprecationWarning`s emitted from `pydantic` ### Does this PR introduce a breaking change? Not really. Newer `pydantic` has been added as a dependency.
Pull Request Checklist:
number) and pull request (:pull:number) has been added.What kind of change does this PR introduce?
raven-hydroand RHF-handling code to the top-level imports.ravenpy[raven-hydro]pip recipe.raven_hydroandravenbinary invisible usingmonkeypatchto test import behaviour.Does this PR introduce a breaking change?
Yes.
raven-hydronow needs to be explicitly installed. Users should be told to use thepiprecipe, since theraven-hydropackage hosted onconda-forgeneeds to be installed with an explicitly-defined version (e.g.==0.4.0).Other information:
I haven't yet tested this on Windows. Path patching might be exactly the same.