The regex strings should be delimited with `r"..."` rather than plain `"..."` so that the backslash character is interpreted as is.
This issue will cause an error in future Python versions, so better fix this the sooner the better. > https://docs.python.org/3/whatsnew/3.12.html#other-language-changes > A backslash-character pair that is not a valid escape sequence now generates > a `SyntaxWarning` [...] For example, `re.compile("\d+\.\d+")` [...] In a > future Python version, `SyntaxError` will eventually be raised The issue is found in both ./gdebi and ./GDebi/GDebiCli.py in the GDebi source <https://git.launchpad.net/gdebi/tree/>. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060431 Title: Python 3.12 regex syntax warning message during gdebi-core installation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdebi/+bug/2060431/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
