yt-project / unyt

Handle, manipulate, and convert data with units in Python
https://unyt.readthedocs.io
BSD 3-Clause "New" or "Revised" License
364 stars 49 forks source link

DEP: Can we drop support for Python 3.9 ? #519

Open neutrinoceros opened 2 months ago

neutrinoceros commented 2 months ago

I'd like to propose dropping support for Python 3.9 now that we're about to add explicit support for 3.13. My main motivation is that I'd like to have access to the match/case statement to implement support for np.arange(..., like=unyt_array(...)) which is part of #518. For reference, see my implementation for astropy.units in https://github.com/astropy/astropy/pull/17059

Thoughts, @jzuhone ?

neutrinoceros commented 1 month ago

Denver discussed this privately with @jzuhone and agreed to do this after unyt 3.0.4, which is in preparation.