Source: conda-package-handling
Version: 2.0.1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@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
> I: pybuild base:240: python3.11 setup.py config
> running config
>dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<>/.pybuild/cpython3_3.11/build/conda_package_handling
> copying src/conda_package_handling/interface.py ->
> /<>/.pybuild/cpython3_3.11/build/conda_package_handling
> copying src/conda_package_handling/__main__.py ->
> /<>/.pybuild/cpython3_3.11/build/conda_package_handling
> copying src/conda_package_handling/tarball.py ->
> /<>/.pybuild/cpython3_3.11/build/conda_package_handling
> copying src/conda_package_handling/streaming.py ->
> /<>/.pybuild/cpython3_3.11/build/conda_package_handling
> copying src/conda_package_handling/exceptions.py ->
> /<>/.pybuild/cpython3_3.11/build/conda_package_handling
> copying src/conda_package_handling/__init__.py ->
> /<>/.pybuild/cpython3_3.11/build/conda_package_handling
> copying src/conda_package_handling/conda_fmt.py ->
> /<>/.pybuild/cpython3_3.11/build/conda_package_handling
> copying src/conda_package_handling/api.py ->
> /<>/.pybuild/cpython3_3.11/build/conda_package_handling
> copying src/conda_package_handling/validate.py ->
> /<>/.pybuild/cpython3_3.11/build/conda_package_handling
> copying src/conda_package_handling/cli.py ->
> /<>/.pybuild/cpython3_3.11/build/conda_package_handling
> copying src/conda_package_handling/utils.py ->
> /<>/.pybuild/cpython3_3.11/build/conda_package_handling
>dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<>/.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: /<>, configfile: setup.cfg
> plugins: mock-3.8.2
> collected 39 items / 1 error
>
> ERRORS
>
> ERROR collecting .pybuild/cpython3_3.11/build/tests/test_interface.py
> _
> ImportError while importing test module
> '/<>/.pybuild/cpython3_3.11/build/tests/test_interface.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_interface.py:12: in
> from conda_package_handling.conda_fmt import CondaFormat_v2
> conda_package_handling/conda_fmt.py:15: in
> import zstandard
> /usr/lib/python3/dist-packages/zstandard/__init__.py:39: in
> 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/_pytest/config/__init__.py:1294
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1294:
> PytestConfigWarning: Unknown config option: env
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../../../../usr/lib/python3/dist-packages/conda_package_streaming/package_streaming.py:19
>
> /usr/lib/python3/dist-packages/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.")
>
> conda_package_handling/api.py:29
>
> /<>/.pybuild/cpython3_3.11/build/conda_package_handling/api.py:29:
> UserWarning: Install zstandard Python bindings for .conda support
> _warnings.warn("Install zstandard Python bindings for .conda support")
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> - generated xml file: /<>/.pybuild/cpython3_3.11/build/junit.xml
> -
> === short test summary info
>
> ERROR tests/test_interface.py
> Interrupted: 1 error during collection
>
> = 3 warnings, 1 error in 0.22s
> =
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=2: cd
> /<>/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i