Open oliver-sanders opened 1 year ago
The sre_constants module is now deprecated at Python 3.11 for removal in Python 3.13.
https://docs.python.org/3/whatsnew/3.11.html#modules
https://github.com/metomi/isodatetime/blob/658b31e6905896e5df183da561d8d21005960771/metomi/isodatetime/parsers.py#L344-L347
Probably can just replace with Exception. The line in question is showing as not covered by tests so could do with adding a few while we're at it
Exception
The sre_constants module is now deprecated at Python 3.11 for removal in Python 3.13.
https://docs.python.org/3/whatsnew/3.11.html#modules