Source: xonsh
Version: 0.9.24+dfsg-2
Severity: serious
User: pyt...@packages.debian.org
Usertags: pytest-v6

Hi,

xonsh autopkgtests with pytest 6 in unstable because it uses a
deprecated feature that will be removed soon, and that, by default,
considered an error in pytest 6.

The fragment of the CI the error log below has more details.

> ==================================== ERRORS 
> ====================================
> ________________________ ERROR collecting test session 
> _________________________
> /usr/lib/python3/dist-packages/pluggy/hooks.py:286: in __call__
>     return self._hookexec(self, self.get_hookimpls(), kwargs)
> /usr/lib/python3/dist-packages/pluggy/manager.py:92: in _hookexec
>     return self._inner_hookexec(hook, methods, kwargs)
> /usr/lib/python3/dist-packages/pluggy/manager.py:83: in <lambda>
>     self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
> /usr/lib/python3/dist-packages/xonsh/pytest_plugin.py:44: in 
> pytest_collect_file
>     return XshFile(path, parent)
> /usr/lib/python3/dist-packages/_pytest/nodes.py:95: in __call__
>     warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), 
> stacklevel=2)
> E   pytest.PytestDeprecationWarning: Direct construction of XshFile has been 
> deprecated, please use XshFile.from_parent.
> E   See 
> https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent
>  for more details.
> =========================== short test summary info 
> ============================
> ERROR  - pytest.PytestDeprecationWarning: Direct construction of XshFile has 
> ...
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
> !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.07s 
> ===============================

Reply via email to