Source: hickle
Version: 5.0.2-8
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@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.

Reply via email to