QuTech-Delft / OpenSquirrel

A flexible (Python-based) quantum program compiler
Apache License 2.0
4 stars 1 forks source link

End of life Python 3.9 #228

Open S-Linde opened 2 months ago

S-Linde commented 2 months ago

Oktober 2025 marks the end of life of Python 3.9 (see).

If we stop supporting python39 at this point it would mean that annotations like int | float no longer need an from __future__ import annotations fix at the top of the file. These should then thus be removed.

Furthermore, type aliases can use TypeAlias from the typing library and should be updated accordingly.