Closed CYHSM closed 10 months ago
Python 3.10 allows you to use the | operator as a shorthand for Union but is not backward compatible. This PR changes the syntax back to use Union from the typing module.
Also adapts the setup file to include all python versions >3.7, which addresses https://github.com/TomGeorge1234/RatInABox/issues/79.
Python 3.10 allows you to use the | operator as a shorthand for Union but is not backward compatible. This PR changes the syntax back to use Union from the typing module.
Also adapts the setup file to include all python versions >3.7, which addresses https://github.com/TomGeorge1234/RatInABox/issues/79.