Source: pytest-pylint
Version: 0.15.1-1
Severity: important
User: [email protected]
Usertags: pytest-v6
Hi,
pytest-pylint 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: python3.9 -m pytest -v -x --ignore debian
> ============================= 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: tox.ini
> plugins: pylint-0.15.1
> collecting ... 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(
> pytest_pylint/plugin.py:144: in pytest_collect_file
> item = PyLintItem(path, parent, pylint_plugin=self)
> /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 PyLintItem has
> been deprecated, please use PyLintItem.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 PyLintItem
> h...
> !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures
> !!!!!!!!!!!!!!!!!!!!!!!!!!!
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection
> !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.08s
> ===============================
> E: pybuild pybuild:353: test: plugin custom failed with: exit code=2:
> python3.9 -m pytest -v -x --ignore debian
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9
> returned exit code 13
> make[1]: *** [debian/rules:12: override_dh_auto_install] Error 25
> make: *** [debian/rules:6: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status
> 2
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team