Package: src:pytest-pylint
Version: 0.21.0-4
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pytest-pylint, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'tests_require'

[... snipped ...]

        
********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html 
for details.
        
********************************************************************************

!!
  self.initialize_options()
running build
running build_py
running install_lib
creating 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.14/dist-packages
creating 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.14/dist-packages/pytest_pylint
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pytest-pylint/build/pytest_pylint/plugin.py
 -> 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.14/dist-packages/pytest_pylint
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pytest-pylint/build/pytest_pylint/util.py
 -> 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.14/dist-packages/pytest_pylint
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pytest-pylint/build/pytest_pylint/pylint_util.py
 -> 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.14/dist-packages/pytest_pylint
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pytest-pylint/build/pytest_pylint/__init__.py
 -> 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.14/dist-packages/pytest_pylint
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.14/dist-packages/pytest_pylint/plugin.py
 to plugin.cpython-314.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.14/dist-packages/pytest_pylint/util.py
 to util.cpython-314.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.14/dist-packages/pytest_pylint/pylint_util.py
 to pylint_util.cpython-314.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.14/dist-packages/pytest_pylint/__init__.py
 to __init__.cpython-314.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'
warning: no files found matching 'pytest_pylint'
warning: no previously-included files matching '__pycache__' found anywhere in 
distribution
warning: no previously-included files matching '*.py[cod]' found anywhere in 
distribution
adding license file 'LICENSE'
writing manifest file 'pytest_pylint.egg-info/SOURCES.txt'
Copying pytest_pylint.egg-info to 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.14/dist-packages/pytest_pylint-0.21.0.egg-info
Skipping SOURCES.txt
running install_scripts
I: pybuild base:317: /usr/bin/python3 setup.py install --root 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint 
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running install
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:90: 
SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        
********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html 
for details.
        
********************************************************************************

!!
  self.initialize_options()
running build
running build_py
running install_lib
creating 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.13/dist-packages
creating 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.13/dist-packages/pytest_pylint
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pytest-pylint/build/pytest_pylint/plugin.py
 -> 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.13/dist-packages/pytest_pylint
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pytest-pylint/build/pytest_pylint/util.py
 -> 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.13/dist-packages/pytest_pylint
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pytest-pylint/build/pytest_pylint/pylint_util.py
 -> 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.13/dist-packages/pytest_pylint
copying 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pytest-pylint/build/pytest_pylint/__init__.py
 -> 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.13/dist-packages/pytest_pylint
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.13/dist-packages/pytest_pylint/plugin.py
 to plugin.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.13/dist-packages/pytest_pylint/util.py
 to util.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.13/dist-packages/pytest_pylint/pylint_util.py
 to pylint_util.cpython-313.pyc
byte-compiling 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.13/dist-packages/pytest_pylint/__init__.py
 to __init__.cpython-313.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'
warning: no files found matching 'pytest_pylint'
warning: no previously-included files matching '__pycache__' found anywhere in 
distribution
warning: no previously-included files matching '*.py[cod]' found anywhere in 
distribution
adding license file 'LICENSE'
writing manifest file 'pytest_pylint.egg-info/SOURCES.txt'
Copying pytest_pylint.egg-info to 
/<<PKGBUILDDIR>>/debian/python3-pytest-pylint/usr/lib/python3.13/dist-packages/pytest_pylint-0.21.0.egg-info
Skipping SOURCES.txt
running install_scripts
   debian/rules execute_after_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x --ignore 
debian --ignore pytest_pylint/plugin.py -k 'not test_pylintrc_file_beside_ini'" 
dh_auto_test
I: pybuild base:317: python3.14 -m pytest -v -x --ignore debian --ignore 
pytest_pylint/plugin.py -k 'not test_pylintrc_file_beside_ini'
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 -- 
/usr/bin/python3.14
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>
configfile: tox.ini
plugins: pylint-0.21.0, typeguard-4.4.4
collecting ... collected 39 items / 1 deselected / 38 selected
--------------------------------------------------------------------------------
Linting files
...............
--------------------------------------------------------------------------------

