Source: python-pytest-subtests
Version: 0.11.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20230726 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  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
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:107: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:240: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-subtests 
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         By 2023-Oct-30, you need to update your project and remove deprecated 
> calls
>         or your builds will no longer be supported.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> copying src/pytest_subtests.py -> build/lib
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> copying build/lib/pytest_subtests.py -> build/bdist.linux-x86_64/wheel
> running install_egg_info
> running egg_info
> creating src/pytest_subtests.egg-info
> writing src/pytest_subtests.egg-info/PKG-INFO
> writing dependency_links to src/pytest_subtests.egg-info/dependency_links.txt
> writing entry points to src/pytest_subtests.egg-info/entry_points.txt
> writing requirements to src/pytest_subtests.egg-info/requires.txt
> writing top-level names to src/pytest_subtests.egg-info/top_level.txt
> writing manifest file 'src/pytest_subtests.egg-info/SOURCES.txt'
> reading manifest file 'src/pytest_subtests.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'src/pytest_subtests.egg-info/SOURCES.txt'
> Copying src/pytest_subtests.egg-info to 
> build/bdist.linux-x86_64/wheel/pytest_subtests-0.11.0.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/pytest_subtests-0.11.0.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-subtests/.tmp-6ph07p_p/pytest_subtests-0.11.0-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'pytest_subtests.py'
> adding 'pytest_subtests-0.11.0.dist-info/LICENSE'
> adding 'pytest_subtests-0.11.0.dist-info/METADATA'
> adding 'pytest_subtests-0.11.0.dist-info/WHEEL'
> adding 'pytest_subtests-0.11.0.dist-info/entry_points.txt'
> adding 'pytest_subtests-0.11.0.dist-info/top_level.txt'
> adding 'pytest_subtests-0.11.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built pytest_subtests-0.11.0-py3-none-any.whl
> I: pybuild plugin_pyproject:119: Unpacking wheel built for python3.11 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-subtests/build; python3.11 -m 
> pytest tests
> Traceback (most recent call last):
>   File "<frozen runpy>", line 198, in _run_module_as_main
>   File "<frozen runpy>", line 88, in _run_code
>   File "/usr/lib/python3/dist-packages/pytest/__main__.py", line 5, in 
> <module>
>     raise SystemExit(pytest.console_main())
>                      ^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 189, 
> in console_main
>     code = main()
>            ^^^^^^
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 147, 
> in main
>     config = _prepareconfig(args, plugins)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 328, 
> in _prepareconfig
>     config = pluginmanager.hook.pytest_cmdline_parse(
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 433, in 
> __call__
>     return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 112, in 
> _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 133, in 
> _multicall
>     teardown[0].send(outcome)
>   File "/usr/lib/python3/dist-packages/_pytest/helpconfig.py", line 103, in 
> pytest_cmdline_parse
>     config: Config = outcome.get_result()
>                      ^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 108, in 
> get_result
>     raise exc.with_traceback(exc.__traceback__)
>   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 80, in 
> _multicall
>     res = hook_impl.function(*args)
>           ^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 
> 1075, in pytest_cmdline_parse
>     self.parse(args)
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 
> 1425, in parse
>     self._preparse(args, addopts=addopts)
>   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", line 
> 1305, in _preparse
>     self.pluginmanager.load_setuptools_entrypoints("pytest11")
>   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 364, in 
> load_setuptools_entrypoints
>     plugin = ep.load()
>              ^^^^^^^^^
>   File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
>     module = import_module(match.group('module'))
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
>   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
>   File "/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py", line 
> 178, in exec_module
>     exec(co, module.__dict__)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-subtests/build/pytest_subtests.py",
>  line 5, in <module>
>     import attr
> ModuleNotFoundError: No module named 'attr'
> E: pybuild pybuild:388: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pytest-subtests/build; python3.11 -m 
> pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/07/26/python-pytest-subtests_0.11.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to