nptyping is no longer maintained, unfortunately, and it pins numpy < 2 (and has a bunch of other problems with being out of date that we have had to monkeypatch around.
This PR
vendors in nptyping,
applies our monkeypatches (no more monkeypatching at import!),
removes deprecated types
updates CI to test with numpy<2 and numpy>2 (as well as non-linux platforms)
We will continue to replace our usage of even the vendored nptyping until it's gone, since TypeVarTuple is a thing now, and we don't need to have string-based shape expressions and all the wonkiness that comes from the metaclass system there (with love and respect to the maintainer of nptyping, if they ever read this)
Fix: https://github.com/p2p-ld/numpydantic/issues/2
nptyping is no longer maintained, unfortunately, and it pins numpy < 2 (and has a bunch of other problems with being out of date that we have had to monkeypatch around.
This PR
We will continue to replace our usage of even the vendored nptyping until it's gone, since
TypeVarTuple
is a thing now, and we don't need to have string-based shape expressions and all the wonkiness that comes from the metaclass system there (with love and respect to the maintainer of nptyping, if they ever read this)