Package: python3-pyasn
Version: 1.6.1-3+b4
Severity: normal
Usertags: warnings
User: debian-pyt...@lists.debian.org
Usertags: python3.12

When installing pyasn I get a syntax warning with Python 3.12,
the fix would be to use raw strings with Python regexes:

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

   Selecting previously unselected package python3-pyasn.
   Preparing to unpack .../16-python3-pyasn_1.6.1-3+b4_amd64.deb ...
   Unpacking python3-pyasn (1.6.1-3+b4) ...
   Setting up python3-pyasn (1.6.1-3+b4) ...
   /usr/lib/python3/dist-packages/pyasn/__init__.py:201: SyntaxWarning: invalid 
escape sequence '\.'
     pattern = re.compile("^[AS]|[as]|[aS]|[As]][0-9]*(\.)?[0-9]+")

-- 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.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 python3-pyasn depends on:
ii  libc6    2.37-19
ii  python3  3.11.8-1

python3-pyasn recommends no packages.

python3-pyasn suggests no packages.

-- 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