Control: reassign -1 python3-pip
Control: affects -1 pypy3

Hi Brian (2019.11.20_15:04:44_-0800)
> # pypy3 -m pip

The recommended (and supported) mechanism is to use pip with a
virtualenv.

i.e.

pypy3 -m venv my-ve
ve/bin/python -m pip ...

That works.

However, this is a bug.

The vendor wheel hack in pip depends on sys.prefix, which is /usr for
python3 and /usr/lib/pypy3 from pypy3.

I don't know what the right solution here is. I can think of:
1. Create a symlink /usr/lib/pypy3/share/python-wheels in the pypy3
   package. Eww.
2. Special-case /usr/lib/pypy3 -> /usr in the pip patch.
3. Hard-code WHEEL_DIR in pip. Means it'll be used in venvs too.

Leaning towards 2.

SR

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

Reply via email to