tianocore / edk2-edkrepo

Repository for the edkrepo utility
Other
21 stars 24 forks source link

SyntaxWarning on three regex expressions. #252

Open ndhaller opened 2 months ago

ndhaller commented 2 months ago

To resolve "SyntaxWarning: invalid escape sequence '('" with Python 3.12.4. https://github.com/tianocore/edk2-edkrepo/issues/251

Test system: git version 2.43.0.windows.1 , Python 3.5.4 / Python 3.12.4,

Tested "edkrepo sync -u" command with Python 3.5.4 and Python 3.12.4 on Windows, and both located the new regex expression during sync.

Tested "edkrepo maintenance" command with Python 3.5.4 and Python 3.12.4 on Windows, and both located the new regex expression during maintenance.

SyntaxWarning messages not seen when running with python 3.12.4.

Did not test on non-Windows systems.