A backslash-character pair that is not a valid escape sequence now generates a SyntaxWarning, instead of DeprecationWarning. For example, re.compile("\d+\.\d+") now emits a SyntaxWarning ("\d" is an invalid escape sequence, use raw strings for regular expression: re.compile(r"\d+\.\d+")). In a future Python version, SyntaxError will eventually be raised, instead of SyntaxWarning.
The first time running edkrepo with Python 3.12.4 produces three SyntaxWarning messages.
Clearing the
__pycache__
folders and running again produces the SyntaxWarning again.SyntaxWarning messages not reproducible with Python 3.11.9.
https://docs.python.org/3/whatsnew/3.12.html