Skip to content

Instantly share code, notes, and snippets.

@bendikro
Created April 11, 2020 11:44
Show Gist options
  • Save bendikro/aaae3b1824fc046caa09de46fd661609 to your computer and use it in GitHub Desktop.
Save bendikro/aaae3b1824fc046caa09de46fd661609 to your computer and use it in GitHub Desktop.
tox -e py3
tox -e py3
GLOB sdist-make: /home/bro/programmer/deluge/workdirs/develop/setup.py
py3 recreate: /home/bro/programmer/deluge/workdirs/develop/.tox/py3
py3 installdeps: pip >= 10, <= 18.1, setuptools >= 40, -rrequirements.txt, -rrequirements-tests.txt
py3 inst: /home/bro/programmer/deluge/workdirs/develop/.tox/.tmp/package/1/deluge-2.0.4.dev23.zip
ERROR: invocation failed (exit code 1), logfile: /home/bro/programmer/deluge/workdirs/develop/.tox/py3/log/py3-2.log
ERROR: actionid: py3
msg: installpkg
cmdargs: '/home/bro/programmer/deluge/workdirs/develop/.tox/py3/bin/python -m pip install --ignore-installed --exists-action w /home/bro/programmer/deluge/workdirs/develop/.tox/.tmp/package/1/deluge-2.0.4.dev23.zip'
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
from pip._internal.commands import (
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
from pip._internal.cli.base_command import Command
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 23, in <module>
from pip._internal.index import PackageFinder
ImportError: cannot import name 'PackageFinder' from 'pip._internal.index' (/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/index/__init__.py)
ERROR: invocation failed (exit code 1), logfile: /home/bro/programmer/deluge/workdirs/develop/.tox/py3/log/py3-3.log
ERROR: actionid: py3
msg: envreport
cmdargs: '/home/bro/programmer/deluge/workdirs/develop/.tox/py3/bin/python -m pip freeze'
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
from pip._internal.commands import (
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
from pip._internal.cli.base_command import Command
File "/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 23, in <module>
from pip._internal.index import PackageFinder
ImportError: cannot import name 'PackageFinder' from 'pip._internal.index' (/home/bro/programmer/deluge/workdirs/develop/.tox/py3/lib/python3.7/site-packages/pip/_internal/index/__init__.py)
Traceback (most recent call last):
File "/usr/bin/tox", line 11, in <module>
load_entry_point('tox==3.7.0', 'console_scripts', 'tox')()
File "/usr/lib/python3/dist-packages/tox/session.py", line 47, in cmdline
main(args)
File "/usr/lib/python3/dist-packages/tox/session.py", line 54, in main
retcode = build_session(config).runcommand()
File "/usr/lib/python3/dist-packages/tox/session.py", line 467, in runcommand
return self.subcommand_test()
File "/usr/lib/python3/dist-packages/tox/session.py", line 590, in subcommand_test
self.run_sequential()
File "/usr/lib/python3/dist-packages/tox/session.py", line 608, in run_sequential
self.runenvreport(venv)
File "/usr/lib/python3/dist-packages/tox/session.py", line 715, in runenvreport
packages = self.hook.tox_runenvreport(venv=venv, action=action)
File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 289, in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 87, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 81, in <lambda>
firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 208, in _multicall
return outcome.get_result()
File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in get_result
raise ex[1].with_traceback(ex[2])
File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187, in _multicall
res = hook_impl.function(*args)
File "/usr/lib/python3/dist-packages/tox/venv.py", line 631, in tox_runenvreport
output = venv._pcall(args, cwd=venv.envconfig.config.toxinidir, action=action)
File "/usr/lib/python3/dist-packages/tox/venv.py", line 527, in _pcall
args, cwd=cwd, env=env, redirect=redirect, ignore_ret=ignore_ret, returnout=returnout
File "/usr/lib/python3/dist-packages/tox/session.py", line 251, in popen
raise tox.exception.InvocationError("{} (see {})".format(invoked, outpath), ret)
tox.exception.InvocationError: InvocationError for command /home/bro/programmer/deluge/workdirs/develop/.tox/py3/bin/python -m pip freeze (see /home/bro/programmer/deluge/workdirs/develop/.tox/py3/log/py3-3.log) (exited with code 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment