Bug#977094: sasmodels FTBFS with pytest 6

Christian Kastner ckk at debian.org
Thu Dec 10 20:33:57 GMT 2020


Source: sasmodels
Version: 1.0.4-1
Severity: important
User: pytest at packages.debian.org
Usertags: pytest-v6

Hi,

sasmodels FTBFS with pytest 6 in experimental. See the relevant
part of the changelog as to why:

    https://docs.pytest.org/en/stable/changelog.html#id170

The error log below has more details.

> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sasmodels/build; python3.9 -m pytest -v
> ============================= test session starts ==============================
> platform linux -- Python 3.9.1, pytest-6.0.2, py-1.9.0, pluggy-0.13.0 -- /usr/bin/python3.9
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini
> collecting ... collected 32 items / 1 error / 31 selected
> 
> ==================================== ERRORS ====================================
> _ ERROR collecting .pybuild/cpython3_3.9_sasmodels/build/sasmodels/model_test.py _
> /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(
> ../../../conftest.py:54: in pytest_pycollect_makeitem
>     test = pytest.Function(name+index, collector, args=args, callobj=call)
> /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 Function has been deprecated, please use Function.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 sasmodels/model_test.py - pytest.PytestDeprecationWarning: Direct const...
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 2.09s ===============================
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sasmodels/build; python3.9 -m pytest -v
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13
> make: *** [debian/rules:31: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list