[Pkg-samba-maint] Bug#1057668: python3-samba: many regex-related SyntaxWarnings (invalid escape sequence) on update

наб nabijaczleweli at nabijaczleweli.xyz
Wed Dec 6 21:59:55 GMT 2023


Package: python3-samba
Version: 2:4.19.3+dfsg-1
Severity: normal

Dear Maintainer,

Straight from apt upgrade's mouth:
-- >8 --
Setting up python3-samba (2:4.19.3+dfsg-1) ...#####################################...]
/usr/lib/python3/dist-packages/samba/gp/gp_cert_auto_enroll_ext.py:319: SyntaxWarning: invalid escape sequence '\A'
  return 'Cryptography\AutoEnrollment'
/usr/lib/python3/dist-packages/samba/gp/gp_cert_auto_enroll_ext.py:371: SyntaxWarning: invalid escape sequence '\P'
  section = 'Software\Policies\Microsoft\Cryptography\AutoEnrollment'
/usr/lib/python3/dist-packages/samba/gp/gp_cert_auto_enroll_ext.py:491: SyntaxWarning: invalid escape sequence '\P'
  section = 'Software\Policies\Microsoft\Cryptography\AutoEnrollment'
/usr/lib/python3/dist-packages/samba/tests/dns_forwarder_helpers/server.py:80: SyntaxWarning: invalid escape sequence '\s'
  m = re.match(b'^timeout\s+([\d.]+)$', data.strip())
/usr/lib/python3/dist-packages/samba/tests/gpo.py:126: SyntaxWarning: invalid escape sequence '\L'
  b"""
/usr/lib/python3/dist-packages/samba/tests/gpo.py:263: SyntaxWarning: invalid escape sequence '\P'
  b"""
/usr/lib/python3/dist-packages/samba/tests/gpo.py:285: SyntaxWarning: invalid escape sequence '\P'
  b"""
/usr/lib/python3/dist-packages/samba/tests/gpo.py:2097: SyntaxWarning: invalid escape sequence '\P'
  b"""
/usr/lib/python3/dist-packages/samba/tests/gpo.py:4954: SyntaxWarning: invalid escape sequence '\P'
  b"""
/usr/lib/python3/dist-packages/samba/tests/samba_tool/gpo.py:1809: SyntaxWarning: invalid
escape sequence '\s'
  cse_ext = re.findall('^UniqueGUID\s+:\s+(.*)', out)
/usr/lib/python3/dist-packages/samba/tests/samba_tool/join_member.py:43: SyntaxWarning: invalid escape sequence '\s'
  existing_records = re.findall('A:\s+(\d+\.\d+\.\d+\.\d+)\s', out)
/usr/lib/python3/dist-packages/samba/tests/samba_tool/ntacl.py:93: SyntaxWarning: invalid
escape sequence '\s'
  self.assertNotRegex(err, '^\s*File [^,]+, line \d+, in',
/usr/lib/python3/dist-packages/samba/tests/samba_tool/user_virtualCryptSHA.py:42: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile("^" + name + ":\s+(\S+)")
/usr/lib/python3/dist-packages/samba/tests/samba_tool/user_virtualCryptSHA_base.py:42: SyntaxWarning: invalid escape sequence '\s'
  p = re.compile("^" + name + ":\s+(\S+)")
-- >8 --

Best,
наб

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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 python3-samba depends on:
ii  libbsd0         0.11.7-4
ii  libc6           2.37-13
ii  libgnutls30     3.8.2-1
ii  libldb2         2:2.8.0+samba4.19.3+dfsg-1
ii  libpython3.11   3.11.7-1
ii  libtalloc2      2.4.1-2
ii  libtevent0      0.15.0-1
ii  python3         3.11.6-1
ii  python3-ldb     2:2.8.0+samba4.19.3+dfsg-1
ii  python3-talloc  2.4.1-2
ii  python3-tdb     1.4.9-2
ii  samba-libs      2:4.19.3+dfsg-1

Versions of packages python3-samba recommends:
ii  python3-gpg  1.18.0-4+b1

python3-samba suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20231206/ac84873f/attachment.sig>


More information about the Pkg-samba-maint mailing list