Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1031969: python3.10-venv: python3-venv no longer installable since python3-distutils 3.11.2-2

382 views
Skip to first unread message

Tomas Janousek

unread,
Feb 25, 2023, 9:30:03 PM2/25/23
to

Package: python3.10-venv
Version: 3.10.10-2
Severity: normal

Today's apt full-upgrade removed python3.10-venv and it can't be installed any more, as it depends on python3.10-distutils which isn't provided by python3-distutils any more. Up until today, everything worked—I had both 3.10 and 3.11 venvs lying around and working fine.

-- System Information:
Debian Release: bookworm/sid
APT prefers stable-security
APT policy: (990, 'stable-security'), (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_USER, TAINT_WARN
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3.10-venv depends on:
ii python3-pip-whl 23.0+dfsg-2
ii python3-setuptools-whl 66.1.1-1
ii python3.10 3.10.10-2
pn python3.10-distutils <none>

python3.10-venv recommends no packages.

python3.10-venv suggests no packages.

--

Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/

Sam Watkins

unread,
Mar 1, 2023, 12:40:07 PM3/1/23
to
The package is not installable, and it's necessary for anyone who uses bookworm for AI work and anything else that might need 3.10.

I was using Debian "testing" with torch. Torch is not fully compatible with 3.11,
and now the 3.10 packaging is broken and we can no longer create a 3.10 venv.

Sam Watkins

unread,
Mar 1, 2023, 8:10:04 PM3/1/23
to
FWIW, I used the following hacky workaround for the moment:

Create a file: python3.10-distutils-bogus:

Section: python
Priority: optional
Standards-Version: 3.9.2

Package: python3.10-distutils-bogus
Version: 1.0
Maintainer: Sam Watkins <s...@ucm.dev>
Provides: python3.10-distutils
Description: Dummy package to satisfy python3.10-distutils

Run:

equivs-build python3.10-distutils
dpkg -i
sudo dpkg -i python3.10-distutils-bogus_1.0_all.deb
sudo apt install python3.10-venv

It does seem to work okay to create venvs.

0 new messages