Source: python-pint
Version: 0.18-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3,sphinxdoc --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.10 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 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/registry.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/matplotlib.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/formatting.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/converters.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/errors.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/quantity.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/registry_helpers.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/definitions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/babel_names.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/numpy_func.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/context.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/_typing.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/measurement.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/unit.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/pint_eval.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/systems.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> running egg_info
> creating Pint.egg-info
> writing Pint.egg-info/PKG-INFO
> writing dependency_links to Pint.egg-info/dependency_links.txt
> writing requirements to Pint.egg-info/requires.txt
> writing top-level names to Pint.egg-info/top_level.txt
> writing manifest file 'Pint.egg-info/SOURCES.txt'
> reading manifest file 'Pint.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'BADGES.rst'
> warning: no files found matching 'version.txt'
> warning: no files found matching '*' under directory 'bench'
> no previously-included directories found matching 'docs/_build'
> no previously-included directories found matching 'docs/_themes/.git'
> warning: no previously-included files found matching '.editorconfig'
> warning: no previously-included files found matching 'bors.toml'
> warning: no previously-included files found matching 
> 'pull_request_template.md'
> warning: no previously-included files found matching 'requirements_docs.txt'
> warning: no previously-included files found matching 'version.py'
> warning: no previously-included files matching '*.pyc' found anywhere in 
> distribution
> warning: no previously-included files matching '*~' found anywhere in 
> distribution
> warning: no previously-included files matching '.DS_Store' found anywhere in 
> distribution
> warning: no previously-included files matching '*__pycache__*' found anywhere 
> in distribution
> warning: no previously-included files matching '*.pyo' found anywhere in 
> distribution
> warning: no previously-included files matching '.travis-exclude.yml' found 
> anywhere in distribution
> adding license file 'LICENSE'
> adding license file 'AUTHORS'
> writing manifest file 'Pint.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: 
> SetuptoolsDeprecationWarning:     Installing 'pint.testsuite' as data is 
> deprecated, please list it in `packages`.
>     !!
> 
> 
>     ############################
>     # Package would be ignored #
>     ############################
>     Python recognizes 'pint.testsuite' as an importable package,
>     but it is not listed in the `packages` configuration of setuptools.
> 
>     'pint.testsuite' has been automatically added to the distribution only
>     because it may contain data files, but this behavior is likely to change
>     in future versions of setuptools (and therefore is considered deprecated).
> 
>     Please make sure that 'pint.testsuite' is included as a package by using
>     the `packages` configuration field or the proper discovery methods
>     (for example by using `find_namespace_packages(...)`/`find_namespace:`
>     instead of `find_packages(...)`/`find:`).
> 
>     You can read more about "package discovery" and "data files" on setuptools
>     documentation page.
> 
> 
> !!
> 
>   check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: 
> SetuptoolsDeprecationWarning:     Installing 'pint.testsuite.baseline' as 
> data is deprecated, please list it in `packages`.
>     !!
> 
> 
>     ############################
>     # Package would be ignored #
>     ############################
>     Python recognizes 'pint.testsuite.baseline' as an importable package,
>     but it is not listed in the `packages` configuration of setuptools.
> 
>     'pint.testsuite.baseline' has been automatically added to the 
> distribution only
>     because it may contain data files, but this behavior is likely to change
>     in future versions of setuptools (and therefore is considered deprecated).
> 
>     Please make sure that 'pint.testsuite.baseline' is included as a package 
> by using
>     the `packages` configuration field or the proper discovery methods
>     (for example by using `find_namespace_packages(...)`/`find_namespace:`
>     instead of `find_packages(...)`/`find:`).
> 
>     You can read more about "package discovery" and "data files" on setuptools
>     documentation page.
> 
> 
> !!
> 
>   check.warn(importable)
> copying pint/constants_en.txt -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/default_en.txt -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/pint-convert -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/py.typed -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> copying pint/xtranslated.txt -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/conftest.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/helpers.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_application_registry.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_babel.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_compat.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_compat_downcast.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_compat_upcast.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_contexts.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_converters.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_dask.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_definitions.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_errors.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_formatter.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_infer_base_unit.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_issues.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_log_units.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_matplotlib.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_measurement.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_non_int.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_numpy.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_numpy_func.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_pint_eval.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_pitheorem.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_quantity.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_systems.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_umath.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_unit.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> copying pint/testsuite/test_util.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/baseline
> copying pint/testsuite/baseline/test_basic_plot.png -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/baseline
> copying pint/testsuite/baseline/test_plot_with_set_units.png -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/baseline
> running build_scripts
> creating build
> creating build/scripts-3.10
> copying and adjusting pint/pint-convert -> build/scripts-3.10
> changing mode of build/scripts-3.10/pint-convert from 644 to 755
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build; 
> python3.10 -m pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> plugins: subtests-0.8.0
> collected 1284 items / 3 skipped
> 
> pint/testsuite/test_application_registry.py ..................ssssssssss [  
> 2%]
> ss.......ssssss..................ssssssssssss..................sssssssss [  
> 7%]
> sss.                                                                     [  
> 8%]
> pint/testsuite/test_babel.py sFF...                                      [  
> 8%]
> pint/testsuite/test_compat.py ..........                                 [  
> 9%]
> pint/testsuite/test_contexts.py .............................,,,..,,,,.. [ 
> 11%]
> ......,,...                                                              [ 
> 12%]
> pint/testsuite/test_converters.py ......                                 [ 
> 13%]
> pint/testsuite/test_definitions.py .......                               [ 
> 13%]
> pint/testsuite/test_errors.py .......,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,. [ 
> 14%]
>                                                                          [ 
> 14%]
> pint/testsuite/test_formatter.py ....                                    [ 
> 14%]
> pint/testsuite/test_infer_base_unit.py ....                              [ 
> 14%]
> pint/testsuite/test_issues.py x.xx........s......s...x.................. [ 
> 18%]
> ...........................s............................................ [ 
> 23%]
> ................                                                         [ 
> 25%]
> pint/testsuite/test_log_units.py ....................................... [ 
> 28%]
> ..........................................xx..xxxx                       [ 
> 31%]
> pint/testsuite/test_matplotlib.py ..                                     [ 
> 32%]
> pint/testsuite/test_measurement.py .sssssssssssss                        [ 
> 33%]
> pint/testsuite/test_numpy.py .....................,,,,,.,,.............. [ 
> 35%]
> ..............x......................................................... [ 
> 41%]
> ..........,,,,,,.................................ssssss                  [ 
> 45%]
> pint/testsuite/test_numpy_func.py ...................                    [ 
> 46%]
> pint/testsuite/test_pint_eval.py .                                       [ 
> 46%]
> pint/testsuite/test_pitheorem.py ..                                      [ 
> 47%]
> pint/testsuite/test_quantity.py .......,,,,,,,,,,,,,,,,,,,,.,,,,,,,,.,,. [ 
> 47%]
> .,,,,,,,,,.............,,,,,,,,,,,,,,,,,,,,,,,,.....s................... [ 
> 50%]
> ........................................................................ [ 
> 56%]
> ........................................................................ [ 
> 62%]
> ........................................................................ [ 
> 67%]
> ........................................................................ [ 
> 73%]
> ........................................................................ [ 
> 78%]
> .........................................                                [ 
> 82%]
> pint/testsuite/test_systems.py ...................                       [ 
> 83%]
> pint/testsuite/test_umath.py ........................................... [ 
> 86%]
> ..................                                                       [ 
> 88%]
> pint/testsuite/test_unit.py ...,,,,,,,,,,,,,.,,,,,,,,,.,,,,,,,,,........ [ 
> 89%]
> ........................................................................ [ 
> 95%]
> ....................................                                     [ 
> 97%]
> pint/testsuite/test_util.py ...............,,,,.............             
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________________________ test_format 
> __________________________________
> 
> sess_registry = <pint.registry.UnitRegistry object at 0x7fa4a42383d0>
> 
>     @helpers.requires_babel()
>     def test_format(sess_registry):
>         ureg = sess_registry
>         dirname = os.path.dirname(__file__)
>         ureg.load_definitions(os.path.join(dirname, "../xtranslated.txt"))
>     
>         distance = 24.0 * ureg.meter
>         assert distance.format_babel(locale="fr_FR", length="long") == "24.0 
> mètres"
>         time = 8.0 * ureg.second
>         assert time.format_babel(locale="fr_FR", length="long") == "8.0 
> secondes"
>         assert time.format_babel(locale="ro", length="short") == "8.0 s"
>         acceleration = distance / time ** 2
> >       assert (
>             acceleration.format_babel(locale="fr_FR", length="long")
>             == "0.375 mètre par seconde²"
>         )
> 
> pint/testsuite/test_babel.py:29: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> pint/quantity.py:493: in format_babel
>     obj.units.format_babel(spec, **kwspec),
> pint/unit.py:122: in format_babel
>     return units.format_babel(spec, registry=self._REGISTRY, **kwspec)
> pint/util.py:465: in format_babel
>     return format_unit(self, spec, registry=registry, **kwspec)
> pint/formatting.py:410: in format_unit
>     return fmt(unit, registry=registry, **options)
> pint/formatting.py:226: in format_default
>     return formatter(
> pint/formatting.py:365: in formatter
>     neg_ret = _join(division_fmt, neg_terms)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> fmt = <babel.localedata.LocaleDataDict object at 0x7fa4a47784c0>
> iterable = ['seconde²']
> 
>     def _join(fmt, iterable):
>         """Join an iterable with the format specified in fmt.
>     
>         The format can be specified in two ways:
>         - PEP3101 format with two replacement fields (eg. '{} * {}')
>         - The concatenating string (eg. ' * ')
>     
>         Parameters
>         ----------
>         fmt : str
>     
>         iterable :
>     
>     
>         Returns
>         -------
>         str
>     
>         """
>         if not iterable:
>             return ""
> >       if not __JOIN_REG_EXP.search(fmt):
> E       TypeError: expected string or bytes-like object
> 
> pint/formatting.py:41: TypeError
> _____________________________ test_registry_locale 
> _____________________________
> 
>     @helpers.requires_babel()
>     def test_registry_locale():
>         ureg = UnitRegistry(fmt_locale="fr_FR")
>         dirname = os.path.dirname(__file__)
>         ureg.load_definitions(os.path.join(dirname, "../xtranslated.txt"))
>     
>         distance = 24.0 * ureg.meter
>         assert distance.format_babel(length="long") == "24.0 mètres"
>         time = 8.0 * ureg.second
>         assert time.format_babel(length="long") == "8.0 secondes"
>         assert time.format_babel(locale="ro", length="short") == "8.0 s"
>         acceleration = distance / time ** 2
> >       assert acceleration.format_babel(length="long") == "0.375 mètre par 
> > seconde²"
> 
> pint/testsuite/test_babel.py:49: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> pint/quantity.py:493: in format_babel
>     obj.units.format_babel(spec, **kwspec),
> pint/unit.py:122: in format_babel
>     return units.format_babel(spec, registry=self._REGISTRY, **kwspec)
> pint/util.py:465: in format_babel
>     return format_unit(self, spec, registry=registry, **kwspec)
> pint/formatting.py:410: in format_unit
>     return fmt(unit, registry=registry, **options)
> pint/formatting.py:226: in format_default
>     return formatter(
> pint/formatting.py:365: in formatter
>     neg_ret = _join(division_fmt, neg_terms)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> fmt = <babel.localedata.LocaleDataDict object at 0x7fa4a47784c0>
> iterable = ['seconde²']
> 
>     def _join(fmt, iterable):
>         """Join an iterable with the format specified in fmt.
>     
>         The format can be specified in two ways:
>         - PEP3101 format with two replacement fields (eg. '{} * {}')
>         - The concatenating string (eg. ' * ')
>     
>         Parameters
>         ----------
>         fmt : str
>     
>         iterable :
>     
>     
>         Returns
>         -------
>         str
>     
>         """
>         if not iterable:
>             return ""
> >       if not __JOIN_REG_EXP.search(fmt):
> E       TypeError: expected string or bytes-like object
> 
> pint/formatting.py:41: TypeError
> =============================== warnings summary 
> ===============================
> pint/testsuite/helpers.py:6
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/helpers.py:6:
>  DeprecationWarning: The distutils package is deprecated and slated for 
> removal in Python 3.12. Use setuptools or check PEP 632 for potential 
> alternatives
>     from distutils.version import LooseVersion
> 
> pint/testsuite/test_matplotlib.py:17
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_matplotlib.py:17:
>  PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a 
> typo?  You can register custom marks to avoid this warning - for details, see 
> https://docs.pytest.org/en/stable/how-to/mark.html
>     @pytest.mark.mpl_image_compare(tolerance=0, remove_text=True)
> 
> pint/testsuite/test_matplotlib.py:30
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_matplotlib.py:30:
>  PytestUnknownMarkWarning: Unknown pytest.mark.mpl_image_compare - is this a 
> typo?  You can register custom marks to avoid this warning - for details, see 
> https://docs.pytest.org/en/stable/how-to/mark.html
>     @pytest.mark.mpl_image_compare(tolerance=0, remove_text=True)
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_compat.py::test_zero_or_nan_numpy
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/compat.py:235: 
> FutureWarning: elementwise comparison failed; returning scalar instead, but 
> in the future will perform elementwise comparison
>     out = lhs == rhs
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_issues.py::TestIssues::test_issue39
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_issues.py:66:
>  PendingDeprecationWarning: the matrix subclass is not the recommended way to 
> represent matrices or deal with linear algebra (see 
> https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please 
> adjust your code to use regular ndarray.
>     x = np.matrix([[1, 2, 3], [1, 2, 3], [1, 2, 3]])
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_issues.py::test_issue925[python
>  scalar int-array]
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_issues.py::test_issue925[array
>  int-array]
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_issues.py::test_issue925[numpy
>  scalar int-array]
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_issues.py::test_issue925[python
>  scalar float-array]
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_issues.py::test_issue925[array
>  float-array]
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_issues.py::test_issue925[numpy
>  scalar float-array]
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_issues.py:859:
>  UnitStrippedWarning: The unit of the quantity is stripped when downcasting 
> to ndarray.
>     callable(q)
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_numpy.py::TestNumpyMathematicalFunctions::test_power
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_numpy.py:480:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     arr = np.array(range(3), dtype=np.float)
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_numpy.py::TestNumpyMathematicalFunctions::test_exponentiation_array_exp_2
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_numpy.py:516:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     arr = np.array(range(3), dtype=np.float)
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_put
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/quantity.py:1805: 
> UnitStrippedWarning: The unit of the quantity is stripped when downcasting to 
> ndarray.
>     self.magnitude.put(indices, values, mode)
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_alen_numpy_func
>   <__array_function__ internals>:5: DeprecationWarning: `np.alen` is 
> deprecated, use `len` instead
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_copyto
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/numpy_func.py:921: 
> UnitStrippedWarning: The unit of the quantity is stripped when copying to 
> non-quantity
>     return handled[name](*args, **kwargs)
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 36 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1151:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     (np.array([q1v] * 2, dtype=np.float), q1u),
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 36 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1152:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     (np.array([q2v] * 2, dtype=np.float), q2u),
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 24 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1162:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     expected = np.array([expected[0]] * 2, dtype=np.float), expected[1]
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 36 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1230:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     (np.array([q1v] * 2, dtype=np.float), q1u),
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 36 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1231:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     (np.array([q2v] * 2, dtype=np.float), q2u),
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 36 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1241:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     expected = np.array([expected[0]] * 2, dtype=np.float), expected[1]
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 36 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1308:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     (np.array([q1v] * 2, dtype=np.float), q1u),
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 36 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1309:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     (np.array([q2v] * 2, dtype=np.float), q2u),
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 16 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1319:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     expected = np.array([expected[0]] * 2, dtype=np.float), expected[1]
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 36 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1388:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     (np.array([q1v] * 2, dtype=np.float), q1u),
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 36 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1389:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     (np.array([q2v] * 2, dtype=np.float), q2u),
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 16 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1399:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     expected = np.array([expected[0]] * 2, dtype=np.float), expected[1]
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 20 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1454:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     (np.array([q1v] * 2, dtype=np.float), q1u),
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 20 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1455:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     (np.array([q2v] * 2, dtype=np.float), q2u),
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 20 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1465:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     expected = np.array([expected[0]] * 2, dtype=np.float), expected[1]
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py: 12 warnings
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1613:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     np.array([expected_copy[i][0]] * 2, dtype=np.float),
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation[input_tuple6-expected6]
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation[input_tuple7-expected7]
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation[input_tuple8-expected8]
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation[input_tuple12-expected12]
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1594:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     in1 = self.Q_(*(np.array([q1v] * 2, dtype=np.float), q1u))
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation[input_tuple10-expected10]
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation[input_tuple10-expected10]
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation[input_tuple11-expected11]
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation[input_tuple11-expected11]
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py:1618:
>  DeprecationWarning: `np.float` is a deprecated alias for the builtin 
> `float`. To silence this warning, use `float` by itself. Doing this will not 
> modify any behavior and is safe. If you specifically wanted the numpy scalar 
> type, use `np.float64` here.
>   Deprecated in NumPy 1.20; for more details and guidance: 
> https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
>     expected = np.array([expected_copy[i]] * 2, dtype=np.float)
> 
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py::TestCompareNeutral::test_equal_zero_nan_NP
> .pybuild/cpython3_3.10_pint/build/pint/testsuite/test_quantity.py::TestCompareNeutral::test_equal_zero_nan_NP
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build/pint/compat.py:235: 
> DeprecationWarning: elementwise comparison failed; this will raise an error 
> in the future.
>     out = lhs == rhs
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED pint/testsuite/test_babel.py::test_format - TypeError: expected 
> string...
> FAILED pint/testsuite/test_babel.py::test_registry_locale - TypeError: 
> expect...
> = 2 failed, 1205 passed, 69 skipped, 11 xfailed, 478 warnings, 156 subtests 
> passed in 34.12s =
> E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pint/build; python3.10 -m pytest 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/python-pint_0.18-1_unstable.log

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