Package: python3-commonmark-bkrs
Version: 0.5.4+ds-7.1
Severity: normal
Usertags: warnings
User: debian-pyt...@lists.debian.org
Usertags: python3.12

Installing python3-commonmark-bkrs gives Python 3.12 warnings,
the fix for this is to use raw strings:

https://docs.python.org/3/library/re.html#raw-string-notation

   Selecting previously unselected package python3-commonmark-bkrs.
   Preparing to unpack .../python3-commonmark-bkrs_0.5.4+ds-7.1_all.deb ...
   Unpacking python3-commonmark-bkrs (0.5.4+ds-7.1) ...
   Setting up python3-commonmark-bkrs (0.5.4+ds-7.1) ...
   /usr/lib/python3/dist-packages/CommonMark_bkrs/CommonMark.py:186: 
SyntaxWarning: invalid escape sequence '\s'
     return bool(re.compile("^\s*$").match(s))
   /usr/lib/python3/dist-packages/CommonMark_bkrs/CommonMark.py:338: 
SyntaxWarning: invalid escape sequence '\/'
     
"^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>")
   /usr/lib/python3/dist-packages/CommonMark_bkrs/CommonMark.py:385: 
SyntaxWarning: invalid escape sequence '\s'
     numdelims <= 3) and (not re.match("\s", char_after))
   /usr/lib/python3/dist-packages/CommonMark_bkrs/CommonMark.py:387: 
SyntaxWarning: invalid escape sequence '\s'
     numdelims <= 3) and (not re.match("\s", char_before))
   /usr/lib/python3/dist-packages/CommonMark_bkrs/CommonMark.py:1008: 
SyntaxWarning: invalid escape sequence '\g'
     re.sub(r'(?:(\\#) *#*| *#+) *$', '\g<1>', ln[offset:])]
   
-- 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')
Architecture: amd64 (x86_64)

Kernel: Linux 6.8.11-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 python3-commonmark-bkrs depends on:
ii  python3  3.11.8-1

python3-commonmark-bkrs recommends no packages.

Versions of packages python3-commonmark-bkrs suggests:
pn  python-commonmark-bkrs-doc  <none>

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

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

Reply via email to