Skip to content

Instantly share code, notes, and snippets.

@eduzen
Created September 11, 2021 14:32
Show Gist options
  • Save eduzen/d80d675087baa26175b7a019fbf9c592 to your computer and use it in GitHub Desktop.
Save eduzen/d80d675087baa26175b7a019fbf9c592 to your computer and use it in GitHub Desktop.
GLOB sdist-make: /home/eduzen/Projects/personal/pip/setup.py
py39 inst-nodeps: /home/eduzen/Projects/personal/pip/.tox/.tmp/package/1/pip-21.3.dev0.zip
py39 installed: attrs==21.2.0,cffi==1.14.6,coverage==5.5,cryptography==3.4.8,execnet==1.9.0,freezegun==1.1.0,iniconfig==1.1.1,packaging==21.0,pip @ file:///home/eduzen/Projects/personal/pip/.tox/.tmp/package/1/pip-21.3.dev0.zip,pluggy==1.0.0,py==1.10.0,pycparser==2.20,pyparsing==2.4.7,pytest==6.2.5,pytest-cov==2.12.1,pytest-forked==1.3.0,pytest-rerunfailures==10.1,pytest-xdist==2.3.0,python-dateutil==2.8.2,scripttest==1.3,setuptools==57.4.0,six==1.16.0,toml==0.10.2,tomli_w==0.3.0,virtualenv==16.7.12,Werkzeug==2.0.1,wheel==0.36.2
py39 run-test-pre: PYTHONHASHSEED='4044394296'
py39 run-test-pre: commands[0] | python -c 'import shutil, sys; shutil.rmtree(sys.argv[1], ignore_errors=True)' /home/eduzen/Projects/personal/pip/tests/data/common_wheels
py39 run-test-pre: commands[1] | python /home/eduzen/Projects/personal/pip/tools/tox_pip.py wheel -w /home/eduzen/Projects/personal/pip/tests/data/common_wheels -r /home/eduzen/Projects/personal/pip/tests/requirements-common_wheels.txt
Looking in indexes: https://nexus.k8s.mgmt.gcp.aidence.com/repository/pypi-all/simple
Collecting setuptools>=40.8.0
Using cached https://nexus.k8s.mgmt.gcp.aidence.com/repository/pypi-all/packages/setuptools/58.0.4/setuptools-58.0.4-py3-none-any.whl (816 kB)
Collecting wheel
Using cached https://nexus.k8s.mgmt.gcp.aidence.com/repository/pypi-all/packages/wheel/0.37.0/wheel-0.37.0-py2.py3-none-any.whl (35 kB)
Collecting coverage>=4.4
Using cached https://nexus.k8s.mgmt.gcp.aidence.com/repository/pypi-all/packages/coverage/5.5/coverage-5.5-cp39-cp39-manylinux2010_x86_64.whl (243 kB)
Saved ./tests/data/common_wheels/wheel-0.37.0-py2.py3-none-any.whl
Saved ./tests/data/common_wheels/coverage-5.5-cp39-cp39-manylinux2010_x86_64.whl
Saved ./tests/data/common_wheels/setuptools-58.0.4-py3-none-any.whl
py39 run-test: commands[0] | pytest -n auto -m unit
============================= test session starts ==============================
platform linux -- Python 3.9.5, pytest-6.2.5, py-1.10.0, pluggy-1.0.0
cachedir: .tox/py39/.pytest_cache
rootdir: /home/eduzen/Projects/personal/pip, configfile: setup.cfg
plugins: cov-2.12.1, xdist-2.3.0, forked-1.3.0, rerunfailures-10.1
gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I / gw6 I / gw7 I / gw8 I / gw9 I / gw10 I / gw11 I / gw12 I / gw13 I / gw14 I / gw15 I
gw0 [1418] / gw1 [1418] / gw2 [1418] / gw3 [1418] / gw4 [1418] / gw5 [1418] / gw6 [1418] / gw7 [1418] / gw8 [1418] / gw9 [1418] / gw10 [1418] / gw11 [1418] / gw12 [1418] / gw13 [1418] / gw14 [1418] / gw15 [1418]
........................................................................ [ 4%]
.....................................s...........s.............s........ [ 10%]
......................................................................... [ 15%]
........................................................................ [ 20%]
........................................................................ [ 25%]
........................................................................... [ 30%]
...............................................................X......... [ 35%]
...................................ss.s................................. [ 40%]
........................................................................ [ 46%]
......s....................s............................................ [ 50%]
......................................................................... [ 56%]
........................................................................ [ 61%]
.................................F........................................ [ 66%]
........................................................................ [ 71%]
...................................................................s.... [ 76%]
........................................................................ [ 81%]
.......................................s................................. [ 86%]
s....................................................................... [ 91%]
.........................x......x..x........x........................... [ 97%]
......................................... [100%]
=================================== FAILURES ===================================
_____________ test_finder_installs_pre_releases_with_version_spec ______________
[gw4] linux -- Python 3.9.5 /home/eduzen/Projects/personal/pip/.tox/py39/bin/python
def test_finder_installs_pre_releases_with_version_spec():
"""
Test PackageFinder only accepts stable versioned releases by default.
"""
req = install_req_from_line("bar>=0.0.dev0", None)
links = ["https://foo/bar-1.0.tar.gz", "https://foo/bar-2.0b1.tar.gz"]
finder = make_test_finder(links)
> found = finder.find_requirement(req, False)
tests/unit/test_finder.py:442:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py:875: in find_requirement
best_candidate_result = self.find_best_candidate(
.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py:857: in find_best_candidate
candidates = self.find_all_candidates(project_name)
.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py:819: in find_all_candidates
paths = [url_to_path(c.link.url) for c in file_candidates]
.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py:819: in <listcomp>
paths = [url_to_path(c.link.url) for c in file_candidates]
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
url = 'https://foo/bar-2.0b1.tar.gz'
def url_to_path(url: str) -> str:
"""
Convert a file: URL to a path.
"""
> assert url.startswith(
"file:"
), f"You can only turn file: urls into filenames (not {url!r})"
E AssertionError: You can only turn file: urls into filenames (not 'https://foo/bar-2.0b1.tar.gz')
.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/urls.py:30: AssertionError
----------------------------- Captured stderr call -----------------------------
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.9/logging/__init__.py", line 1083, in emit
msg = self.format(record)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 184, in format
if self.should_color():
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 171, in should_color
if hasattr(real_stream, "isatty") and real_stream.isatty():
ValueError: I/O operation on closed file.
Call stack:
File "<string>", line 1, in <module>
File "<string>", line 8, in <module>
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1554, in serve
WorkerGateway(io=io, id=id, _startcount=2).serve()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1060, in serve
self._execpool.integrate_as_primary_thread()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread
self._perform_spawn(reply)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn
reply.run()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 220, in run
self._result = func(*args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1084, in executetask
do_exec(co, loc) # noqa
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 246, in <module>
config.hook.pytest_cmdline_main(config=config)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 316, in pytest_cmdline_main
return wrap_session(config, _main)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 269, in wrap_session
session.exitstatus = doit(config, session) or 0
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 323, in _main
config.hook.pytest_runtestloop(session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 72, in pytest_runtestloop
self.run_one_test(torun)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 89, in run_one_test
self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 109, in pytest_runtest_protocol
runtestprotocol(item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 126, in runtestprotocol
reports.append(call_and_report(item, "call", log))
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 215, in call_and_report
call = call_runtest_hook(item, when, **kwds)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 254, in call_runtest_hook
return CallInfo.from_call(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 311, in from_call
result: Optional[TResult] = func()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 255, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 162, in pytest_runtest_call
item.runtest()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 1641, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 183, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/eduzen/Projects/personal/pip/tests/unit/test_finder.py", line 442, in test_finder_installs_pre_releases_with_version_spec
found = finder.find_requirement(req, False)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 875, in find_requirement
best_candidate_result = self.find_best_candidate(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 857, in find_best_candidate
candidates = self.find_all_candidates(project_name)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 791, in find_all_candidates
collected_sources = self._link_collector.collect_sources(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 531, in collect_sources
logger.debug("\n".join(lines))
Message: '2 location(s) to search for versions of bar:\n* https://foo/bar-1.0.tar.gz\n* https://foo/bar-2.0b1.tar.gz'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.9/logging/__init__.py", line 1083, in emit
msg = self.format(record)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 184, in format
if self.should_color():
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 171, in should_color
if hasattr(real_stream, "isatty") and real_stream.isatty():
ValueError: I/O operation on closed file.
Call stack:
File "<string>", line 1, in <module>
File "<string>", line 8, in <module>
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1554, in serve
WorkerGateway(io=io, id=id, _startcount=2).serve()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1060, in serve
self._execpool.integrate_as_primary_thread()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread
self._perform_spawn(reply)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn
reply.run()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 220, in run
self._result = func(*args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1084, in executetask
do_exec(co, loc) # noqa
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 246, in <module>
config.hook.pytest_cmdline_main(config=config)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 316, in pytest_cmdline_main
return wrap_session(config, _main)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 269, in wrap_session
session.exitstatus = doit(config, session) or 0
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 323, in _main
config.hook.pytest_runtestloop(session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 72, in pytest_runtestloop
self.run_one_test(torun)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 89, in run_one_test
self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 109, in pytest_runtest_protocol
runtestprotocol(item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 126, in runtestprotocol
reports.append(call_and_report(item, "call", log))
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 215, in call_and_report
call = call_runtest_hook(item, when, **kwds)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 254, in call_runtest_hook
return CallInfo.from_call(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 311, in from_call
result: Optional[TResult] = func()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 255, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 162, in pytest_runtest_call
item.runtest()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 1641, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 183, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/eduzen/Projects/personal/pip/tests/unit/test_finder.py", line 442, in test_finder_installs_pre_releases_with_version_spec
found = finder.find_requirement(req, False)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 875, in find_requirement
best_candidate_result = self.find_best_candidate(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 857, in find_best_candidate
candidates = self.find_all_candidates(project_name)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 805, in find_all_candidates
page_candidates = list(page_candidates_it)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/sources.py", line 134, in page_candidates
yield from self._candidates_from_page(self._link)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 761, in process_project_url
logger.debug(
Message: 'Fetching project page and analyzing links: %s'
Arguments: (<Link https://foo/bar-1.0.tar.gz>,)
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.9/logging/__init__.py", line 1083, in emit
msg = self.format(record)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 184, in format
if self.should_color():
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 171, in should_color
if hasattr(real_stream, "isatty") and real_stream.isatty():
ValueError: I/O operation on closed file.
Call stack:
File "<string>", line 1, in <module>
File "<string>", line 8, in <module>
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1554, in serve
WorkerGateway(io=io, id=id, _startcount=2).serve()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1060, in serve
self._execpool.integrate_as_primary_thread()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread
self._perform_spawn(reply)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn
reply.run()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 220, in run
self._result = func(*args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1084, in executetask
do_exec(co, loc) # noqa
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 246, in <module>
config.hook.pytest_cmdline_main(config=config)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 316, in pytest_cmdline_main
return wrap_session(config, _main)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 269, in wrap_session
session.exitstatus = doit(config, session) or 0
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 323, in _main
config.hook.pytest_runtestloop(session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 72, in pytest_runtestloop
self.run_one_test(torun)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 89, in run_one_test
self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 109, in pytest_runtest_protocol
runtestprotocol(item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 126, in runtestprotocol
reports.append(call_and_report(item, "call", log))
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 215, in call_and_report
call = call_runtest_hook(item, when, **kwds)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 254, in call_runtest_hook
return CallInfo.from_call(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 311, in from_call
result: Optional[TResult] = func()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 255, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 162, in pytest_runtest_call
item.runtest()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 1641, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 183, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/eduzen/Projects/personal/pip/tests/unit/test_finder.py", line 442, in test_finder_installs_pre_releases_with_version_spec
found = finder.find_requirement(req, False)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 875, in find_requirement
best_candidate_result = self.find_best_candidate(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 857, in find_best_candidate
candidates = self.find_all_candidates(project_name)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 805, in find_all_candidates
page_candidates = list(page_candidates_it)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/sources.py", line 134, in page_candidates
yield from self._candidates_from_page(self._link)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 765, in process_project_url
html_page = self._link_collector.fetch_page(project_url)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 492, in fetch_page
return _get_html_page(location, session=self.session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 397, in _get_html_page
resp = _get_html_response(url, session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 110, in _get_html_response
_ensure_html_response(url, session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 90, in _ensure_html_response
resp = session.head(url, allow_redirects=True)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 577, in head
return self.request('HEAD', url, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/network/session.py", line 443, in request
return super().request(method, url, *args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 688, in urlopen
conn = self._get_conn(timeout=pool_timeout)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 280, in _get_conn
return conn or self._new_conn()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 971, in _new_conn
log.debug(
Message: 'Starting new HTTPS connection (%d): %s:%s'
Arguments: (1, 'foo', 443)
--- Logging error ---
Traceback (most recent call last):
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 1010, in _validate_conn
conn.connect()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connection.py", line 353, in connect
conn = self._new_conn()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
pip._vendor.urllib3.exceptions.NewConnectionError: <pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff0454937c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
pip._vendor.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='foo', port=443): Max retries exceeded with url: /bar-1.0.tar.gz (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff0454937c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 397, in _get_html_page
resp = _get_html_response(url, session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 110, in _get_html_response
_ensure_html_response(url, session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 90, in _ensure_html_response
resp = session.head(url, allow_redirects=True)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 577, in head
return self.request('HEAD', url, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/network/session.py", line 443, in request
return super().request(method, url, *args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
pip._vendor.requests.exceptions.ConnectionError: HTTPSConnectionPool(host='foo', port=443): Max retries exceeded with url: /bar-1.0.tar.gz (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff0454937c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/logging/__init__.py", line 1083, in emit
msg = self.format(record)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 184, in format
if self.should_color():
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 171, in should_color
if hasattr(real_stream, "isatty") and real_stream.isatty():
ValueError: I/O operation on closed file.
Call stack:
File "<string>", line 1, in <module>
File "<string>", line 8, in <module>
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1554, in serve
WorkerGateway(io=io, id=id, _startcount=2).serve()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1060, in serve
self._execpool.integrate_as_primary_thread()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread
self._perform_spawn(reply)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn
reply.run()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 220, in run
self._result = func(*args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1084, in executetask
do_exec(co, loc) # noqa
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 246, in <module>
config.hook.pytest_cmdline_main(config=config)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 316, in pytest_cmdline_main
return wrap_session(config, _main)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 269, in wrap_session
session.exitstatus = doit(config, session) or 0
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 323, in _main
config.hook.pytest_runtestloop(session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 72, in pytest_runtestloop
self.run_one_test(torun)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 89, in run_one_test
self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 109, in pytest_runtest_protocol
runtestprotocol(item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 126, in runtestprotocol
reports.append(call_and_report(item, "call", log))
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 215, in call_and_report
call = call_runtest_hook(item, when, **kwds)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 254, in call_runtest_hook
return CallInfo.from_call(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 311, in from_call
result: Optional[TResult] = func()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 255, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 162, in pytest_runtest_call
item.runtest()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 1641, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 183, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/eduzen/Projects/personal/pip/tests/unit/test_finder.py", line 442, in test_finder_installs_pre_releases_with_version_spec
found = finder.find_requirement(req, False)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 875, in find_requirement
best_candidate_result = self.find_best_candidate(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 857, in find_best_candidate
candidates = self.find_all_candidates(project_name)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 805, in find_all_candidates
page_candidates = list(page_candidates_it)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/sources.py", line 134, in page_candidates
yield from self._candidates_from_page(self._link)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 765, in process_project_url
html_page = self._link_collector.fetch_page(project_url)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 492, in fetch_page
return _get_html_page(location, session=self.session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 421, in _get_html_page
_handle_get_page_fail(link, f"connection error: {exc}")
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 353, in _handle_get_page_fail
meth("Could not fetch URL %s: %s - skipping", link, reason)
Message: 'Could not fetch URL %s: %s - skipping'
Arguments: (<Link https://foo/bar-1.0.tar.gz>, "connection error: HTTPSConnectionPool(host='foo', port=443): Max retries exceeded with url: /bar-1.0.tar.gz (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff0454937c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))")
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.9/logging/__init__.py", line 1083, in emit
msg = self.format(record)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 184, in format
if self.should_color():
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 171, in should_color
if hasattr(real_stream, "isatty") and real_stream.isatty():
ValueError: I/O operation on closed file.
Call stack:
File "<string>", line 1, in <module>
File "<string>", line 8, in <module>
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1554, in serve
WorkerGateway(io=io, id=id, _startcount=2).serve()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1060, in serve
self._execpool.integrate_as_primary_thread()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread
self._perform_spawn(reply)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn
reply.run()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 220, in run
self._result = func(*args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1084, in executetask
do_exec(co, loc) # noqa
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 246, in <module>
config.hook.pytest_cmdline_main(config=config)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 316, in pytest_cmdline_main
return wrap_session(config, _main)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 269, in wrap_session
session.exitstatus = doit(config, session) or 0
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 323, in _main
config.hook.pytest_runtestloop(session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 72, in pytest_runtestloop
self.run_one_test(torun)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 89, in run_one_test
self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 109, in pytest_runtest_protocol
runtestprotocol(item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 126, in runtestprotocol
reports.append(call_and_report(item, "call", log))
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 215, in call_and_report
call = call_runtest_hook(item, when, **kwds)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 254, in call_runtest_hook
return CallInfo.from_call(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 311, in from_call
result: Optional[TResult] = func()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 255, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 162, in pytest_runtest_call
item.runtest()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 1641, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 183, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/eduzen/Projects/personal/pip/tests/unit/test_finder.py", line 442, in test_finder_installs_pre_releases_with_version_spec
found = finder.find_requirement(req, False)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 875, in find_requirement
best_candidate_result = self.find_best_candidate(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 857, in find_best_candidate
candidates = self.find_all_candidates(project_name)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 805, in find_all_candidates
page_candidates = list(page_candidates_it)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/sources.py", line 134, in page_candidates
yield from self._candidates_from_page(self._link)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 761, in process_project_url
logger.debug(
Message: 'Fetching project page and analyzing links: %s'
Arguments: (<Link https://foo/bar-2.0b1.tar.gz>,)
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.9/logging/__init__.py", line 1083, in emit
msg = self.format(record)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 184, in format
if self.should_color():
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 171, in should_color
if hasattr(real_stream, "isatty") and real_stream.isatty():
ValueError: I/O operation on closed file.
Call stack:
File "<string>", line 1, in <module>
File "<string>", line 8, in <module>
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1554, in serve
WorkerGateway(io=io, id=id, _startcount=2).serve()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1060, in serve
self._execpool.integrate_as_primary_thread()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread
self._perform_spawn(reply)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn
reply.run()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 220, in run
self._result = func(*args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1084, in executetask
do_exec(co, loc) # noqa
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 246, in <module>
config.hook.pytest_cmdline_main(config=config)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 316, in pytest_cmdline_main
return wrap_session(config, _main)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 269, in wrap_session
session.exitstatus = doit(config, session) or 0
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 323, in _main
config.hook.pytest_runtestloop(session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 72, in pytest_runtestloop
self.run_one_test(torun)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 89, in run_one_test
self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 109, in pytest_runtest_protocol
runtestprotocol(item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 126, in runtestprotocol
reports.append(call_and_report(item, "call", log))
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 215, in call_and_report
call = call_runtest_hook(item, when, **kwds)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 254, in call_runtest_hook
return CallInfo.from_call(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 311, in from_call
result: Optional[TResult] = func()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 255, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 162, in pytest_runtest_call
item.runtest()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 1641, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 183, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/eduzen/Projects/personal/pip/tests/unit/test_finder.py", line 442, in test_finder_installs_pre_releases_with_version_spec
found = finder.find_requirement(req, False)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 875, in find_requirement
best_candidate_result = self.find_best_candidate(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 857, in find_best_candidate
candidates = self.find_all_candidates(project_name)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 805, in find_all_candidates
page_candidates = list(page_candidates_it)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/sources.py", line 134, in page_candidates
yield from self._candidates_from_page(self._link)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 765, in process_project_url
html_page = self._link_collector.fetch_page(project_url)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 492, in fetch_page
return _get_html_page(location, session=self.session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 397, in _get_html_page
resp = _get_html_response(url, session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 110, in _get_html_response
_ensure_html_response(url, session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 90, in _ensure_html_response
resp = session.head(url, allow_redirects=True)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 577, in head
return self.request('HEAD', url, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/network/session.py", line 443, in request
return super().request(method, url, *args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 688, in urlopen
conn = self._get_conn(timeout=pool_timeout)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 280, in _get_conn
return conn or self._new_conn()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 971, in _new_conn
log.debug(
Message: 'Starting new HTTPS connection (%d): %s:%s'
Arguments: (2, 'foo', 443)
--- Logging error ---
Traceback (most recent call last):
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 1010, in _validate_conn
conn.connect()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connection.py", line 353, in connect
conn = self._new_conn()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
pip._vendor.urllib3.exceptions.NewConnectionError: <pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff045493f10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
pip._vendor.urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='foo', port=443): Max retries exceeded with url: /bar-2.0b1.tar.gz (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff045493f10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 397, in _get_html_page
resp = _get_html_response(url, session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 110, in _get_html_response
_ensure_html_response(url, session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 90, in _ensure_html_response
resp = session.head(url, allow_redirects=True)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 577, in head
return self.request('HEAD', url, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/network/session.py", line 443, in request
return super().request(method, url, *args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
pip._vendor.requests.exceptions.ConnectionError: HTTPSConnectionPool(host='foo', port=443): Max retries exceeded with url: /bar-2.0b1.tar.gz (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff045493f10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/logging/__init__.py", line 1083, in emit
msg = self.format(record)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 184, in format
if self.should_color():
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 171, in should_color
if hasattr(real_stream, "isatty") and real_stream.isatty():
ValueError: I/O operation on closed file.
Call stack:
File "<string>", line 1, in <module>
File "<string>", line 8, in <module>
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1554, in serve
WorkerGateway(io=io, id=id, _startcount=2).serve()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1060, in serve
self._execpool.integrate_as_primary_thread()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread
self._perform_spawn(reply)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn
reply.run()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 220, in run
self._result = func(*args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1084, in executetask
do_exec(co, loc) # noqa
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 246, in <module>
config.hook.pytest_cmdline_main(config=config)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 316, in pytest_cmdline_main
return wrap_session(config, _main)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 269, in wrap_session
session.exitstatus = doit(config, session) or 0
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 323, in _main
config.hook.pytest_runtestloop(session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 72, in pytest_runtestloop
self.run_one_test(torun)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 89, in run_one_test
self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 109, in pytest_runtest_protocol
runtestprotocol(item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 126, in runtestprotocol
reports.append(call_and_report(item, "call", log))
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 215, in call_and_report
call = call_runtest_hook(item, when, **kwds)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 254, in call_runtest_hook
return CallInfo.from_call(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 311, in from_call
result: Optional[TResult] = func()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 255, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 162, in pytest_runtest_call
item.runtest()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 1641, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 183, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/eduzen/Projects/personal/pip/tests/unit/test_finder.py", line 442, in test_finder_installs_pre_releases_with_version_spec
found = finder.find_requirement(req, False)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 875, in find_requirement
best_candidate_result = self.find_best_candidate(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 857, in find_best_candidate
candidates = self.find_all_candidates(project_name)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 805, in find_all_candidates
page_candidates = list(page_candidates_it)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/sources.py", line 134, in page_candidates
yield from self._candidates_from_page(self._link)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 765, in process_project_url
html_page = self._link_collector.fetch_page(project_url)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 492, in fetch_page
return _get_html_page(location, session=self.session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 421, in _get_html_page
_handle_get_page_fail(link, f"connection error: {exc}")
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/collector.py", line 353, in _handle_get_page_fail
meth("Could not fetch URL %s: %s - skipping", link, reason)
Message: 'Could not fetch URL %s: %s - skipping'
Arguments: (<Link https://foo/bar-2.0b1.tar.gz>, "connection error: HTTPSConnectionPool(host='foo', port=443): Max retries exceeded with url: /bar-2.0b1.tar.gz (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff045493f10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))")
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.9/logging/__init__.py", line 1083, in emit
msg = self.format(record)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 184, in format
if self.should_color():
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 171, in should_color
if hasattr(real_stream, "isatty") and real_stream.isatty():
ValueError: I/O operation on closed file.
Call stack:
File "<string>", line 1, in <module>
File "<string>", line 8, in <module>
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1554, in serve
WorkerGateway(io=io, id=id, _startcount=2).serve()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1060, in serve
self._execpool.integrate_as_primary_thread()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread
self._perform_spawn(reply)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn
reply.run()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 220, in run
self._result = func(*args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1084, in executetask
do_exec(co, loc) # noqa
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 246, in <module>
config.hook.pytest_cmdline_main(config=config)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 316, in pytest_cmdline_main
return wrap_session(config, _main)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 269, in wrap_session
session.exitstatus = doit(config, session) or 0
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 323, in _main
config.hook.pytest_runtestloop(session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 72, in pytest_runtestloop
self.run_one_test(torun)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 89, in run_one_test
self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 109, in pytest_runtest_protocol
runtestprotocol(item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 126, in runtestprotocol
reports.append(call_and_report(item, "call", log))
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 215, in call_and_report
call = call_runtest_hook(item, when, **kwds)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 254, in call_runtest_hook
return CallInfo.from_call(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 311, in from_call
result: Optional[TResult] = func()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 255, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 162, in pytest_runtest_call
item.runtest()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 1641, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 183, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/eduzen/Projects/personal/pip/tests/unit/test_finder.py", line 442, in test_finder_installs_pre_releases_with_version_spec
found = finder.find_requirement(req, False)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 875, in find_requirement
best_candidate_result = self.find_best_candidate(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 857, in find_best_candidate
candidates = self.find_all_candidates(project_name)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 813, in find_all_candidates
file_candidates = self.evaluate_links(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 752, in evaluate_links
candidate = self.get_install_candidate(link_evaluator, link)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 732, in get_install_candidate
is_candidate, result = link_evaluator.evaluate_link(link)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 230, in evaluate_link
logger.debug("Found link %s, version: %s", link, version)
Message: 'Found link %s, version: %s'
Arguments: (<Link https://foo/bar-2.0b1.tar.gz>, '2.0b1')
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.9/logging/__init__.py", line 1083, in emit
msg = self.format(record)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 184, in format
if self.should_color():
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 171, in should_color
if hasattr(real_stream, "isatty") and real_stream.isatty():
ValueError: I/O operation on closed file.
Call stack:
File "<string>", line 1, in <module>
File "<string>", line 8, in <module>
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1554, in serve
WorkerGateway(io=io, id=id, _startcount=2).serve()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1060, in serve
self._execpool.integrate_as_primary_thread()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 267, in integrate_as_primary_thread
self._perform_spawn(reply)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 285, in _perform_spawn
reply.run()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 220, in run
self._result = func(*args, **kwargs)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/execnet/gateway_base.py", line 1084, in executetask
do_exec(co, loc) # noqa
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 246, in <module>
config.hook.pytest_cmdline_main(config=config)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 316, in pytest_cmdline_main
return wrap_session(config, _main)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 269, in wrap_session
session.exitstatus = doit(config, session) or 0
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/main.py", line 323, in _main
config.hook.pytest_runtestloop(session=session)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 72, in pytest_runtestloop
self.run_one_test(torun)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/xdist/remote.py", line 89, in run_one_test
self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 109, in pytest_runtest_protocol
runtestprotocol(item, nextitem=nextitem)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 126, in runtestprotocol
reports.append(call_and_report(item, "call", log))
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 215, in call_and_report
call = call_runtest_hook(item, when, **kwds)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 254, in call_runtest_hook
return CallInfo.from_call(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 311, in from_call
result: Optional[TResult] = func()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 255, in <lambda>
lambda: ihook(item=item, **kwds), when=when, reraise=reraise
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/runner.py", line 162, in pytest_runtest_call
item.runtest()
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 1641, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/python.py", line 183, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/eduzen/Projects/personal/pip/tests/unit/test_finder.py", line 442, in test_finder_installs_pre_releases_with_version_spec
found = finder.find_requirement(req, False)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 875, in find_requirement
best_candidate_result = self.find_best_candidate(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 857, in find_best_candidate
candidates = self.find_all_candidates(project_name)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 813, in find_all_candidates
file_candidates = self.evaluate_links(
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 752, in evaluate_links
candidate = self.get_install_candidate(link_evaluator, link)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 732, in get_install_candidate
is_candidate, result = link_evaluator.evaluate_link(link)
File "/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/index/package_finder.py", line 230, in evaluate_link
logger.debug("Found link %s, version: %s", link, version)
Message: 'Found link %s, version: %s'
Arguments: (<Link https://foo/bar-1.0.tar.gz>, '1.0')
------------------------------ Captured log call -------------------------------
DEBUG  pip._internal.index.collector:collector.py:531 2 location(s) to search for versions of bar:
* https://foo/bar-1.0.tar.gz
* https://foo/bar-2.0b1.tar.gz
DEBUG  pip._internal.index.package_finder:package_finder.py:761 Fetching project page and analyzing links: https://foo/bar-1.0.tar.gz
DEBUG  pip._vendor.urllib3.connectionpool:connectionpool.py:971 Starting new HTTPS connection (1): foo:443
DEBUG  pip._internal.index.collector:collector.py:353 Could not fetch URL https://foo/bar-1.0.tar.gz: connection error: HTTPSConnectionPool(host='foo', port=443): Max retries exceeded with url: /bar-1.0.tar.gz (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff0454937c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) - skipping
DEBUG  pip._internal.index.package_finder:package_finder.py:761 Fetching project page and analyzing links: https://foo/bar-2.0b1.tar.gz
DEBUG  pip._vendor.urllib3.connectionpool:connectionpool.py:971 Starting new HTTPS connection (2): foo:443
DEBUG  pip._internal.index.collector:collector.py:353 Could not fetch URL https://foo/bar-2.0b1.tar.gz: connection error: HTTPSConnectionPool(host='foo', port=443): Max retries exceeded with url: /bar-2.0b1.tar.gz (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff045493f10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) - skipping
DEBUG  pip._internal.index.package_finder:package_finder.py:230 Found link https://foo/bar-2.0b1.tar.gz, version: 2.0b1
DEBUG  pip._internal.index.package_finder:package_finder.py:230 Found link https://foo/bar-1.0.tar.gz, version: 1.0
=============================== warnings summary ===============================
.tox/py39/lib/python3.9/site-packages/pip/_vendor/packaging/version.py:111: 1836 warnings
tests/unit/test_finder.py: 2 warnings
tests/unit/test_req.py: 432 warnings
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
warnings.warn(
tests/unit/test_finder.py::test_finder_only_installs_data_require
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_vendor/packaging/specifiers.py:273: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
warnings.warn(
tests/unit/test_locations.py::TestDistutilsScheme::test_root_modifies_appropriately
tests/unit/test_locations.py::TestDistutilsScheme::test_root_modifies_appropriately
tests/unit/test_locations.py::TestDistutilsScheme::test_prefix_modifies_appropriately
tests/unit/test_locations.py::TestDistutilsScheme::test_prefix_modifies_appropriately
tests/unit/test_req_file.py::TestParseRequirements::test_install_requirements_with_options
tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_install_prefix
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/setuptools/config.py:474: DeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
tests/unit/test_locations.py::TestDistutilsScheme::test_distutils_config_file_read
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'install-scripts' will not be supported in future versions. Please use the underscore name 'install_scripts' instead
warnings.warn(
tests/unit/test_locations.py::TestDistutilsScheme::test_distutils_config_file_read
tests/unit/test_locations.py::TestDistutilsScheme::test_install_lib_takes_precedence
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/locations/__init__.py:324: PipDeprecationWarning: DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
deprecated(
tests/unit/test_locations.py::TestDistutilsScheme::test_install_lib_takes_precedence
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'install-lib' will not be supported in future versions. Please use the underscore name 'install_lib' instead
warnings.warn(
tests/unit/test_req_file.py::TestParseRequirements::test_install_requirements_with_options
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/req/req_file.py:181: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
cmdoptions.check_install_build_global(options, line.opts)
tests/unit/test_operations_prepare.py::Test_unpack_url::test_unpack_url_thats_a_dir
tests/unit/test_operations_prepare.py::test_unpack_url_excludes_expected_dirs[.nox]
tests/unit/test_operations_prepare.py::test_unpack_url_excludes_expected_dirs[.tox]
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/pip/_internal/operations/prepare.py:201: PipDeprecationWarning: DEPRECATION: pip copied the source tree into a temporary directory before building it. This is changing so that packages are built in-place within the original source tree ("in-tree build"). pip 21.3 will enforce this behaviour change. You can use the flag --use-feature=in-tree-build to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/7555
deprecated(
-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
SKIPPED [2] tests/unit/test_collector.py:318: condition: sys.platform != 'win32'
SKIPPED [1] tests/unit/test_collector.py:295: condition: sys.platform != 'win32'
SKIPPED [3] tests/unit/test_req.py:685: Test only available on Windows
SKIPPED [1] tests/unit/test_urls.py:65: condition: sys.platform != 'win32'
SKIPPED [1] tests/unit/test_urls.py:30: condition: sys.platform != 'win32'
SKIPPED [1] tests/unit/test_vcs.py:19: Subversion is only required under CI
SKIPPED [1] tests/unit/test_vcs.py:597: Subversion Admin is not available
SKIPPED [1] tests/unit/test_vcs_mercurial.py:13: Mercurial is not available
XFAIL tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_invalid_entrypoints_fail[gui_scripts-hello = hello]
XFAIL tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_invalid_entrypoints_fail[console_scripts-hello = hello]
XFAIL tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_invalid_entrypoints_fail[console_scripts-hello = hello:]
XFAIL tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_invalid_entrypoints_fail[gui_scripts-hello = hello:]
XPASS tests/unit/test_models_wheel.py::TestWheelFile::test_supported_multiarch_darwin packaging.tags changed behaviour in this area, and @pradyunsg decided as the release manager that this behaviour change is less critical than Big Sur support for pip 20.3. See https://github.com/pypa/packaging/pull/361 for further discussion.
FAILED tests/unit/test_finder.py::test_finder_installs_pre_releases_with_version_spec
= 1 failed, 1401 passed, 11 skipped, 4 xfailed, 1 xpassed, 2285 warnings in 7.92s =
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-eduzen/garbage-2513cabe-6230-455a-9fb8-fc762df1d6f3/popen-gw3/test_rmtree_errorhandler_rerai0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_rmtree_errorhandler_rerai0'
warnings.warn(
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-eduzen/garbage-2513cabe-6230-455a-9fb8-fc762df1d6f3/popen-gw3/test_rmtree_errorhandler_reado0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_rmtree_errorhandler_reado0'
warnings.warn(
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-eduzen/garbage-2513cabe-6230-455a-9fb8-fc762df1d6f3/popen-gw3
<class 'OSError'>: [Errno 39] Directory not empty: 'popen-gw3'
warnings.warn(
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-eduzen/garbage-2513cabe-6230-455a-9fb8-fc762df1d6f3/popen-gw9/test_safe_set_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_set_no_perms0'
warnings.warn(
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-eduzen/garbage-2513cabe-6230-455a-9fb8-fc762df1d6f3/popen-gw9/test_safe_delete_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_delete_no_perms0'
warnings.warn(
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-eduzen/garbage-2513cabe-6230-455a-9fb8-fc762df1d6f3/popen-gw9/test_safe_get_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_get_no_perms0'
warnings.warn(
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-eduzen/garbage-2513cabe-6230-455a-9fb8-fc762df1d6f3/popen-gw9
<class 'OSError'>: [Errno 39] Directory not empty: 'popen-gw9'
warnings.warn(
/home/eduzen/Projects/personal/pip/.tox/py39/lib/python3.9/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-eduzen/garbage-2513cabe-6230-455a-9fb8-fc762df1d6f3
<class 'OSError'>: [Errno 39] Directory not empty: '/tmp/pytest-of-eduzen/garbage-2513cabe-6230-455a-9fb8-fc762df1d6f3'
warnings.warn(
ERROR: InvocationError for command /home/eduzen/Projects/personal/pip/.tox/py39/bin/pytest -n auto -m unit (exited with code 1)
___________________________________ summary ____________________________________
ERROR: py39: commands failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment