Bug#1085107: gedit: Python warnings when upgrading gedit

Enrique Garcia cquike at arcor.de
Mon Oct 14 19:40:25 BST 2024


Package: gedit
Version: 46.2-3+b1
Severity: normal
X-Debbugs-Cc: cquike at arcor.de

Dear Maintainer,

I am using Debian 13 (testing) and I have upgraded a bunch of packages which
included gedit. During the upgrade the following warnings appeared:

/usr/lib/x86_64-linux-gnu/gedit/plugins/externaltools/library.py:212:
SyntaxWarning: invalid escape sequence '\-'
  RE_KEY = re.compile('^([a-zA-Z_][a-zA-Z0-9_.\-]*)(\[([a-zA-Z_@]+)\])?$')
/usr/lib/x86_64-linux-gnu/gedit/plugins/snippets/substitutionparser.py:162:
SyntaxWarning: invalid escape sequence '\s'
  match = re.match('\\\\?%s\s*' % self.REG_GROUP, tokens)

 This is probably due to some last changes in the way regular expressions work
in python 12, which is now the default in Debian 13 as far as I can see.

I don't know whether the warnings are innocuous or they hide some other errors
behind the scenes.


-- Package-specific info:

-- 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/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gedit depends on:
iu  gedit-common                  46.2-3
ii  gir1.2-glib-2.0               2.80.4-1
iu  gir1.2-gtk-3.0                3.24.43-1
iu  gir1.2-gtksource-300          299.0.4-3+b1
iu  gir1.2-pango-1.0              1.54.0+ds-1
ii  gir1.2-peas-1.0               1.36.0-3+b2
iu  gir1.2-tepl-6                 6.8.0-2+b2
ii  gsettings-desktop-schemas     47~alpha-2
ii  iso-codes                     4.16.0-1
ii  libc6                         2.39-6
ii  libcairo2                     1.18.0-3+b1
ii  libgdk-pixbuf-2.0-0           2.42.12+dfsg-1
iu  libgedit-amtk-5-0             5.8.0-4+b1
iu  libgedit-gtksourceview-300-0  299.0.4-3+b1
ii  libgirepository-1.0-1         1.80.1-3+b1
ii  libglib2.0-0t64               2.80.4-1
iu  libgspell-1-2                 1.12.2-1+b2
iu  libgtk-3-0t64                 3.24.43-1
ii  libpango-1.0-0                1.54.0+ds-1
iu  libpeas-1.0-0                 1.36.0-3+b2
iu  libtepl-6-4                   6.8.0-2+b2
ii  python3                       3.12.4-1
ii  python3-gi                    3.48.2-1+b1
iu  python3-gi-cairo              3.48.2-1+b1
ii  python3.12                    3.12.4-3

Versions of packages gedit recommends:
iu  yelp    42.2-1+b2
iu  zenity  4.0.2-1

Versions of packages gedit suggests:
ii  gedit-plugins  46.0-2

-- no debconf information



More information about the pkg-gnome-maintainers mailing list