Package: dh-python
Version: 6.20230802
Severity: important
X-Debbugs-Cc: [email protected], Tianyu Chen <[email protected]>,
Tianyu Chen <[email protected]>
Hi,
As bug #1032866, dh-python should Depend on python3 >= 3.11 else
pyproject plugin won't auto detect.
D: pybuild __init__:40: cannot initialize 'pyproject' plugin
Traceback (most recent call last):
File "/usr/share/dh-python/dhpython/build/__init__.py", line 32, in
<module>
module = __import__("dhpython.build.plugin_%s" % i, fromlist=[i])
File "/usr/share/dh-python/dhpython/build/plugin_pyproject.py", line
28, in <module>
import tomllib
ModuleNotFoundError: No module named 'tomllib'
Sincerely,
Tianyu Chen
-- System Information:
Distributor ID: Deepin
Description: Deepin 23
Release: 23
Codename: beige
Architecture: x86_64
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dh-python depends on:
ii python3 3.10.4-1
ii python3-distutils 3.9.12-1
dh-python recommends no packages.
Versions of packages dh-python suggests:
ii dpkg-dev 1.21.20-1deepin2+rb6
pn flit <none>
ii libdpkg-perl 1.21.20-1deepin2+rb6
ii python3-build 0.10.0-1
ii python3-installer 0.4.0+dfsg1-1
ii python3-wheel 0.34.2-1
-- no debconf information