LSSTDESC / firecrown

DESC Cosmology Likelihood Framework
BSD 3-Clause "New" or "Revised" License
29 stars 7 forks source link

Following our planned roadmap, we should cease support for Python 3.9 #408

Closed marcpaterno closed 4 months ago

marcpaterno commented 4 months ago

Our plan has been to stop support for a given Python version when numpy drops support for it. Numpy has (as of April 5, 2024) dropped support for Python 3.9

We should drop support for Python 3.9. and then make the various upgrades we could not do under Python 3.9:

  1. replacing Union[X,Y] by X | Y in type declarations
  2. replacing Optional[X] by None | X in type declarations
  3. using kw_only=True in dataclasses