[Python-modules-team] Bug#930407: python3-uinput: should python3-uinput depend on python3-distutils?

Mikko Tuumanen bugs at k2c42.dy.fi
Wed Jun 12 09:34:38 BST 2019

Package: python3-uinput
Version: 0.11.2-1
Severity: normal

Dear Maintainer,

"import uinput" in python3 fails if python3-distutils is not installed.

# python3 -c 'import uinput'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/uinput/__init__.py", line 39, in
    import distutils.sysconfig as sysconfig
ModuleNotFoundError: No module named 'distutils.sysconfig'
# apt install python3-distutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 142 kB of archives.
After this operation, 715 kB of additional disk space will be used.
Get:1 http://ftp.fi.debian.org/debian buster/main amd64 python3-distutils all
3.7.3-1 [142 kB]
Fetched 142 kB in 0s (0 B/s)
Selecting previously unselected package python3-distutils.
(Reading database ... 76379 files and directories currently installed.)
Preparing to unpack .../python3-distutils_3.7.3-1_all.deb ...
Unpacking python3-distutils (3.7.3-1) ...
Setting up python3-distutils (3.7.3-1) ...
# python3 -c 'import uinput'

-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/6 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-uinput depends on:
ii  libc6     2.28-10
ii  libudev1  241-5
ii  python3   3.7.3-1

python3-uinput recommends no packages.

python3-uinput suggests no packages.

-- no debconf information

More information about the Python-modules-team mailing list