Source: pytest-pylint
Version: 0.14.1-2
Severity: serious

Hello, your packages FTBFS with default Python3.8 in sid

Can you please have a look?

I: Running cd /build/pytest-pylint-0.14.1/ && env 
PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us 
-uc 
dpkg-buildpackage: info: source package pytest-pylint
dpkg-buildpackage: info: source version 0.14.1-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Ond??ej Kobli??ek <ko...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using options from 
pytest-pylint-0.14.1/debian/source/options: 
--extend-diff-ignore=^[^/]*[.]egg-info/
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:217: python3.8 setup.py clean 
running clean
removing 
'/build/pytest-pylint-0.14.1/.pybuild/cpython3_3.8_pytest-pylint/build' (and 
everything under it)
'build/bdist.linux-amd64' does not exist -- can't clean it
'build/scripts-3.8' does not exist -- can't clean it
I: pybuild base:217: python3.7 setup.py clean 
running clean
removing 
'/build/pytest-pylint-0.14.1/.pybuild/cpython3_3.7_pytest-pylint/build' (and 
everything under it)
'build/bdist.linux-amd64' does not exist -- can't clean it
'build/scripts-3.7' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 dpkg-source -b .
dpkg-source: info: using options from 
pytest-pylint-0.14.1/debian/source/options: 
--extend-diff-ignore=^[^/]*[.]egg-info/
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building pytest-pylint using existing 
./pytest-pylint_0.14.1.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building pytest-pylint in 
pytest-pylint_0.14.1-2.debian.tar.xz
dpkg-source: info: building pytest-pylint in pytest-pylint_0.14.1-2.dsc
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:217: python3.8 setup.py config 
running config
I: pybuild base:217: python3.7 setup.py config 
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python3.8 setup.py build 
running build
running build_py
copying pytest_pylint.py -> 
/build/pytest-pylint-0.14.1/.pybuild/cpython3_3.8_pytest-pylint/build
I: pybuild base:217: /usr/bin/python3 setup.py build 
running build
running build_py
copying pytest_pylint.py -> 
/build/pytest-pylint-0.14.1/.pybuild/cpython3_3.7_pytest-pylint/build
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--buildsystem=pybuild
   dh_prep -O--buildsystem=pybuild
   debian/rules override_dh_auto_install
make[1]: Entering directory '/build/pytest-pylint-0.14.1'
dh_auto_install
I: pybuild base:217: /usr/bin/python3.8 setup.py install --root 
/build/pytest-pylint-0.14.1/debian/python3-pytest-pylint 
running install
running build
running build_py
running install_lib
creating /build/pytest-pylint-0.14.1/debian/python3-pytest-pylint/usr
creating /build/pytest-pylint-0.14.1/debian/python3-pytest-pylint/usr/lib
creating 
/build/pytest-pylint-0.14.1/debian/python3-pytest-pylint/usr/lib/python3.8
creating 
/build/pytest-pylint-0.14.1/debian/python3-pytest-pylint/usr/lib/python3.8/dist-packages
copying 
/build/pytest-pylint-0.14.1/.pybuild/cpython3_3.8_pytest-pylint/build/pytest_pylint.py
 -> 
/build/pytest-pylint-0.14.1/debian/python3-pytest-pylint/usr/lib/python3.8/dist-packages
byte-compiling 
/build/pytest-pylint-0.14.1/debian/python3-pytest-pylint/usr/lib/python3.8/dist-packages/pytest_pylint.py
 to pytest_pylint.cpython-38.pyc
running install_egg_info
running egg_info
creating pytest_pylint.egg-info
writing pytest_pylint.egg-info/PKG-INFO
writing dependency_links to pytest_pylint.egg-info/dependency_links.txt
writing entry points to pytest_pylint.egg-info/entry_points.txt
writing requirements to pytest_pylint.egg-info/requires.txt
writing top-level names to pytest_pylint.egg-info/top_level.txt
writing manifest file 'pytest_pylint.egg-info/SOURCES.txt'
reading manifest file 'pytest_pylint.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pytest_pylint.egg-info/SOURCES.txt'
Copying pytest_pylint.egg-info to 
/build/pytest-pylint-0.14.1/debian/python3-pytest-pylint/usr/lib/python3.8/dist-packages/pytest_pylint-0.14.0.egg-info
Skipping SOURCES.txt
running install_scripts
I: pybuild base:217: /usr/bin/python3 setup.py install --root 
/build/pytest-pylint-0.14.1/debian/python3-pytest-pylint 
running install
running build
running build_py
running install_lib
creating 
/build/pytest-pylint-0.14.1/debian/python3-pytest-pylint/usr/lib/python3.7
creating 
/build/pytest-pylint-0.14.1/debian/python3-pytest-pylint/usr/lib/python3.7/dist-packages
copying 
/build/pytest-pylint-0.14.1/.pybuild/cpython3_3.7_pytest-pylint/build/pytest_pylint.py
 -> 