pytest_pylint/__init__.py::PYLINT PASSED                                 [  2%]
pytest_pylint/pylint_util.py::PYLINT PASSED                              [  5%]
pytest_pylint/tests/test_pytest_pylint.py::PYLINT PASSED                 [  7%]
pytest_pylint/tests/test_pytest_pylint.py::test_basic FAILED             [ 10%]

=================================== FAILURES ===================================
__________________________________ test_basic __________________________________

testdir = <Testdir local('/tmp/pytest-of-sbuild/pytest-0/test_basic0')>

    def test_basic(testdir):
        """Verify basic pylint checks"""
        testdir.makepyfile("import sys")
        result = testdir.runpytest("--pylint")
>       assert "Missing module docstring" in result.stdout.str()
E       AssertionError: assert 'Missing module docstring' in ''
E        +  where '' = str()
E        +    where str = <_pytest.pytester.LineMatcher object at 
0x7fa994494440>.str
E        +      where <_pytest.pytester.LineMatcher object at 0x7fa994494440> = 
<RunResult ret=3 len(stdout.lines)=0 len(stderr.lines)=39 duration=0.01s>.stdout

/<<PKGBUILDDIR>>/pytest_pylint/tests/test_pytest_pylint.py:20: AssertionError
----------------------------- Captured stderr call -----------------------------
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 
314, in wrap_session
INTERNALERROR>     config._do_configure()
INTERNALERROR>     ~~~~~~~~~~~~~~~~~~~~^^
INTERNALERROR>   File 
"/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1159, in 
_do_configure
INTERNALERROR>     
self.hook.pytest_configure.call_historic(kwargs=dict(config=self))
INTERNALERROR>     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 
534, in call_historic
INTERNALERROR>     res = self._hookexec(self.name, self._hookimpls.copy(), 
kwargs, False)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 
120, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, 
firstresult)
INTERNALERROR>            
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 
167, in _multicall
INTERNALERROR>     raise exception
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 
121, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/<<PKGBUILDDIR>>/pytest_pylint/plugin.py", line 84, in 
pytest_configure
INTERNALERROR>     config.pluginmanager.register(pylint_plugin)
INTERNALERROR>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
INTERNALERROR>   File 
"/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 522, in 
register
INTERNALERROR>     plugin_name = super().register(plugin, name)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 
168, in register
INTERNALERROR>     self._verify_hook(hook, hookimpl)
INTERNALERROR>     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 
355, in _verify_hook
INTERNALERROR>     _warn_for_function(argname_warning, hookimpl.function)
INTERNALERROR>     ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 
41, in _warn_for_function
INTERNALERROR>     warnings.warn_explicit(
INTERNALERROR>     ~~~~~~~~~~~~~~~~~~~~~~^
INTERNALERROR>         warning,
INTERNALERROR>         ^^^^^^^^
INTERNALERROR>     ...<2 lines>...
INTERNALERROR>         filename=func.__code__.co_filename,
INTERNALERROR>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>     )
INTERNALERROR>     ^
INTERNALERROR> pytest.PytestRemovedIn9Warning: The (path: py.path.local) 
argument is deprecated, please use (file_path: pathlib.Path)
INTERNALERROR> see 
https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path
=========================== short test summary info ============================
FAILED pytest_pylint/tests/test_pytest_pylint.py::test_basic - AssertionError...
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
================== 1 failed, 3 passed, 1 deselected in 0.99s ===================
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: 
python3.14 -m pytest -v -x --ignore debian --ignore pytest_pylint/plugin.py -k 
'not test_pylintrc_file_beside_ini'
I: pybuild base:317: python3.13 -m pytest -v -x --ignore debian --ignore 
pytest_pylint/plugin.py -k 'not test_pylintrc_file_beside_ini'
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 -- 
/usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>
configfile: tox.ini
plugins: pylint-0.21.0, typeguard-4.4.4
collecting ... collected 39 items / 1 deselected / 38 selected
--------------------------------------------------------------------------------
Linting files
.........
--------------------------------------------------------------------------------

