[Pkg-samba-maint] Bug#1063149: "SyntaxWarning: invalid escape sequence '\s'" errors on updating
Daniel Vacek
neelx.g at gmail.com
Mon Feb 5 11:51:05 GMT 2024
Package: python3-samba
Version: 2:4.19.4+dfsg-3
Severity: normal
X-Debbugs-Cc: neelx.g at gmail.com
Hi,
As per the `Subject`, on today's updating I got the following output on
terminal:
```
Setting up python3-samba (2:4.19.4+dfsg-3) ...
/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/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+)")
```
The expectation is no warnings being reported.
This seems to be partially fixed by upstream commits 26ff87dc and bd8c3afe.
https://gitlab.com/samba-
team/samba/-/commit/26ff87dcfeaf5a2aff5f28c0aa5d99437c79a68c
https://gitlab.com/samba-
team/samba/-/commit/bd8c3afe1060b48fdf640560518d33ee50e675f6
But the remaining `tests/samba_tool/join_member.py:43` still seems broken
upstream.
I guess this could be backported till new upstream version is packaged.
Have a nice day,
--nX
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.6.8-rt-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FORCED_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.8-1
ii libc6 2.37-15~deb13u1
ii libgnutls30 3.8.3-1
ii libldb2 2:2.8.0+samba4.19.4+dfsg-3
ii libpython3.11 3.11.7-2
ii libtalloc2 2.4.2-1
ii libtevent0 0.16.1-1
ii python3 3.11.6-1
ii python3-ldb 2:2.8.0+samba4.19.4+dfsg-3
ii python3-talloc 2.4.2-1
ii python3-tdb 1.4.10-1
ii samba-libs [libndr3] 2:4.19.4+dfsg-3
Versions of packages python3-samba recommends:
ii python3-gpg 1.18.0-4+b1
python3-samba suggests no packages.
-- no debconf information
More information about the Pkg-samba-maint
mailing list