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

Michael Tokarev mjt at tls.msk.ru
Wed Dec 6 22:09:11 GMT 2023


Control: tag -1 + upstream
Control: found -1 2:4.9.5+dfsg-5

07.12.2023 00:59, наб wrote:
> 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'

This is a new warning in python 3.11.6.  Up until this version,
such construct were allowed.  It is everywhere in samba sources.
So it looks like it is not samba to blame but python.

/mjt



More information about the Pkg-samba-maint mailing list