Source: python-pyscss Version: 1.3.7-2 Severity: important User: pyt...@packages.debian.org Usertags: pytest-v6
Hi, python-pyscss 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_pyscss/build; > python3.9 -m pytest /<<PKGBUILDDIR>>/scss/tests > /<<PKGBUILDDIR>>/scss/selector.py:26: FutureWarning: Possible nested set at > position 329 > SELECTOR_TOKENIZER = re.compile(r''' > ============================= test session starts > ============================== > platform linux -- Python 3.9.1, pytest-6.0.2, py-1.9.0, pluggy-0.13.0 > rootdir: /<<PKGBUILDDIR>>/scss > collected 0 items / 1 error > > ==================================== 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( > ../../../conftest.py:61: in pytest_collect_file > return SassFile(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 SassFile has been > deprecated, please use SassFile.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 ../../../scss - pytest.PytestDeprecationWarning: Direct construction > of... > !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection > !!!!!!!!!!!!!!!!!!!! > =============================== 1 error in 0.06s > =============================== > E: pybuild pybuild:353: test: plugin distutils failed with: exit code=2: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyscss/build; python3.9 -m pytest > {dir}/scss/tests > dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit > code 13 > make: *** [debian/rules:17: build] Error 25 > dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2