When I use the python3-pip from ppa:ci-train-ppa-service/3690 and run:
/usr/bin/pip3 install --index-url https://test.pypi.org/simple/ 
--extra-index-url https://pypi.org/simple metapho
in a virtualenv that's brand new except that I've installed wheel, I get:

Looking in indexes: https://test.pypi.org/simple/, https://pypi.org/simple
Requirement already satisfied: metapho in 
/home/akkana/.local/lib/python3.7/site-packages (1.0)
Requirement already satisfied: pycairo in /usr/lib/python3/dist-packages (from 
metapho) (1.16.2)
Requirement already satisfied: PyGObject in /usr/lib/python3/dist-packages 
(from metapho) (3.34.0)

Is that what it's supposed to do? I created the virtualenv with python3
-m venv /tmp/testpythonenv,  no --system-site-packages, and what I want
it to do is pull the requirements from pypi.org, not find them in
/usr/lib/python3. (It also shouldn't be putting anything in .local when
I'm using a venv, but that's a different issue.)

Does anyone know if this is thought to be fixed in Fossa?

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  `--extra-index-url` not working for PIP

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to