Closed tomdurrant closed 3 months ago
This removes the depency on NDArray with was causing numpy v2 issues, thus fixing #97
@benjaminleighton @rafa-guedes this should be good to go now
pydantic_numpy is actually used in a couple of swan components as well. Let me perhaps have a look at this as well @benjaminleighton and @tomdurrant to see if I can find a workaround to stop using those there as well. I'll merge this then.
pydantic_numpy can be installed alongside numpy<2 if it is pinned to pydantic_numpy<6. I'm going to merge this as is without removing pydantic_numpy requirement as it is used in some swan components and is rather useful to validate some input types.
… as properties. Changes in swan and schism to reflect this
closes #84