Bug#1077048: /usr/share/gtk-doc/python/gtkdoc/scan.py: warnings with python3.12

Vincent Lefevre vincent at vinc17.net
Thu Jul 25 15:26:10 BST 2024


Package: gtk-doc-tools
Version: 1.34.0-1
Severity: normal

During upgrade, I get the following warnings for
/usr/share/gtk-doc/python/gtkdoc/scan.py:

Setting up python3 (3.12.4-1) ...
running python rtupdate hooks for python3.12...
/usr/share/gtk-doc/python/gtkdoc/scan.py:44: SyntaxWarning: invalid escape sequence '\s'
  VAR_TYPE_MODIFIER = '(?:' + '|'.join([t + '\s+' for t in TYPE_MODIFIERS]) + ')*'
/usr/share/gtk-doc/python/gtkdoc/scan.py:45: SyntaxWarning: invalid escape sequence '\s'
  RET_TYPE_MODIFIER = '(?:' + '|'.join([t + '\s+' for t in TYPE_MODIFIERS + ['G_CONST_RETURN']]) + ')*'
/usr/share/gtk-doc/python/gtkdoc/scan.py:238: SyntaxWarning: invalid escape sequence '\('
  ignore_decorators = '|' + options.ignore_decorators.replace('()', '\(\w*\)')
/usr/share/gtk-doc/python/gtkdoc/scan.py:239: SyntaxWarning: invalid escape sequence '\s'
  optional_decorators_regex = '(?:\s+(?:%s))?' % ignore_decorators[1:]
/usr/share/gtk-doc/python/gtkdoc/scan.py:487: SyntaxWarning: invalid escape sequence '\('
  ignore_decorators = '|' + options.ignore_decorators.replace('()', '\(\w*\)')
/usr/share/gtk-doc/python/gtkdoc/scan.py:488: SyntaxWarning: invalid escape sequence '\s'
  optional_decorators_regex = '(?:\s+(?:%s))?' % ignore_decorators[1:]

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.9-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gtk-doc-tools depends on:
ii  docbook-to-man    1:2.0.0-47
ii  docbook-xml       4.5-13
ii  docbook-xsl       1.79.2+dfsg-7
ii  pkgconf           1.8.1-3
ii  python3           3.12.4-1
ii  python3-lxml      5.2.2-1
ii  python3-pygments  2.18.0+dfsg-1
ii  xsltproc          1.1.35-1.1

gtk-doc-tools recommends no packages.

Versions of packages gtk-doc-tools suggests:
ii  dblatex  0.3.12py3-4

-- no debconf information

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-gnome-maintainers mailing list