Package: src:poetry
Version: 1.3.2+dfsg-3
Severity: serious
Control: fixed -1 2.1.2+dfsg-1
Tags: ftbfs bookworm

Dear maintainer:

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

[ Note: The bug is marked as fixed with the version in trixie/forky/sid, but
  packages in bookworm must still build in bookworm ].

[ Note: The package seems to build ok when using the unshare backend of sbuild,
  but this was not the default in bookworm yet ]

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/bookworm/

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:poetry, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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_poetry 
* Building wheel...
Successfully built poetry-1.3.2-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 
[too-long-redacted] es_for_git_with_subdirectories'
============================= test session starts ==============================
platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack
rootdir: /<<PKGBUILDDIR>>, configfile: pyproject.toml
plugins: xdist-3.1.0, mock-3.8.2
gw0 I / gw1 I
gw0 [1051] / gw1 [1051]

........................................................................ [  6%]
........................................................................ [ 13%]
........................s............................................... [ 20%]
........................................................................ [ 27%]
........................................................................ [ 34%]
.......................................................................s [ 41%]
....................................................s................... [ 47%]
F....................................................................... [ 54%]
........................................................................ [ 61%]
........................................................................ [ 68%]
.......s................................................................ [ 75%]
........................................................................ [ 82%]
........................................................................ [ 89%]
.......................................F................................ [ 95%]
...........................................                              [100%]
=================================== FAILURES ===================================
___________________________ test_info_setup_complex ____________________________
[gw0] linux -- Python 3.11.2 /usr/bin/python3.11

demo_setup_complex = 
PosixPath('/tmp/pytest-of-buildd/pytest-0/popen-gw0/test_info_setup_complex0')

    def test_info_setup_complex(demo_setup_complex: Path):
        info = PackageInfo.from_directory(demo_setup_complex)
>       demo_check_info(info, requires_dist={"package"})

tests/inspection/test_info.py:206: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

info = <poetry.inspection.info.PackageInfo object at 0x7f1f00935c50>
requires_dist = {'package'}

    def demo_check_info(info: PackageInfo, requires_dist: set[str] = None) -> 
None:
>       assert info.name == "demo"
E       AssertionError: assert None == 'demo'
E        +  where None = <poetry.inspection.info.PackageInfo object at 
0x7f1f00935c50>.name

tests/inspection/test_info.py:100: AssertionError
____________________ test_info_setup_complex_pep517_legacy _____________________
[gw0] linux -- Python 3.11.2 /usr/bin/python3.11

demo_setup_complex_pep517_legacy = 
PosixPath('/tmp/pytest-of-buildd/pytest-0/popen-gw0/test_info_setup_complex_pep5171')

    def test_info_setup_complex_pep517_legacy(demo_setup_complex_pep517_legacy: 
Path):
        info = PackageInfo.from_directory(demo_setup_complex_pep517_legacy)
>       demo_check_info(info, requires_dist={"package"})

tests/inspection/test_info.py:224: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

info = <poetry.inspection.info.PackageInfo object at 0x7f1f00840150>
requires_dist = {'package'}

    def demo_check_info(info: PackageInfo, requires_dist: set[str] = None) -> 
None:
>       assert info.name == "demo"
E       AssertionError: assert None == 'demo'
E        +  where None = <poetry.inspection.info.PackageInfo object at 
0x7f1f00840150>.name

tests/inspection/test_info.py:100: AssertionError
=========================== short test summary info ============================
FAILED tests/inspection/test_info.py::test_info_setup_complex - AssertionErro...
FAILED tests/inspection/test_info.py::test_info_setup_complex_pep517_legacy
================== 2 failed, 1045 passed, 4 skipped in 25.25s ==================
E: pybuild pybuild:388: test: plugin pyproject failed with:  
[too-long-redacted] es_for_git_with_subdirectories'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 
returned exit code 13
make: *** [debian/rules:62: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to