-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
C: editableEditable installationsEditable installationsauto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automation
Description
Environment
- pip version: 10.0.1
- Python version: 3.6.3
- OS: Mac OS X 10.11.6
Description
An editable installation of a local setuptools checkout fails when there is no network access under pip 10.0.0 and pip 10.0.1. It works under pip 9.0.3, so this seems to be a regression. Also reproduced on another developer's notebook at the PyCon sprints.
This is particularly problematic because it blocks offline execution of tests via tox
when usedevelop=True
(which is relatively common).
Expected behavior
$ pip install -e /Users/jeremybowman/Source/setuptools
Obtaining file:///Users/jeremybowman/Source/setuptools
Installing collected packages: setuptools
Found existing installation: setuptools 39.1.0.post20180516
Uninstalling setuptools-39.1.0.post20180516:
Successfully uninstalled setuptools-39.1.0.post20180516
Running setup.py develop for setuptools
Successfully installed setuptools
How to Reproduce
- Clone the setuptools git repo:
git clone [email protected]:pypa/setuptools.git
- Change into the setuptools project directory:
cd setuptools
- Then run
pip install -e .
- The error shown below occurs.
Output
$ git clone [email protected]:pypa/setuptools.git
$ cd setuptools
$ pip install -e .
Obtaining file:///Users/jeremybowman/Source/setuptools
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x1040d4cc0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',)': /simple/setuptools/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x10409ce80>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',)': /simple/setuptools/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x1040c1eb8>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',)': /simple/setuptools/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x1040c1fd0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',)': /simple/setuptools/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x1040c1be0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',)': /simple/setuptools/
Could not find a version that satisfies the requirement setuptools (from versions: )
No matching distribution found for setuptools
Metadata
Metadata
Assignees
Labels
C: editableEditable installationsEditable installationsauto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automation