Source: entrypoints
Version: 0.4-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20230925 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:110: Building wheel for python3.11 with "build"
> module
> I: pybuild base:291: python3.11 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_entrypoints
> * Building wheel...
> Successfully built entrypoints-0.4-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with
> "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:291: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_entrypoints/build; python3.11 -m
> pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_entrypoints/build
> collected 12 items
>
> tests/test_entrypoints.py FFF.........
> [100%]
>
> =================================== FAILURES
> ===================================
> ___________________________ test_iter_files_distros
> ____________________________
>
> def test_iter_files_distros():
> result = entrypoints.iter_files_distros(path=sample_path)
> # the sample_path has 4 unique items so iter_files_distros returns 4
> tuples
> > assert len(list(result)) == 4
> E AssertionError: assert 3 == 4
> E + where 3 = len([(<entrypoints.CaseSensitiveConfigParser object at
> 0x7feecd4d1b90>, Distribution('foo', '0.1')),
> (<entrypoints.CaseSen...ibution('baz', '0.3')),
> (<entrypoints.CaseSensitiveConfigParser object at 0x7feecd4d37d0>,
> Distribution('qux', '0.4'))])
> E + where [(<entrypoints.CaseSensitiveConfigParser object at
> 0x7feecd4d1b90>, Distribution('foo', '0.1')),
> (<entrypoints.CaseSen...ibution('baz', '0.3')),
> (<entrypoints.CaseSensitiveConfigParser object at 0x7feecd4d37d0>,
> Distribution('qux', '0.4'))] = list(<generator object iter_files_distros at
> 0x7feecd6aabc0>)
>
> tests/test_entrypoints.py:23: AssertionError
> ______________________________ test_get_group_all
> ______________________________
>
> def test_get_group_all():
> group = entrypoints.get_group_all('entrypoints.test1', sample_path)
> print(group)
> > assert len(group) == 5
> E AssertionError: assert 3 == 5
> E + where 3 = len([EntryPoint('abc', 'foo', 'abc',
> Distribution('foo', '0.1')), EntryPoint('rew', 'baz', 'init',
> Distribution('baz', '0.3')), EntryPoint('njn', 'qux.extn', 'Njn.load',
> Distribution('qux', '0.4'))])
>
> tests/test_entrypoints.py:40: AssertionError
> ----------------------------- Captured stdout call
> -----------------------------
> [EntryPoint('abc', 'foo', 'abc', Distribution('foo', '0.1')),
> EntryPoint('rew', 'baz', 'init', Distribution('baz', '0.3')),
> EntryPoint('njn', 'qux.extn', 'Njn.load', Distribution('qux', '0.4'))]
> _____________________________ test_get_group_named
> _____________________________
>
> def test_get_group_named():
> group = entrypoints.get_group_named('entrypoints.test1', sample_path)
> print(group)
> > assert len(group) == 4
> E AssertionError: assert 3 == 4
> E + where 3 = len({'abc': EntryPoint('abc', 'foo', 'abc',
> Distribution('foo', '0.1')), 'njn': EntryPoint('njn', 'qux.extn', 'Njn.load',
> Distribution('qux', '0.4')), 'rew': EntryPoint('rew', 'baz', 'init',
> Distribution('baz', '0.3'))})
>
> tests/test_entrypoints.py:46: AssertionError
> ----------------------------- Captured stdout call
> -----------------------------
> {'abc': EntryPoint('abc', 'foo', 'abc', Distribution('foo', '0.1')), 'rew':
> EntryPoint('rew', 'baz', 'init', Distribution('baz', '0.3')), 'njn':
> EntryPoint('njn', 'qux.extn', 'Njn.load', Distribution('qux', '0.4'))}
> =========================== short test summary info
> ============================
> FAILED tests/test_entrypoints.py::test_iter_files_distros - AssertionError:
> a...
> FAILED tests/test_entrypoints.py::test_get_group_all - AssertionError:
> assert...
> FAILED tests/test_entrypoints.py::test_get_group_named - AssertionError:
> asse...
> ========================= 3 failed, 9 passed in 0.09s
> ==========================
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_entrypoints/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/09/25/entrypoints_0.4-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&[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.