> The fix seems to be to double most of the backslashes in robot-detection.py
I'd suggest removing the backslashes instead. Doubling the backslashes is for when you want literal backlash characters in the text. Here the backslash are intended to escape characters like hyphens: robot_useragents = [ ... 'googlebot', 'google\-sitemaps', 'gullive', ... ] /usr/lib/python3/dist-packages/robot_detection.py:13: SyntaxWarning: invalid escape sequence '\-' 'google\-sitemaps', This escaping isn't required though and Python >= 3.12 (Trixie has 3.13) will show a `SyntaxWarning` since `\-` isn't a proper escape sequence. Unfortunately the upstream project appears to be archived. -- Ben Sturmfels Sturm Software Engineering www.sturm.com.au +61 3 9024 2467