Package: location Version: 0.9.16-3.1 Severity: normal X-Debbugs-Cc: cqu...@arcor.de
I am running Debian testing which now defaults to python 3.12 and it looks like the location has some issues with that: location lookup 142.251.36.195 /usr/bin/location:583: SyntaxWarning: invalid escape sequence '\d' m = re.match("^AS(\d+)$", object) 142.251.36.195: Network : 142.250.0.0/15 Country : United States of America Autonomous System : AS15169 - Google LLC The SyntaxWarning is something that I have not seen in Debian 12. There is some explanation in the python 3.12 release notes https://docs.python.org/3/whatsnew/3.12.html : " 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. (Contributed by Victor Stinner in gh-98401.) " This is still a warning, so I guess it is still fine. It might break however some scripts that parse the output of location. -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.9.10-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE=es_ES:es Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages location depends on: ii python3 3.12.4-1 ii python3-location 0.9.16-3.1+b2 location recommends no packages. location suggests no packages. -- no debconf information