Skip to content

pip should respect package index option when installing build requirements #5315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
daa opened this issue Apr 20, 2018 · 3 comments
Closed
Labels
auto-locked Outdated issues that have been locked by automation type: bug A confirmed bug or unintended behavior

Comments

@daa
Copy link

daa commented Apr 20, 2018

  • Pip version: 10.0.1
  • Python version: 2.7.14
  • Operating system: Ubuntu Linux

Description:

I tried to build wheel using pyproject.toml and using only wheels available at my own wheelhouse. As may be seen from logs pip downloads transitive dependencies from pypi however it must try to find dependencies only at places I specified and do not use pypi and external sources at all.

What I've run:

$ cat pyproject.toml 
[build-system]
requires = ["svn"]

$ pip wheel -v --find-links ~/wheelhouse/ --no-index .
... here pip searches for links for svn package
  Processing .../wheelhouse/svn-0.3.44-py2.py3-none-any.whl
  Collecting python-dateutil>=2.2 (from svn==0.3.44)
    Downloading https://files.pythonhosted.org/packages/0c/57/19f3a65bcf6d5be570ee8c35a5398496e10a0ddcbc95393b2d17f86aaaf8/python_dateutil-2.7.2-py2.py3-none-any.whl (212kB)
  Collecting nose (from svn==0.3.44)
    Downloading https://files.pythonhosted.org/packages/99/4f/13fb671119e65c4dce97c60e67d3fd9e6f7f809f2b307e2611f4701205cb/nose-1.3.7-py2-none-any.whl (154kB)
  Collecting six>=1.5 (from python-dateutil>=2.2->svn==0.3.44)
    Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
  Installing collected packages: six, python-dateutil, nose, svn
@pradyunsg
Copy link
Member

Indeed. This should get fixed in #5286.

@pradyunsg pradyunsg added the type: bug A confirmed bug or unintended behavior label Apr 20, 2018
@benoit-pierre
Copy link
Member

#5286 has been merged, this can probably be closed.

@lock
Copy link

lock bot commented Jun 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 2, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants