Package: python-systemd Version: 234-3build6 Severity: normal User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jammy
Dear Maintainer, This bug report was also filed in Ubuntu and can be found at https://launchpad.net/bugs/1963582 The description, from Dan Bungert, follows: Attempting to use the Reader class with python3.10, such as documented in the example at https://www.freedesktop.org/software/systemd/python-systemd/journal.html?highlight=reader#systemd.journal.Reader, results in the following traceback File "/usr/lib/python3/dist-packages/systemd/journal.py", line 376, in this_boot self.add_match(_BOOT_ID=bootid) File "/usr/lib/python3/dist-packages/systemd/journal.py", line 244, in add_match super(Reader, self).add_match(arg) SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats I have sent a MR that should help, using a cherry-picked commit from upstream. https://salsa.debian.org/systemd-team/python-systemd/-/merge_requests/2 -Dan