Package: pypy3 Version: 7.3.16+dfsg-2 Control: affects -1 + debusine-client X-Debbugs-Cc: cjwat...@debian.org
Hi, more and more code requires more recent Python features. Debian bookworm has 3.11 and since 3.10, the match syntax is supported. Hence code now starts using this syntax more widely. Unfortunately, pypy does not yet support it and when pypy happens to be installed, this causes e.g. the following output while installing other packages: | Setting up python3-debusine (0.3.2) ... | Failed to byte-compile /usr/lib/python3/dist-packages/debusine/client/cli.py: File "/usr/lib/python3/dist-packages/debusine/client/cli.py", line 383 | match getattr(self.args, 'sub-command'): | ^ | SyntaxError: invalid syntax. Perhaps you forgot a comma? | | Failed to byte-compile /usr/lib/python3/dist-packages/debusine/tasks/_task.py: File "/usr/lib/python3/dist-packages/debusine/tasks/_task.py", line 192 | match cls.TASK_TYPE: | ^ | SyntaxError: invalid syntax. Perhaps you forgot a comma? | | Failed to byte-compile /usr/lib/python3/dist-packages/debusine/tasks/models.py: File "/usr/lib/python3/dist-packages/debusine/tasks/models.py", line 209 | match split_words(s): | ^ | SyntaxError: invalid syntax. Perhaps you forgot a comma? This bug can be closed by supporting the match syntax. If there is a way to declare that debusine is incompatible with pypy and pypy3compile should be skipped, please reassign this bug to debusine indicating how to do so. I suspect lack of match affects more packages before too long. Helmut