Package: onboard Version: 1.4.1-6 Severity: normal File: /usr/lib/python3/dist-packages/Onboard/Appearance.py Usertags: warnings User: debian-pyt...@lists.debian.org Usertags: python3.12
The recent upgrade of onboard triggers Python 3.12 syntax warnings, the correct fix is to use Python's "raw" strings feature with regexes. https://docs.python.org/3/library/re.html#raw-string-notation Unpacking onboard (1.4.1-6) over (1.4.1-5+b7) ... Preparing to unpack .../7-onboard-common_1.4.1-6_all.deb ... Unpacking onboard-common (1.4.1-6) over (1.4.1-5) ... Setting up onboard-common (1.4.1-6) ... Setting up onboard (1.4.1-6) ... /usr/lib/python3/dist-packages/Onboard/Appearance.py:924: SyntaxWarning: invalid escape sequence '\w' _key_ids_pattern = re.compile('[\w-]+(?:[.][\w-]+)?', re.UNICODE) /usr/lib/python3/dist-packages/Onboard/Appearance.py:1066: SyntaxWarning: invalid escape sequence '\w' key_ids = [x for x in re.findall('\w+(?:[.][\w-]+)?', text) if x] Setting up onboard-data (1.4.1-6) ... Setting up onboard-dbgsym (1.4.1-6) ... -- System Information: Debian Release: trixie/sid APT prefers testing-debug APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental'), (500, 'stable-updates'), (500, 'stable-security-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.7.12-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages onboard depends on: ii dconf-gsettings-backend [gsettings-backend] 0.40.0-4+b2 ii gir1.2-gdkpixbuf-2.0 2.42.10+dfsg-3+b3 ii gir1.2-glib-2.0 1.78.1-15 ii gir1.2-gtk-3.0 3.24.41-4 ii gir1.2-pango-1.0 1.52.1+ds-1 ii iso-codes 4.16.0-1 ii libc6 2.37-18 ii libcairo2 1.18.0-1+b1 ii libcanberra0 [libcanberra0t64] 0.30-15 ii libdconf1 0.40.0-4+b2 ii libgcc-s1 14-20240330-1 ii libglib2.0-0t64 2.78.4-7 ii libgtk-3-0t64 3.24.41-4 ii libhunspell-1.7-0 1.7.2+really1.7.2-10+b2 ii librsvg2-common 2.58.0+dfsg-1 ii libstdc++6 14-20240330-1 hi libudev1 254.5-1 ii libx11-6 2:1.8.7-1 ii libxi6 2:1.8.1-1 ii libxkbfile1 1:1.1.0-1 ii libxtst6 2:1.2.3-1.1 ii onboard-common 1.4.1-6 ii python3 3.11.6-1 ii python3-cairo 1.26.0-1 ii python3-dbus 1.3.2-5+b1 ii python3-gi-cairo 3.47.0-3 Versions of packages onboard recommends: ii gir1.2-atspi-2.0 2.52.0-1 pn gir1.2-ayatanaappindicator3-0.1 <none> ii onboard-data 1.4.1-6 ii xdg-utils 1.1.3-4.1 Versions of packages onboard suggests: ii mousetweaks 3.32.0-4 -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part