Your message dated Wed, 8 Mar 2023 13:29:25 +0000
with message-id <[email protected]>
and subject line Re: Bug#1032490: python3-pip: Add config option to use
--break-system-packages system-wide
has caused the Debian Bug report #1032490,
regarding python3-pip: Add config option to use --break-system-packages
system-wide
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1032490: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032490
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pip
Version: 23.0.1+dfsg-1
Severity: important
X-Debbugs-Cc: [email protected]
I do understand PEP-668, and majority of reasons behind it.
But please let me allow to disable this per-user (config and/or env variable)
and/or system-wide (via config), without passing --break-system-packages on
every
invocation of pip3. (shell alias is not good either).
Using virtualenv, venv, pyenv, pipx, is not an option or preference for me.
I believe one of the options is to remove /usr/lib/python3.11/EXTERNALLY-MANAGED
(via diversion?). If this is so, please document this in Chapter 5, section
5.2.2
of the bookworm release notes. And possibly in
/usr/share/doc/python3.11/README.venv or somewhere there.
Regards,
Witold
-- System Information:
Debian Release: 12.0
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.2.0-rc5 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_UNSIGNED_MODULE, TAINT_SOFTLOCKUP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python3-pip depends on:
ii ca-certificates 20211016
ii python3 3.11.2-1
ii python3-distutils 3.11.2-2
ii python3-setuptools 66.1.1-1
ii python3-wheel 0.38.4-1
Versions of packages python3-pip recommends:
ii build-essential 12.9
ii python3-dev 3.11.2-1
python3-pip suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi Witold (2023.03.08_01:40:25_+0000)
Good news, I think everything you want has already been done:
> But please let me allow to disable this per-user (config and/or env variable)
> and/or system-wide (via config), without passing --break-system-packages on
> every
> invocation of pip3. (shell alias is not good either).
Both are possible:
The environment variable is: PIP_BREAK_SYSTEM_PACKAGES=1
The config is:
[global]
break-system-packages = true
I'll add these to /usr/share/doc/python3.11/README.venv but that
probably won't make it in time for bookworm.
> I believe one of the options is to remove
> /usr/lib/python3.11/EXTERNALLY-MANAGED
> (via diversion?). If this is so, please document this in Chapter 5, section
> 5.2.2
> of the bookworm release notes. And possibly in
> /usr/share/doc/python3.11/README.venv or somewhere there.
This is documented in /usr/share/doc/python3.11/README.venv already in
3.11.2-5.
SR
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
--- End Message ---