Package: python3-kitchen
Version: 1.2.6-5
Severity: normal

Dear Maintainer,

Since the upgrade to python3.12 importing kitchen prints the following warnings

In [1]: import kitchen
/usr/lib/python3/dist-packages/kitchen/text/converters.py:800: SyntaxWarning: 
invalid escape sequence '\*'
  '''Return a byte :class:`bytes` encoded so it is valid inside of any xml
/usr/lib/python3/dist-packages/kitchen/text/converters.py:832: SyntaxWarning: 
invalid escape sequence '\*'
  '''Decode a string encoded using :func:`bytes_to_xml`

I do not know if this leads to wrong results anywhere, but it at least
unnecessarily pollutes the output of tools using the module.

best wishes
Nicola

-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (990, 'stable-security'), (990, 'testing'), (500, 
'testing-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.9-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-kitchen depends on:
ii  python3  3.12.3-1

python3-kitchen recommends no packages.

Versions of packages python3-kitchen suggests:
pn  python-kitchen-doc  <none>

-- no debconf information

Reply via email to