/build/pytest-pylint-0.14.1/debian/python3-pytest-pylint/usr/lib/python3.7/dist-packages
byte-compiling 
/build/pytest-pylint-0.14.1/debian/python3-pytest-pylint/usr/lib/python3.7/dist-packages/pytest_pylint.py
 to pytest_pylint.cpython-37.pyc
running install_egg_info
running egg_info
writing pytest_pylint.egg-info/PKG-INFO
writing dependency_links to pytest_pylint.egg-info/dependency_links.txt
writing entry points to pytest_pylint.egg-info/entry_points.txt
writing requirements to pytest_pylint.egg-info/requires.txt
writing top-level names to pytest_pylint.egg-info/top_level.txt
reading manifest file 'pytest_pylint.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pytest_pylint.egg-info/SOURCES.txt'
Copying pytest_pylint.egg-info to 
/build/pytest-pylint-0.14.1/debian/python3-pytest-pylint/usr/lib/python3.7/dist-packages/pytest_pylint-0.14.0.egg-info
Skipping SOURCES.txt
running install_scripts
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x --ignore 
debian" dh_auto_test
I: pybuild base:217: python3.8 -m pytest -v -x --ignore debian
============================= test session starts ==============================
platform linux -- Python 3.8.0, pytest-4.6.6, py-1.8.0, pluggy-0.13.0 -- 
/usr/bin/python3.8
cachedir: .pytest_cache
rootdir: /build/pytest-pylint-0.14.1, inifile: tox.ini
plugins: pylint-0.14.0
collecting ... collected 17 items
-----------------------------------------------------------------
Linting files
.INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/build/pytest-pylint-0.14.1/pytest_pylint.py", line 234, 
in pytest_collection_finish
INTERNALERROR>     result = lint.Run(args_list, reporter=reporter, exit=False)
INTERNALERROR> TypeError: __init__() got an unexpected keyword argument 'exit'
INTERNALERROR> 
INTERNALERROR> During handling of the above exception, another exception 
occurred:
INTERNALERROR> 
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 
206, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 
249, in _main
INTERNALERROR>     config.hook.pytest_collection(session=session)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 
286, in __call__
INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 
92, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 
83, in <lambda>
INTERNALERROR>     self._inner_hookexec = lambda hook, methods, kwargs: 
hook.multicall(
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 
208, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 
80, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 
187, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 
259, in pytest_collection
INTERNALERROR>     return session.perform_collect()
INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 
501, in perform_collect
INTERNALERROR>     hook.pytest_collection_finish(session=self)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 
286, in __call__
INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 
92, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 
83, in <lambda>
INTERNALERROR>     self._inner_hookexec = lambda hook, methods, kwargs: 
hook.multicall(
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 
208, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 
80, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 
187, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/build/pytest-pylint-0.14.1/pytest_pylint.py", line 236, 
in pytest_collection_finish
INTERNALERROR>     result = lint.Run(args_list, reporter=reporter, 
do_exit=False)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pylint/lint.py", line 
1608, in __init__
INTERNALERROR>     linter.check(args)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pylint/lint.py", line 
938, in check
INTERNALERROR>     self._do_check(files_or_modules)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pylint/lint.py", line 
1071, in _do_check
INTERNALERROR>     self.check_astroid_module(ast_node, walker, rawcheckers, 
tokencheckers)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pylint/lint.py", line 
1154, in check_astroid_module
INTERNALERROR>     walker.walk(ast_node)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pylint/utils.py", line 
1269, in walk
INTERNALERROR>     self.walk(child)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pylint/utils.py", line 
1266, in walk
INTERNALERROR>     cb(astroid)
INTERNALERROR>   File 
"/usr/lib/python3/dist-packages/pylint/checkers/variables.py", line 1582, in 
visit_import
INTERNALERROR>     module = next(node.infer_name_module(parts[0]))
INTERNALERROR> AttributeError: 'Import' object has no attribute 
'infer_name_module'

========================== 1 warnings in 0.24 seconds ==========================
E: pybuild pybuild:341: test: plugin custom failed with: exit code=3: python3.8 
-m pytest -v -x --ignore debian
dh_auto_test: pybuild --test --test-pytest -i python{version} -p "3.8 3.7" 
returned exit code 13
make[1]: *** [debian/rules:12: override_dh_auto_install] Error 255
make[1]: Leaving directory '/build/pytest-pylint-0.14.1'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
I: copying local configuration
E: Failed autobuilding of package


there seems to be some Python3.8 upstream fixes, I'm trying them, e.g. 
97bda02e95b5a0e582a0c8674f3843ef66ecb7f7
but it seems to have no effect...

Reply via email to