Hi Simon (2022.09.07_00:26:25_+0200)
> pip installs the dependencies into /tmp/pip-build-env-XXXXXXXX/overlay,
> with the Python code in
> /tmp/pip-build-env-XXXXXXXX/overlay/local/lib/python3.10/dist-packages
> and the executables in /tmp/pip-build-env-XXXXXXXX/overlay/local/bin/:

My initial triage of this is that pip is calling a sub-pip with --prefix in
src/pip/_vendor/pep517/envbuild.py

That will use the posix_local scheme by default on Debian, which won't do
what pip expects, when it assumes the posix_prefix scheme to be used.
Probably selecting having pip explicitly select posix_prefix when
--prefix is supplied would make sense. I don't know what the pip
upstream will think about having to do that...

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

Reply via email to