pytest_pylint/__init__.py::PYLINT SKIPPED (file(s) previously passed...) [  2%]
pytest_pylint/pylint_util.py::PYLINT SKIPPED (file(s) previously pas...) [  5%]
pytest_pylint/tests/test_pytest_pylint.py::PYLINT SKIPPED (file(s) p...) [  7%]
pytest_pylint/tests/test_pytest_pylint.py::test_basic FAILED             [ 10%]

=================================== FAILURES ===================================
__________________________________ test_basic __________________________________

testdir = <Testdir local('/tmp/pytest-of-sbuild/pytest-1/test_basic0')>

    def test_basic(testdir):
        """Verify basic pylint checks"""
        testdir.makepyfile("import sys")
        result = testdir.runpytest("--pylint")
>       assert "Missing module docstring" in result.stdout.str()
E       AssertionError: assert 'Missing module docstring' in ''
E        +  where '' = str()
E        +    where str = <_pytest.pytester.LineMatcher object at 
0x7f348e3f97f0>.str
E        +      where <_pytest.pytester.LineMatcher object at 0x7f348e3f97f0> = 
<RunResult ret=3 len(stdout.lines)=0 len(stderr.lines)=39 duration=0.01s>.stdout

/<<PKGBUILDDIR>>/pytest_pylint/tests/test_pytest_pylint.py:20: AssertionError
----------------------------- Captured stderr call -----------------------------
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 
314, in wrap_session
INTERNALERROR>     config._do_configure()
INTERNALERROR>     ~~~~~~~~~~~~~~~~~~~~^^
INTERNALERROR>   File 
"/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 1159, in 
_do_configure
INTERNALERROR>     
self.hook.pytest_configure.call_historic(kwargs=dict(config=self))
INTERNALERROR>     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 
534, in call_historic
INTERNALERROR>     res = self._hookexec(self.name, self._hookimpls.copy(), 
kwargs, False)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 
120, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, 
firstresult)
INTERNALERROR>            
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 
167, in _multicall
INTERNALERROR>     raise exception
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 
121, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/<<PKGBUILDDIR>>/pytest_pylint/plugin.py", line 84, in 
pytest_configure
INTERNALERROR>     config.pluginmanager.register(pylint_plugin)
INTERNALERROR>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
INTERNALERROR>   File 
"/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 522, in 
register
INTERNALERROR>     plugin_name = super().register(plugin, name)
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 
168, in register
INTERNALERROR>     self._verify_hook(hook, hookimpl)
INTERNALERROR>     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 
355, in _verify_hook
INTERNALERROR>     _warn_for_function(argname_warning, hookimpl.function)
INTERNALERROR>     ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 
41, in _warn_for_function
INTERNALERROR>     warnings.warn_explicit(
INTERNALERROR>     ~~~~~~~~~~~~~~~~~~~~~~^
INTERNALERROR>         warning,
INTERNALERROR>         ^^^^^^^^
INTERNALERROR>     ...<2 lines>...
INTERNALERROR>         filename=func.__code__.co_filename,
INTERNALERROR>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>     )
INTERNALERROR>     ^
INTERNALERROR> pytest.PytestRemovedIn9Warning: The (path: py.path.local) 
argument is deprecated, please use (file_path: pathlib.Path)
INTERNALERROR> see 
https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path
=========================== short test summary info ============================
FAILED pytest_pylint/tests/test_pytest_pylint.py::test_basic - AssertionError...
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
================== 1 failed, 3 skipped, 1 deselected in 0.65s ==================
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: 
python3.13 -m pytest -v -x --ignore debian --ignore pytest_pylint/plugin.py -k 
'not test_pylintrc_file_beside_ini'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make[1]: *** [debian/rules:11: execute_after_dh_auto_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to