microsoft/MLOS

Consider dropping support for python 3.8 and/or 3.9

Closed this issue · 2 comments

There may still be some deployment use cases for this so probably not just yet.

When we do get to it, don't forget to look for various sys.version_info checks to remove.

Could also modernize the way we do type hints (e.g., stop using Optional and Union)

Started this in #902.

While playing with pyupgrade to do the syntax conversions (which are incomplete unfortunately), I also noted that we could improve our Makefile rules to use pre-commit hooks and then convert the Makefile to call those instead.

That would leave the Makefile to do tests and doc target builds, but leave all of the format and check targets in the pre-commit.