You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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
The text was updated successfully, but these errors were encountered:
Yes, pip install --no-build-isolation -e . does seem to reliably work without network access under the same circumstances. And it looks like there's some pending PEP 518 related work in tox: tox-dev/tox#573
Environment
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
whenusedevelop=True
(which is relatively common).Expected behavior
How to Reproduce
git clone [email protected]:pypa/setuptools.git
cd setuptools
pip install -e .
Output
The text was updated successfully, but these errors were encountered: