[Debian-med-packaging] Bug#1032540: conda-package-streaming: FTBFS in testing: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13

Lucas Nussbaum lucas at debian.org
Wed Mar 8 20:28:30 GMT 2023


Source: conda-package-streaming
Version: 0.7.0-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230307 ftbfs-bookworm

Hi,

During a rebuild of all packages in testing (bookworm), 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 
> * Building wheel...
> Successfully built conda_package_streaming-0.7.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/build; python3.11 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: pyproject.toml
> plugins: mock-3.8.2, cov-4.0.0
> collected 15 items / 1 error
> 
> ==================================== ERRORS ====================================
> ____ ERROR collecting .pybuild/cpython3_3.11/build/tests/test_transmute.py _____
> ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/tests/test_transmute.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_transmute.py:14: in <module>
>     from conda_package_streaming.transmute import transmute, transmute_tar_bz2
> conda_package_streaming/transmute.py:23: in <module>
>     import zstandard
> /usr/lib/python3/dist-packages/zstandard/__init__.py:39: in <module>
>     from .backend_c import *  # type: ignore
> E   ImportError: zstd C API versions mismatch; Python bindings were not compiled/linked against expected zstd version (10504 returned by the lib, 10502 hardcoded in zstd headers, 10502 hardcoded in the cext)
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/bottle.py:38
>   /usr/lib/python3/dist-packages/bottle.py:38: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
>     import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\
> 
> conda_package_streaming/package_streaming.py:19
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/conda_package_streaming/package_streaming.py:19: UserWarning: zstandard could not be imported. Running without .conda support.
>     warnings.warn("zstandard could not be imported. Running without .conda support.")
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> 
> ---------- coverage: platform linux, python 3.11.2-final-0 -----------
> Name                                           Stmts   Miss  Cover
> ------------------------------------------------------------------
> conda_package_streaming/__init__.py                1      0   100%
> conda_package_streaming/exceptions.py              9      4    56%
> conda_package_streaming/extract.py                42     32    24%
> conda_package_streaming/lazy_wheel.py            131     91    31%
> conda_package_streaming/package_streaming.py      47     25    47%
> conda_package_streaming/s3.py                     39     18    54%
> conda_package_streaming/transmute.py              52     44    15%
> conda_package_streaming/url.py                    39     25    36%
> ------------------------------------------------------------------
> TOTAL                                            360    239    34%
> 
> =========================== short test summary info ============================
> ERROR tests/test_transmute.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> ========================= 2 warnings, 1 error in 0.37s =========================
> E: pybuild pybuild:388: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/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/03/07/conda-package-streaming_0.7.0-4_testing.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230307;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230307&fusertaguser=lucas@debian.org&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.



More information about the Debian-med-packaging mailing list