On Mon, Mar 18, 2024 at 05:48:14AM +0000, Julian Gilbey wrote: > I was building or testing a package using sbuild or autopkgtest using > lxc, I don't remember which. One of the dependencies was dot2tex, so > it was being installed on a clean chroot (or equivalent). The > warnings appeared during the dpkg installation of the package > (probably during the configure step). > > But either way, all of these are, indeed, syntax errors and need to be > corrected. (It turns out, just looking at the first example on line > 1236, that they cannot all be fixed by turning them into raw strings: > this string has both '\p', which should be '\\p' (with a literal > backslash), and '\n', which presumably is intended as a new line > character.
Oh, and just to add on to this: I believe that this will become a SyntaxError in Python 3.13 or Python 3.14. Best wishes, Julian