• Bug#1104276: python3: Lots of warnings after today's upgrade

    From Helge Kreutzmann@21:1/5 to All on Mon Apr 28 09:10:01 2025
    This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages.

    Package: python3
    Version: 3.13.3-1
    Severity: normal


    I just did today dist-upgrade, end it ended in lots of warnings (see
    below). Unfortunatly, I only captured the end, so I don't know whats
    missing. Further, please reassign this if necessary, the following
    packages were upgraded:
    libpython3-dev:amd64 (3.13.2-2, 3.13.3-1), python3-minimal:amd64
    (3.13.2-2, 3.13.3-1), python3:amd64 (3.13.2-2, 3.13.3-1),
    python3-all:amd64 (3.13.2-2, 3.13.3-1), python3-dev:amd64 (3.13.2-2, 3.13.3-1), libpython3-stdlib:amd64 (3.13.2-2, 3.13.3-1)

    Since I'm not speaking python I don't know which package this is and
    if this messages are harmless or relevant.

    If you need anything additional or if I should try out things, please
    let me know.

    Here are the messages I captured:
    /usr/share/hplip/base/models.py:444: SyntaxWarning: invalid escape sequence '\d'
    re.compile('^in-tray(\d+)', re.IGNORECASE) : TYPE_BOOL, /usr/share/hplip/base/models.py:445: SyntaxWarning: invalid escape sequence '\d'
    re.compile('^out-tray(\d+)', re.IGNORECASE) : TYPE_BOOL, /usr/share/hplip/base/models.py:446: SyntaxWarning: invalid escape sequence '\d'
    re.compile('^model(\d+)', re.IGNORECASE) : TYPE_STR, /usr/share/hplip/base/password.py:212: SyntaxWarning: invalid escape sequence '\['
    cb = cb.replace("[", "\[")
    /usr/share/hplip/base/password.py:213: SyntaxWarning: invalid escape sequence '\]'
    cb = cb.replace("]", "\]")
    /usr/share/hplip/base/queues.py:48: SyntaxWarning: invalid escape sequence '\*'
    NICKNAME_PATTERN = re.compile(b'''\*NickName:\s*\"(.*)"''', re.MULTILINE) /usr/share/hplip/base/status.py:1335: SyntaxWarning: invalid escape sequence '\s'
    pjl_code_pat = re.compile("""^CODE\s*=\s*(\d.*)$""", re.IGNORECASE) /usr/share/hplip/base/tui.py:220: SyntaxWarning: invalid escape sequence '\|'
    self.spinner = "\|/-\|/-*"
    /usr/share/hplip/base/utils.py:150: SyntaxWarning: invalid escape sequence '\w'
    lis = ((re.findall('SystemGroup [\w* ]*',fp.read()))[0].replace('SystemGroup ','')).split(' ')
    /usr/share/hplip/base/utils.py:1584: SyntaxWarning: invalid escape sequence '\*'
    USAGE_LOGGING2 = ("", "<level>: none, info\*, error, warn, debug (\*default)", "option", False)
    /usr/share/hplip/base/utils.py:1592: SyntaxWarning: invalid escape sequence '\*'
    USAGE_BUS2 = ("", "<bus>: cups\*, usb\*, net, bt, fw, par\* (\*defaults) (Note: bt and fw not supported in this release.)", 'option', False)
    /usr/share/hplip/base/utils.py:1598: SyntaxWarning: invalid escape sequence '\*'
    USAGE_STD_NOTES2 = ("If -p\* is specified, the default CUPS printer will be used.", "", "note", False)
    /usr/share/hplip/base/utils.py:1826: SyntaxWarning: invalid escape sequence '\-'
    log.info(".SH NAME\n%s \- %s" % (crumb, title)) /usr/share/hplip/base/utils.py:1925: SyntaxWarning: invalid escape sequence '\w'
    return re.sub("&#?\w+;", fixup, text)
    /usr/share/hplip/base/utils.py:1978: SyntaxWarning: invalid escape sequence '\d'
    pat=re.compile('''(\d{1,})([a-z]{1,})''')
    /usr/share/hplip/check.py:630: SyntaxWarning: invalid escape sequence '\s'
    lsusb_pat = re.compile("""^Bus\s([0-9a-fA-F]{3,3})\sDevice\s([0-9a-fA-F]{3,3}):\sID\s([0-9a-fA-F]{4,4}):([0-9a-fA-F]{4,4})(.*)""", re.IGNORECASE)
    /usr/share/hplip/fax/ledmfax.py:46: SyntaxWarning: invalid escape sequence '\d'
    http_result_pat = re.compile(b"""HTTP/\d.\d\s(\d+)""", re.I) /usr/share/hplip/fax/soapfax.py:44: SyntaxWarning: invalid escape sequence '\d'
    http_result_pat = re.compile("""HTTP/\d.\d\s(\d+)""", re.I) /usr/share/hplip/installer/dcheck.py:35: SyntaxWarning: invalid escape sequence '\d'
    ver1_pat = re.compile("""(\d+\.\d+\.\d+)""", re.IGNORECASE) /usr/share/hplip/installer/dcheck.py:36: SyntaxWarning: invalid escape sequence '\d'
    ver_pat = re.compile("""(\d+\.\d+)""", re.IGNORECASE) /usr/share/hplip/installer/dcheck.py:360: SyntaxWarning: invalid escape sequence '\d'
    xsane_ver_pat =re.compile('''xsane-(\d{1,}\.\d{1,}).*''') /usr/share/hplip/makeuri.py:49: SyntaxWarning: invalid escape sequence '\*'
    ("To specify the port on a multi-port JetDirect:", "-p<port> or --port=<port> (Valid values are 1\*, 2, and 3. \*default)", "option", False),
    /usr/share/hplip/prnt/cups.py:170: SyntaxWarning: invalid escape sequence '\s'
    pat_cups_error_log = re.compile("""^loglevel\s?(debug|debug2|warn|info|error|none)""", re.I)
    /usr/share/hplip/probe.py:45: SyntaxWarning: invalid escape sequence '\*'
    ("", "<bus>: cups, usb\*, net, bt, fw, par (\*default) (Note: bt and fw not supported in this release.)", "option", False),
    /usr/share/hplip/probe.py:49: SyntaxWarning: invalid escape sequence '\*'
    ("", "<filter list>: comma separated list of one or more of: scan, pcard, fax, copy, or none\*. (\*none is the default)", "option", False),
    /usr/share/hplip/scan.py:254: SyntaxWarning: invalid escape sequence '\*'
    ("Scan mode:", "-m<mode> or --mode=<mode>. Where <mode> is 'gray'\*, 'color' or 'lineart'.", "option", False),
    /usr/share/hplip/scan.py:271: SyntaxWarning: invalid escape sequence '\*'
    ("", "where <units> is 'mm'\*, 'cm', 'in', 'px', or 'pt' ('mm' is default).", "option", False),
    /usr/share/hplip/setup.py:82: SyntaxWarning: invalid escape sequence '\*'
    ("To specify the port on a multi-port JetDirect:", "--port=<port> (Valid values are 1\*, 2, and 3. \*default)", "option", False),
    /usr/share/hplip/setup.py:86: SyntaxWarning: invalid escape sequence '\*'
    ("Type of queue(s) to install:", "-t<typelist> or --type=<typelist>. <typelist>: print*, fax\* (\*default) (-i mode only)", "option", False),
    /usr/share/games/seahorse-adventures/lib/pgu/gui/theme.py:106: SyntaxWarning: invalid escape sequence '\.'
    is_image = re.compile('\.(gif|jpg|bmp|png|tga)$', re.I) /usr/share/games/seahorse-adventures/lib/pgu/html.py:115: SyntaxWarning: invalid escape sequence '\D'
    anum = re.compile("\D") /usr/share/games/seahorse-adventures/lib/pgu/html.py:432: SyntaxWarning: invalid escape sequence '\s'
    txt = re.compile("\s+").sub(" ",txt)
    running python post-rtupdate hooks for python3.13...
    python3-dev (3.13.3-1) wird eingerichtet ...
    python3-all (3.13.3-1) wird eingerichtet ...

    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (500, 'testing')
    Architecture: amd64 (x86_64)

    Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)

    Versions of packages python3 depends on:
    ii libpython3-stdlib 3.13.3-1
    ii python3-minimal 3.13.3-1
    ii python3.13 3.13.3-2

    python3 recommends no packages.

    Versions of packages python3 suggests:
    pn python3-doc <none>
    ii python3-tk 3.13.3-1
    pn python3-venv <none>

    -- no debconf information

    --
    Dr. Helge Kreutzmann debian@helgefjell.de
    Dipl.-Phys. http://www.helgefjell.de/debian.php
    64bit GNU powered gpg signed mail preferred
    Help keep free software "libre": http://www.ffii.de/

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEbZZfteMW0gNUynuwQbqlJmgq5nAFAmgPKMIACgkQQbqlJmgq 5nBVPA/9G+QI1qYBJgzF9Y2uh/bWLRIEnmDNQ8NTqOuYLJmFJ19ua98KRAMSqRLo EDo+aoyWwUfgy5CMNLB0JQJcaMW5cnxr8gWh6Gt5rjqRzU7AnnyLJCLwc0n5Nlrg Dgz/fE/bEu1rlj2bcjfTt+fRquWa/ZSS35L/kn99TOlYDRawAbOkLDmYhoDL1qKz Xuag0olyPzAd9AJvyyWvA5i7JuvmVoIMS5q4L2CH+oz0bvt8TdReen2XqC7FZc44 7VtpJXvYT80DMq9PpPSmW0TgsoUWaVc7gk9MIcju0C82m+EuM66UkPbDNJTi9Uj6 xmidffBmmcNXzCsHn1Re2qT1ZEyr+XSfdvfpcPVgtGYbP1T1KwttggbPxB0wMpmr wP8kbircrX3G3emzvUI6BOWEkteYSEHcBsdY24OxCGxfqtuDxxVzoOJ1MEN68B8z P15wGW6FhELfo0SEy0VhlbjOMvnihBZ69mkzAvr0Cm42yr6P7+vakF4lUy0CODxs s+koXSgegIuWQEAWnw/G9rZZyF0R9B8+Oh3X4Ecb/MDFKFC3fVGpWZfeXAANOU/J FvMQ6/m5oyhKC2WxxM4/lKFu23iUHm9MzMuFeu8