Package: pypi2deb
Version: 3.20220721
Severity: serious
Usertags: crash
User:
debian...@lists.debian.org
Usertags: python3.11
With Python 3.11 in a clean sid chroot, both py2dsp and pypi2debian
crash with an error about the asyncio module attributes. This can also
be seen on a mixed bookworm/sid system when forcing python3.11 usage.
$ py2dsp
Traceback (most recent call last):
File "/usr/bin/py2dsp", line 32, in <module>
from pypi2deb.debianize import debianize
File "/usr/share/pypi2deb/pypi2deb/debianize.py", line 29, in <module>
from pypi2deb.tools import execute
File "/usr/share/pypi2deb/pypi2deb/tools.py", line 92, in <module>
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?
$ pypi2debian
Traceback (most recent call last):
File "/usr/bin/pypi2debian", line 35, in <module>
from pypi2deb.debianize import debianize
File "/usr/share/pypi2deb/pypi2deb/debianize.py", line 29, in <module>
from pypi2deb.tools import execute
File "/usr/share/pypi2deb/pypi2deb/tools.py", line 92, in <module>
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
$ python3.11 /usr/bin/py2dsp
Traceback (most recent call last):
File "/usr/bin/py2dsp", line 32, in <module>
from pypi2deb.debianize import debianize
File "/usr/share/pypi2deb/pypi2deb/debianize.py", line 29, in <module>
from pypi2deb.tools import execute
File "/usr/share/pypi2deb/pypi2deb/tools.py", line 92, in <module>
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
merged-usr: no
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages pypi2deb depends on:
ii build-essential 12.9
ii devscripts 2.22.2
ii dh-python 5.20230109
ii python3 3.11.1-1
ii python3-aiohttp 3.8.3-1+b1
ii python3-debian 0.1.49
ii python3-github 1.55-3
ii python3-jinja2 3.0.3-2
ii python3-redis 4.3.4-3
Versions of packages pypi2deb recommends:
pn python3-msgpack <none>
Versions of packages pypi2deb suggests:
pn cython <none>
pn cython3 <none>
pn pypy <none>
pn python-all-dev <none>
pn python-nose <none>
pn python-pytest <none>
pn python-setuptools <none>
pn python3-all-dev <none>
pn python3-nose <none>
pn python3-pytest <none>
pn python3-setuptools <none>
pn python3-sphinx <none>
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise