• Bug#1066781: hickle: FTBFS: dh_auto_test: error: pybuild --test -i pyth

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 16:10:24 2024
    Source: hickle
    Version: 5.0.2-8
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240313 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 --buildsystem=pybuild
    dh_update_autotools_config -O--buildsystem=pybuild
    dh_autoreconf -O--buildsystem=pybuild
    dh_auto_configure -O--buildsystem=pybuild
    I: pybuild base:305: python3.12 setup.py config /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section)
    running config
    I: pybuild base:305: python3.11 setup.py config /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section)
    running config
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild base:305: /usr/bin/python3.12 setup.py build /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section)
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle
    copying hickle/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle
    copying hickle/hickle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle
    copying hickle/fileio.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle
    copying hickle/lookup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle
    copying hickle/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle
    copying hickle/__version__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests copying hickle/tests/generate_legacy_4_0_0.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests
    copying hickle/tests/test_01_hickle_helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests
    copying hickle/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests
    copying hickle/tests/test_hickle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests
    copying hickle/tests/test_99_hickle_core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests
    copying hickle/tests/test_06_load_astropy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests
    copying hickle/tests/test_05_load_scipy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests
    copying hickle/tests/test_07_load_pandas.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests
    copying hickle/tests/test_04_load_numpy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests
    copying hickle/tests/test_02_hickle_lookup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests
    copying hickle/tests/test_legacy_load.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests
    copying hickle/tests/test_03_load_builtins.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/loaders copying hickle/loaders/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/loaders
    copying hickle/loaders/load_numpy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/loaders
    copying hickle/loaders/load_astropy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/loaders
    copying hickle/loaders/load_pandas.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/loaders
    copying hickle/loaders/load_builtins.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/loaders
    copying hickle/loaders/load_scipy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/loaders
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3
    copying hickle/legacy_v3/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3
    copying hickle/legacy_v3/hickle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3
    copying hickle/legacy_v3/lookup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3
    copying hickle/legacy_v3/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3
    copying hickle/legacy_v3/__version__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests/hickle_loaders
    copying hickle/tests/hickle_loaders/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests/hickle_loaders
    copying hickle/tests/hickle_loaders/load_builtins.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests/hickle_loaders
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3/loaders
    copying hickle/legacy_v3/loaders/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3/loaders
    copying hickle/legacy_v3/loaders/load_numpy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3/loaders
    copying hickle/legacy_v3/loaders/load_astropy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3/loaders
    copying hickle/legacy_v3/loaders/load_pandas.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3/loaders
    copying hickle/legacy_v3/loaders/load_python3.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3/loaders
    copying hickle/legacy_v3/loaders/load_scipy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/legacy_v3/loaders
    I: pybuild base:305: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/dist.py:744: SetuptoolsDeprecationWarning: Invalid dash-separated options
    !!

    ********************************************************************************
    Usage of dash-separated 'description-file' will not be supported in future
    versions. Please use the underscore name 'description_file' instead.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
    ********************************************************************************

    !!
    opt = self.warn_dash_deprecation(opt, section)
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle
    copying hickle/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle
    copying hickle/hickle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle
    copying hickle/fileio.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle
    copying hickle/lookup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle
    copying hickle/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle
    copying hickle/__version__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests copying hickle/tests/generate_legacy_4_0_0.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests
    copying hickle/tests/test_01_hickle_helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests
    copying hickle/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests
    copying hickle/tests/test_hickle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests
    copying hickle/tests/test_99_hickle_core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests
    copying hickle/tests/test_06_load_astropy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests
    copying hickle/tests/test_05_load_scipy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests
    copying hickle/tests/test_07_load_pandas.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests
    copying hickle/tests/test_04_load_numpy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests
    copying hickle/tests/test_02_hickle_lookup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests
    copying hickle/tests/test_legacy_load.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests
    copying hickle/tests/test_03_load_builtins.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/loaders copying hickle/loaders/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/loaders
    copying hickle/loaders/load_numpy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/loaders
    copying hickle/loaders/load_astropy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/loaders
    copying hickle/loaders/load_pandas.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/loaders
    copying hickle/loaders/load_builtins.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/loaders
    copying hickle/loaders/load_scipy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/loaders
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3
    copying hickle/legacy_v3/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3
    copying hickle/legacy_v3/hickle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3
    copying hickle/legacy_v3/lookup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3
    copying hickle/legacy_v3/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3
    copying hickle/legacy_v3/__version__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests/hickle_loaders
    copying hickle/tests/hickle_loaders/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests/hickle_loaders
    copying hickle/tests/hickle_loaders/load_builtins.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests/hickle_loaders
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3/loaders
    copying hickle/legacy_v3/loaders/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3/loaders
    copying hickle/legacy_v3/loaders/load_numpy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3/loaders
    copying hickle/legacy_v3/loaders/load_astropy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3/loaders
    copying hickle/legacy_v3/loaders/load_pandas.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3/loaders
    copying hickle/legacy_v3/loaders/load_python3.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3/loaders
    copying hickle/legacy_v3/loaders/load_scipy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/legacy_v3/loaders
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build; python3.12 -m pytest --no-cov -k "not test_H5NodeFilterProxy"
    ============================= test session starts ==============================
    platform linux -- Python 3.12.2, pytest-8.0.2, pluggy-1.4.0
    rootdir: /<<PKGBUILDDIR>>
    configfile: tox.ini
    plugins: cov-4.1.0, remotedata-0.4.1, filter-subpackage-0.2.0, astropy-header-0.2.2, hypothesis-6.98.15, astropy-0.11.0, arraydiff-0.6.1, mock-3.12.0, doctestplus-1.2.0
    collected 102 items / 1 deselected / 101 selected

    hickle/tests/test_01_hickle_helpers.py ..... [ 4%]
    hickle/tests/test_02_hickle_lookup.py ....................... [ 27%]
    hickle/tests/test_03_load_builtins.py ...... [ 33%]
    hickle/tests/test_04_load_numpy.py .... [ 37%]
    hickle/tests/test_05_load_scipy.py .. [ 39%]
    hickle/tests/test_06_load_astropy.py ......... [ 48%]
    hickle/tests/test_07_load_pandas.py . [ 49%]
    hickle/tests/test_99_hickle_core.py .......... [ 59%]
    hickle/tests/test_hickle.py ......................................F [ 98%]
    hickle/tests/test_legacy_load.py .. [100%]

    =================================== FAILURES ===================================
    _____________________________ test_slash_dict_keys _____________________________

    test_file_name = 'test_slash_dict_keys.hkl', compression_kwargs = {}

    def test_slash_dict_keys(test_file_name,compression_kwargs):
    """ Support for having slashes in dict keys

    https://github.com/telegraphic/hickle/issues/124"""
    dct = {'a/b': [1, '2'], 1.4: 3}

    dump(dct, test_file_name, 'w',**compression_kwargs)
    dct_hkl = load(test_file_name)

    assert isinstance(dct_hkl, dict)
    for key, val in dct_hkl.items():
    assert val == dct.get(key)

    # Check that having backslashes in dict keys will serialize the dict
    dct2 = {'a\\b': [1, '2'], 1.4: 3}
    with pytest.warns(None) as not_expected:

    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests/test_hickle.py:796:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = WarningsChecker(record=True), expected_warning = None, match_expr = None

    def __init__(
    self,
    expected_warning: Optional[
    Union[Type[Warning], Tuple[Type[Warning], ...]]
    ] = Warning,
    match_expr: Optional[Union[str, Pattern[str]]] = None,
    *,
    _ispytest: bool = False,
    ) -> None:
    check_ispytest(_ispytest)
    super().__init__(_ispytest=True)

    msg = "exceptions must be derived from Warning, not %s"
    if expected_warning is None:
    warnings.warn(WARNS_NONE_ARG, stacklevel=4)
    E pytest.PytestRemovedIn8Warning: Passing None has been deprecated. E See https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests for alternatives in common use cases.

    /usr/lib/python3/dist-packages/_pytest/recwarn.py:281: PytestRemovedIn8Warning
    =============================== warnings summary ===============================
    ../../../../../../usr/lib/python3/dist-packages/dateutil/tz/tz.py:37
    /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.
    fromtimestamp(timestamp, datetime.UTC).
    EPOCH = datetime.datetime.utcfromtimestamp(0)

    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_create_astropy_constant
    /usr/lib/python3/dist-packages/astropy/constants/constant.py:137: AstropyUserWarning: Constant 'Gravitational constant' already has a definition in the None system from 'CODATA 2018' reference
    warnings.warn(

    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_create_astropy_constant
    /usr/lib/python3/dist-packages/astropy/constants/constant.py:137: AstropyUserWarning: Constant 'Electron charge' already has a definition in the 'emu' system from 'CODATA 2018' reference
    warnings.warn(

    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py:169: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
    assert reloaded.value[index].tostring() == t1.value[index].tostring()

    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build/hickle/tests/test_06_load_astropy.py:177: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
    assert reloaded.value[index].tostring() == t1.value[index].tostring()

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
    FAILED hickle/tests/test_hickle.py::test_slash_dict_keys - pytest.PytestRemov...
    =========== 1 failed, 100 passed, 1 deselected, 19 warnings in 5.57s ===========
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hickle/build; python3.12 -m pytest --no-cov -k "not test_H5NodeFilterProxy"
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build; python3.11 -m pytest --no-cov -k "not test_H5NodeFilterProxy"
    ============================= test session starts ==============================
    platform linux -- Python 3.11.8, pytest-8.0.2, pluggy-1.4.0
    rootdir: /<<PKGBUILDDIR>>
    configfile: tox.ini
    plugins: cov-4.1.0, remotedata-0.4.1, filter-subpackage-0.2.0, astropy-header-0.2.2, hypothesis-6.98.15, astropy-0.11.0, arraydiff-0.6.1, mock-3.12.0, doctestplus-1.2.0
    collected 102 items / 1 deselected / 101 selected

    hickle/tests/test_01_hickle_helpers.py ..... [ 4%]
    hickle/tests/test_02_hickle_lookup.py ....................... [ 27%]
    hickle/tests/test_03_load_builtins.py ...... [ 33%]
    hickle/tests/test_04_load_numpy.py .... [ 37%]
    hickle/tests/test_05_load_scipy.py .. [ 39%]
    hickle/tests/test_06_load_astropy.py ......... [ 48%]
    hickle/tests/test_07_load_pandas.py . [ 49%]
    hickle/tests/test_99_hickle_core.py .......... [ 59%]
    hickle/tests/test_hickle.py ......................................F [ 98%]
    hickle/tests/test_legacy_load.py .. [100%]

    =================================== FAILURES ===================================
    _____________________________ test_slash_dict_keys _____________________________

    test_file_name = 'test_slash_dict_keys.hkl', compression_kwargs = {}

    def test_slash_dict_keys(test_file_name,compression_kwargs):
    """ Support for having slashes in dict keys

    https://github.com/telegraphic/hickle/issues/124"""
    dct = {'a/b': [1, '2'], 1.4: 3}

    dump(dct, test_file_name, 'w',**compression_kwargs)
    dct_hkl = load(test_file_name)

    assert isinstance(dct_hkl, dict)
    for key, val in dct_hkl.items():
    assert val == dct.get(key)

    # Check that having backslashes in dict keys will serialize the dict
    dct2 = {'a\\b': [1, '2'], 1.4: 3}
    with pytest.warns(None) as not_expected:

    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests/test_hickle.py:796:
    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    self = WarningsChecker(record=True), expected_warning = None, match_expr = None

    def __init__(
    self,
    expected_warning: Optional[
    Union[Type[Warning], Tuple[Type[Warning], ...]]
    ] = Warning,
    match_expr: Optional[Union[str, Pattern[str]]] = None,
    *,
    _ispytest: bool = False,
    ) -> None:
    check_ispytest(_ispytest)
    super().__init__(_ispytest=True)

    msg = "exceptions must be derived from Warning, not %s"
    if expected_warning is None:
    warnings.warn(WARNS_NONE_ARG, stacklevel=4)
    E pytest.PytestRemovedIn8Warning: Passing None has been deprecated. E See https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests for alternatives in common use cases.

    /usr/lib/python3/dist-packages/_pytest/recwarn.py:281: PytestRemovedIn8Warning
    =============================== warnings summary ===============================
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_create_astropy_constant
    /usr/lib/python3/dist-packages/astropy/constants/constant.py:137: AstropyUserWarning: Constant 'Gravitational constant' already has a definition in the None system from 'CODATA 2018' reference
    warnings.warn(

    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_create_astropy_constant
    /usr/lib/python3/dist-packages/astropy/constants/constant.py:137: AstropyUserWarning: Constant 'Electron charge' already has a definition in the 'emu' system from 'CODATA 2018' reference
    warnings.warn(

    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py:169: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
    assert reloaded.value[index].tostring() == t1.value[index].tostring()

    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    .pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py::test_astropy_time_array
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build/hickle/tests/test_06_load_astropy.py:177: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
    assert reloaded.value[index].tostring() == t1.value[index].tostring()

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
    FAILED hickle/tests/test_hickle.py::test_slash_dict_keys - pytest.PytestRemov...
    =========== 1 failed, 100 passed, 1 deselected, 18 warnings in 6.01s ===========
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hickle/build; python3.11 -m pytest --no-cov -k "not test_H5NodeFilterProxy"
    dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" returned exit code 13


    The full build log is available from: http://qa-logs.debian.net/2024/03/13/hickle_5.0.2-8_unstable.log

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Mar 28 09:00:02 2024
    Processing control commands:

    tag -1 pending
    Bug #1066781 [src:hickle] hickle: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" returned exit code 13
    Added tag(s) pending.

    --
    1066781: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066781
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael R. Crusoe@21:1/5 to All on Thu Mar 28 09:00:01 2024
    Control: tag -1 pending

    Hello,

    Bug #1066781 in hickle reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/python-team/packages/hickle/-/commit/8f016c484ff18c3e959d0df8cb54d5216f7c4a2f

    ------------------------------------------------------------------------
    Added patch to fix FTBFS with Pytest version 8. Closes: #1066781 ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1066781

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Mar 28 09:40:02 2024
    This is a multi-part message in MIME format...

    Your message dated Thu, 28 Mar 2024 08:34:57 +0000
    with message-id <E1rplDt-00AI2B-Ed@fasolo.debian.org>
    and subject line Bug#1066781: fixed in hickle 5.0.2-9
    has caused the Debian Bug report #1066781,
    regarding hickle: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" returned exit code 13
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1066781: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066781
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 13 Mar 2024 15:01:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-106.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,WEIRD_PORT
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 76; hammy, 150; neutral, 411; spammy,
    0. spammytokens: hammytokens:0.000-+--python3,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:311
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debian.org ([2