Skip to content

tests: limit pytest version by <6.2.2#5333

Merged
efiop merged 1 commit into
masterfrom
efiop-patch-1
Jan 25, 2021
Merged

tests: limit pytest version by <6.2.2#5333
efiop merged 1 commit into
masterfrom
efiop-patch-1

Conversation

@efiop
Copy link
Copy Markdown
Contributor

@efiop efiop commented Jan 25, 2021

Started getting this error today. Pytest 6.2.2 was released a few hours ago.

INTERNALERROR>     self.config.hook.pytest_runtest_logreport(report=rep)
INTERNALERROR>   File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/pluggy/hooks.py", line 286, in __call__
INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)
INTERNALERROR>   File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/pluggy/manager.py", line 93, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/pluggy/manager.py", line 87, in <lambda>
INTERNALERROR>     firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
INTERNALERROR>   File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/pluggy/callers.py", line 208, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/pluggy/callers.py", line 80, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/pluggy/callers.py", line 187, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/pytest_tap/plugin.py", line 138, in pytest_runtest_logreport
INTERNALERROR>     reason = report.longrepr[2].split(":", 1)[1].strip()
INTERNALERROR> IndexError: list index out of range

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

@efiop efiop added skip-changelog Skips changelog testing Related to the tests and the testing infrastructure labels Jan 25, 2021
@efiop efiop merged commit 6a1f365 into master Jan 25, 2021
@efiop efiop deleted the efiop-patch-1 branch January 25, 2021 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Skips changelog testing Related to the tests and the testing infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant