Created
February 23, 2023 20:12
-
-
Save Johnetordoff/e632fd9b6f63b0ce01cc49bf8c245d29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ImportError: cannot import name 'formatargspec' from 'inspect' (/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/inspect.py) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/bin/invoke", line 8, in <module> | |
sys.exit(program.run()) | |
^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/program.py", line 380, in run | |
self.execute() | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/program.py", line 565, in execute | |
executor.execute(*self.tasks) | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/executor.py", line 127, in execute | |
result = call.task(*args, **call.kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/tasks.py", line 115, in __call__ | |
result = self.body(*args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/home/runner/work/osf.io/osf.io/tasks/__init__.py", line 496, in test_travis_api1_and_js | |
test_api1(ctx, numprocesses=numprocesses, coverage=coverage, testmon=testmon) | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/tasks.py", line 115, in __call__ | |
result = self.body(*args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/home/runner/work/osf.io/osf.io/tasks/__init__.py", line 411, in test_api1 | |
test_module(ctx, module=API_TESTS1 + ADMIN_TESTS, numprocesses=numprocesses, coverage=coverage, testmon=testmon) | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/tasks.py", line 115, in __call__ | |
result = self.body(*args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/home/runner/work/osf.io/osf.io/tasks/__init__.py", line 319, in test_module | |
retcode = pytest.main(args) | |
^^^^^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/config/__init__.py", line 143, in main | |
config = _prepareconfig(args, plugins) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/config/__init__.py", line 318, in _prepareconfig | |
config = pluginmanager.hook.pytest_cmdline_parse( | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_hooks.py", line 265, in __call__ | |
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_manager.py", line 80, in _hookexec | |
return self._inner_hookexec(hook_name, methods, kwargs, firstresult) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_callers.py", line 55, in _multicall | |
gen.send(outcome) | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/helpconfig.py", line 100, in pytest_cmdline_parse | |
config: Config = outcome.get_result() | |
^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_result.py", line 60, in get_result | |
raise ex[1].with_traceback(ex[2]) | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_callers.py", line 39, in _multicall | |
res = hook_impl.function(*args) | |
^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1003, in pytest_cmdline_parse | |
self.parse(args) | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1283, in parse | |
self._preparse(args, addopts=addopts) | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1172, in _preparse | |
self.pluginmanager.load_setuptools_entrypoints("pytest11") | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/pluggy/_manager.py", line 287, in load_setuptools_entrypoints | |
plugin = ep.load() | |
^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/importlib/metadata/__init__.py", line 202, in load | |
module = import_module(match.group('module')) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/importlib/__init__.py", line 126, in import_module | |
return _bootstrap._gcd_import(name[level:], package, level) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import | |
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load | |
File "<frozen importlib._bootstrap>", line 1128, in _find_and_load_unlocked | |
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed | |
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import | |
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load | |
File "<frozen importlib._bootstrap>", line 1128, in _find_and_load_unlocked | |
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed | |
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import | |
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load | |
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked | |
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module | |
exec(co, module.__dict__) | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/celery/__init__.py", line 150, in <module> | |
from . import local # noqa | |
^^^^^^^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module | |
exec(co, module.__dict__) | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/celery/local.py", line 17, in <module> | |
from .five import bytes_if_py2, items, string, string_t | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module | |
exec(co, module.__dict__) | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/celery/five.py", line 7, in <module> | |
import vine.five | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/vine/__init__.py", line 8, in <module> | |
from .abstract import Thenable | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/vine/abstract.py", line 6, in <module> | |
from .five import with_metaclass, Callable | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/vine/five.py", line 364, in <module> | |
from inspect import formatargspec, getargspec as _getargspec # noqa | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
ImportError: cannot import name 'formatargspec' from 'inspect' (/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/inspect.py) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment