Package: python3-distutils
Version: 3.9.1-2
Severity: normal
Dear Maintainer,
For years I've known that installing a newer version of Python
on my Debian system breaks existing virtualenvs set up for the
old Python version. Today I investigated a little and found out
why:
While this packages lists, among other things,
Breaks: ..., libpython3.8-stdlib (< 3.8.0~b2-5)
In fact, installing it at this version removes most files from
/usr/lib/python3.8/distutils/ and thereby breaks any use of
distutils or setuptools under python 3.8, and that most certainly
includes libpython3.8-stdlib=3.8.7-1 which I currently have
installed, as well as, I believe, any other version of libpython3.8-stdlib.
I see two, non-exclusionary paths to solve this:
- Just mark the breakage correctly
- Provide real, rather than virtual, python3.x-distutils packages
Thanks,
Shai.
-- System Information:
Debian Release: bullseye/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_IL, LC_CTYPE=en_IL (charmap=UTF-8), LANGUAGE=en_IL:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-distutils depends on:
ii python3 3.9.1-1
ii python3-lib2to3 3.9.1-2
python3-distutils recommends no packages.
python3-distutils suggests no packages.
-- no debconf information