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
Installing setuptools, pip, wheel...
Complete output from command /home/jenkins/.local...z5im/bin/python3.6.8 - setuptools pip wheel:
Looking in links: /usr/local/lib/python3.7/site-packages/virtualenv_support
Collecting setuptools
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)",)': /packages/af/e7/02db816dc88c598281bacebbb7ccf2c9f1a6164942e88f1a0fded8643659/setuptools-45.0.0-py2.py3-none-any.whl
Downloading https://files.pythonhosted.org/packages/af/e7/02db816dc88c598281bacebbb7ccf2c9f1a6164942e88f1a0fded8643659/setuptools-45.0.0-py2.py3-none-any.whl (583kB)
Collecting pip
Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/virtualenv_support/pip-19.0.3-py2.py3-none-any.whl/pip/_vendor/urllib3/response.py", line 360, in _error_catcher
yield
File "/usr/local/lib/python3.7/site-packages/virtualenv_support/pip-19.0.3-py2.py3-none-any.whl/pip/_vendor/urllib3/response.py", line 442, in read
data = self._fp.read(amt)
File "/usr/local/lib/python3.7/site-packages/virtualenv_support/pip-19.0.3-py2.py3-none-any.whl/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
data = self.__fp.read(amt)
File "/usr/local/python3.6.8/lib/python3.6/http/client.py", line 449, in read
n = self.readinto(b)
File "/usr/local/python3.6.8/lib/python3.6/http/client.py", line 493, in readinto
n = self.fp.readinto(b)
File "/usr/local/python3.6.8/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/usr/local/python3.6.8/lib/python3.6/ssl.py", line 1012, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/python3.6.8/lib/python3.6/ssl.py", line 874, in read
return self._sslobj.read(len, buffer)
File "/usr/local/python3.6.8/lib/python3.6/ssl.py", line 631, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
Please run $ pipenv --support, and paste the results here. Don't put backticks (`) around it! The output already contains Markdown formatting.
@yili1992 This should be solved with pipenv==2022.8.19 and the index package restrictions implemented earlier this year. Pass the --index argument though instead of --pypi-mirror to specify to use an index other than the default index in the Pipfile (which is the first source listed). For more details: https://pipenv.pypa.io/en/latest/advanced/#specifying-package-indexes
Issue description
I want to change PyPi index when creating virtual environment, but pipenv still to download package via default pypi source(files.pythonhosted.org)
Expected result
when creating virtual environment , it will to download setuptools via https://mirrors.163.com/pypi/simple
Actual result
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
Please run
$ pipenv --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting.{'implementation_name': 'cpython',
'implementation_version': '3.7.0',
'os_name': 'posix',
'platform_machine': 'x86_64',
'platform_python_implementation': 'CPython',
'platform_release': '4.9.0-9-amd64',
'platform_system': 'Linux',
'platform_version': '#1 SMP Debian 4.9.168-1 (2019-04-12)',
'python_full_version': '3.7.0',
'python_version': '3.7',
'sys_platform': 'linux'}
The text was updated successfully, but these errors were encountered: