Remove special-case casting support for numpy<2.0
greglucas opened this issue · comments
Once we support only Numpy 2.0+ we can remove the casting checks we have added to the Cython code for single-point transforms and Geod's fwd/inv single-point as well. Right now we make sure to throw a TypeError so we get the right conversions, but Numpy 2.0+ will do this for us automatically.
pyproj/pyproj/_transformer.pyx
Lines 768 to 770 in f235f9b
Possibly helpful guide to follow on numpy support window: https://scientific-python.org/specs/spec-0000/