[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1069988: marked as done (onboard: Onboard/Appearance.py: SyntaxWarning: invalid escape sequence '\w')



Your message dated Wed, 10 Jul 2024 10:50:39 +0000
with message-id <E1sRUuF-00EZ5j-CW@fasolo.debian.org>
and subject line Bug#1069988: fixed in onboard 1.4.1-7
has caused the Debian Bug report #1069988,
regarding onboard: Onboard/Appearance.py: SyntaxWarning: invalid escape sequence '\w'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1069988: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069988
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: onboard
Version: 1.4.1-6
Severity: normal
File: /usr/lib/python3/dist-packages/Onboard/Appearance.py
Usertags: warnings
User: debian-python@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

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: onboard
Source-Version: 1.4.1-7
Done: Mike Gabriel <sunweaver@debian.org>

We believe that the bug you reported is fixed in the latest version of
onboard, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1069988@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated onboard package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 10 Jul 2024 10:25:05 +0200
Source: onboard
Architecture: source
Version: 1.4.1-7
Distribution: unstable
Urgency: medium
Maintainer: Debian+Ubuntu MATE Packaging Team <debian-mate@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 1069988 1071098
Changes:
 onboard (1.4.1-7) unstable; urgency=medium
 .
   [ Jeremy Bícha ]
   * debian/control:
     + Add Build-Depends: iso-codes for build tests
 .
   [ Bo YU ]
   * debian/rules:
     + Export LC_ALL when building. (Closes: #1071098).
 .
   [ Mike Gabriel ]
   * debian/patches:
     + Trivial rebase of 1008_enable-tests-during-build.patch.
     + Update 1005_fix-invalid-escape-sequences.patch. Add more double-
       backslashed regexp escape sequences. (Closes: #1069988).
     + Update 1005_fix-invalid-escape-sequences.patch. Switch to raw
       strings where possible.
     + Merge patch 1009 into patch 1005. Both have been about regexp fixes /
       escape sequences in regexps.
   * debian/control:
     + Add to B-D: locales-all (for unit tests).
Checksums-Sha1:
 ed9ac7074e6f07dc791eb746c77b2368f7b9a5b0 2885 onboard_1.4.1-7.dsc
 b62dfbc4cc99e36cfa47052290e9aedf8d7c4a87 31536 onboard_1.4.1-7.debian.tar.xz
 71a6d3a3c0bcbf8be02b80d5e8bb3057877b73ee 18509 onboard_1.4.1-7_source.buildinfo
Checksums-Sha256:
 7ef4ef97a96bf089c25c82950b905cc0f53f1bc0855be8509e3ec967e730d924 2885 onboard_1.4.1-7.dsc
 62a855b9ec865b33fa5dc1a00657c34c478d3dc9fff6a0943fa3d2b174b6d3b8 31536 onboard_1.4.1-7.debian.tar.xz
 b28378cda3559d924e7360a1b97adc15d7988363b5115b618079bba80b634dfe 18509 onboard_1.4.1-7_source.buildinfo
Files:
 10307c460c98fb25bcbfed0f316aa7af 2885 gnome optional onboard_1.4.1-7.dsc
 106e9301d63be7d5fbc73d3d200f77e2 31536 gnome optional onboard_1.4.1-7.debian.tar.xz
 063b2e82d3b6b34111c6378c451d4872 18509 gnome optional onboard_1.4.1-7_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmaOYkIVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxA8EQALbYCKF5BZRj6GgrFfK9VcJipcwk
2cGXJAxo9Ukg1VtHDc6Q+9nc9cp8roaLgjd0tl7QdQkvo7gB6+uIfBZW7gNV70qk
KYSCHWbDHiRCZgwqz6GSRi9KjWF1rl4IZZqX7G7DzBPsF3/A1q+lxEZdR7NLbXdS
0eJuR9r8MgHjvxf0Ntc6zNCreyzcqyXUbhzmTP+817pOrx+WIJ0GGjHC/HR/vSf9
VNBpk3w0IJ+Jgv6r3V5uyzPbdk0V8TF/N4888ver7sT5j2T2eFcowic5uX56fcZd
SyNuqYPJVxqNA/HDJ69qnswnZ2C+5HFytgellNnL9Iil5zOL/MRHsMByLfBLvSEi
lSNAqoSuIESDq1PQzipB1wGEEdiaXavX/mTGzLj3EUk/XWIlK1T6nqthmcM6NPvA
D2/gDYLD9paCJW8wXZKUz+tvOZYmK80pS3e7CIcgIsKzRzrDQn2VY2v6XceXRtYf
RyZeaNfksYWh0tgg+QhOhO/+pSnzg4BrC1CNj5hLBxF1EqLL94klK3wD4u3LLQp0
JhheNgjDYmF3G/oPvxfcDbIQUF8+q68NRGyeSB8yEMK7TndPGAUVBk5vtKpgMRPb
oufk90SWMmm/PYcbrhyW0ZCAXjI///XAp/dArghT7/xFYOGWJSbSqwzKLLgm/TKB
6Dn+10PcE6KYmfkP
=uWgz
-----END PGP SIGNATURE-----

Attachment: pgpuvylF8LkRm.pgp
Description: PGP signature


--- End Message ---

Reply to: