Source: python-pint Version: 0.19.2-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240319 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 --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:305: python3.12 setup.py config > /usr/lib/python3/dist-packages/setuptools/__init__.py:84: > _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are > deprecated. > !! > > > ******************************************************************************** > Requirements should be satisfied by a PEP 517 installer. > If you are using pip, you can try `pip install --use-pep517`. > > ******************************************************************************** > > !! > dist.fetch_build_eggs(dist.setup_requires) > WARNING: The wheel package is not available. > running config > I: pybuild base:305: python3.11 setup.py config > /usr/lib/python3/dist-packages/setuptools/__init__.py:84: > _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are > deprecated. > !! > > > ******************************************************************************** > Requirements should be satisfied by a PEP 517 installer. > If you are using pip, you can try `pip install --use-pep517`. > > ******************************************************************************** > > !! > dist.fetch_build_eggs(dist.setup_requires) > WARNING: The wheel package is not available. > 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/__init__.py:84: > _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are > deprecated. > !! > > > ******************************************************************************** > Requirements should be satisfied by a PEP 517 installer. > If you are using pip, you can try `pip install --use-pep517`. > > ******************************************************************************** > > !! > dist.fetch_build_eggs(dist.setup_requires) > WARNING: The wheel package is not available. > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/compat.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/converters.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/parser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/testing.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/numpy_func.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/registry_helpers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/errors.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/registry.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/context.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/pint_eval.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/systems.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/matplotlib.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/_typing.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/measurement.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/util.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/formatting.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/quantity.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/definitions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/babel_names.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/unit.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_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:204: _Warning: > Package 'pint._vendor' is absent from the `packages` configuration. > !! > > > ******************************************************************************** > ############################ > # Package would be ignored # > ############################ > Python recognizes 'pint._vendor' as an importable package[^1], > but it is absent from setuptools' `packages` configuration. > > This leads to an ambiguous overall configuration. If you want to > distribute this > package, please make sure that 'pint._vendor' is explicitly added > to the `packages` configuration field. > > Alternatively, you can also rely on setuptools' discovery methods > (for example by using `find_namespace_packages(...)`/`find_namespace:` > instead of `find_packages(...)`/`find:`). > > You can read more about "package discovery" on setuptools > documentation page: > > - > https://setuptools.pypa.io/en/latest/userguide/package_discovery.html > > If you don't want 'pint._vendor' to be distributed and are > already explicitly excluding 'pint._vendor' via > `find_namespace_packages(...)/find_namespace` or > `find_packages(...)/find`, > you can try to use `exclude_package_data`, or > `include-package-data=False` in > combination with a more fine grained `package-data` configuration. > > You can read more about "package data files" on setuptools > documentation page: > > - https://setuptools.pypa.io/en/latest/userguide/datafiles.html > > > [^1]: For Python, any directory (with suitable naming) can be > imported, > even if it does not contain any `.py` files. > On the other hand, currently there is no concept of package data > directory, all directories are treated like packages. > > ******************************************************************************** > > !! > check.warn(importable) > /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: > Package 'pint.testsuite' is absent from the `packages` configuration. > !! > > > ******************************************************************************** > ############################ > # Package would be ignored # > ############################ > Python recognizes 'pint.testsuite' as an importable package[^1], > but it is absent from setuptools' `packages` configuration. > > This leads to an ambiguous overall configuration. If you want to > distribute this > package, please make sure that 'pint.testsuite' is explicitly added > to the `packages` configuration field. > > Alternatively, you can also rely on setuptools' discovery methods > (for example by using `find_namespace_packages(...)`/`find_namespace:` > instead of `find_packages(...)`/`find:`). > > You can read more about "package discovery" on setuptools > documentation page: > > - > https://setuptools.pypa.io/en/latest/userguide/package_discovery.html > > If you don't want 'pint.testsuite' to be distributed and are > already explicitly excluding 'pint.testsuite' via > `find_namespace_packages(...)/find_namespace` or > `find_packages(...)/find`, > you can try to use `exclude_package_data`, or > `include-package-data=False` in > combination with a more fine grained `package-data` configuration. > > You can read more about "package data files" on setuptools > documentation page: > > - https://setuptools.pypa.io/en/latest/userguide/datafiles.html > > > [^1]: For Python, any directory (with suitable naming) can be > imported, > even if it does not contain any `.py` files. > On the other hand, currently there is no concept of package data > directory, all directories are treated like packages. > > ******************************************************************************** > > !! > check.warn(importable) > /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: > Package 'pint.testsuite.baseline' is absent from the `packages` configuration. > !! > > > ******************************************************************************** > ############################ > # Package would be ignored # > ############################ > Python recognizes 'pint.testsuite.baseline' as an importable > package[^1], > but it is absent from setuptools' `packages` configuration. > > This leads to an ambiguous overall configuration. If you want to > distribute this > package, please make sure that 'pint.testsuite.baseline' is > explicitly added > to the `packages` configuration field. > > Alternatively, you can also rely on setuptools' discovery methods > (for example by using `find_namespace_packages(...)`/`find_namespace:` > instead of `find_packages(...)`/`find:`). > > You can read more about "package discovery" on setuptools > documentation page: > > - > https://setuptools.pypa.io/en/latest/userguide/package_discovery.html > > If you don't want 'pint.testsuite.baseline' to be distributed and are > already explicitly excluding 'pint.testsuite.baseline' via > `find_namespace_packages(...)/find_namespace` or > `find_packages(...)/find`, > you can try to use `exclude_package_data`, or > `include-package-data=False` in > combination with a more fine grained `package-data` configuration. > > You can read more about "package data files" on setuptools > documentation page: > > - https://setuptools.pypa.io/en/latest/userguide/datafiles.html > > > [^1]: For Python, any directory (with suitable naming) can be > imported, > even if it does not contain any `.py` files. > On the other hand, currently there is no concept of package data > directory, all directories are treated like packages. > > ******************************************************************************** > > !! > check.warn(importable) > copying pint/constants_en.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/default_en.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/pint-convert -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/py.typed -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > copying pint/xtranslated.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/_vendor > copying pint/_vendor/appdirs.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/_vendor > copying pint/_vendor/flexcache.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/_vendor > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/conftest.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/helpers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_application_registry.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_babel.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_compat.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_compat_downcast.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_compat_upcast.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_contexts.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_converters.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_dask.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_definitions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_diskcache.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_errors.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_formatter.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_formatting.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_infer_base_unit.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_issues.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_log_units.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_matplotlib.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_measurement.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_non_int.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_numpy.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_numpy_func.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_pint_eval.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_pitheorem.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_quantity.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_systems.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_testing.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_umath.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_unit.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > copying pint/testsuite/test_util.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite/baseline > copying pint/testsuite/baseline/test_basic_plot.png -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite/baseline > copying pint/testsuite/baseline/test_plot_with_set_units.png -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite/baseline > running build_scripts > creating build > creating build/scripts-3.12 > copying and adjusting pint/pint-convert -> build/scripts-3.12 > changing mode of build/scripts-3.12/pint-convert from 644 to 755 > I: pybuild base:305: /usr/bin/python3 setup.py build > /usr/lib/python3/dist-packages/setuptools/__init__.py:84: > _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are > deprecated. > !! > > > ******************************************************************************** > Requirements should be satisfied by a PEP 517 installer. > If you are using pip, you can try `pip install --use-pep517`. > > ******************************************************************************** > > !! > dist.fetch_build_eggs(dist.setup_requires) > WARNING: The wheel package is not available. > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/compat.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/converters.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/parser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/testing.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/numpy_func.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/registry_helpers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/errors.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/registry.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/context.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/pint_eval.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/systems.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/matplotlib.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/_typing.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/measurement.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/util.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/formatting.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/quantity.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/definitions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/babel_names.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/unit.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > running 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 > 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:204: _Warning: > Package 'pint._vendor' is absent from the `packages` configuration. > !! > > > ******************************************************************************** > ############################ > # Package would be ignored # > ############################ > Python recognizes 'pint._vendor' as an importable package[^1], > but it is absent from setuptools' `packages` configuration. > > This leads to an ambiguous overall configuration. If you want to > distribute this > package, please make sure that 'pint._vendor' is explicitly added > to the `packages` configuration field. > > Alternatively, you can also rely on setuptools' discovery methods > (for example by using `find_namespace_packages(...)`/`find_namespace:` > instead of `find_packages(...)`/`find:`). > > You can read more about "package discovery" on setuptools > documentation page: > > - > https://setuptools.pypa.io/en/latest/userguide/package_discovery.html > > If you don't want 'pint._vendor' to be distributed and are > already explicitly excluding 'pint._vendor' via > `find_namespace_packages(...)/find_namespace` or > `find_packages(...)/find`, > you can try to use `exclude_package_data`, or > `include-package-data=False` in > combination with a more fine grained `package-data` configuration. > > You can read more about "package data files" on setuptools > documentation page: > > - https://setuptools.pypa.io/en/latest/userguide/datafiles.html > > > [^1]: For Python, any directory (with suitable naming) can be > imported, > even if it does not contain any `.py` files. > On the other hand, currently there is no concept of package data > directory, all directories are treated like packages. > > ******************************************************************************** > > !! > check.warn(importable) > /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: > Package 'pint.testsuite' is absent from the `packages` configuration. > !! > > > ******************************************************************************** > ############################ > # Package would be ignored # > ############################ > Python recognizes 'pint.testsuite' as an importable package[^1], > but it is absent from setuptools' `packages` configuration. > > This leads to an ambiguous overall configuration. If you want to > distribute this > package, please make sure that 'pint.testsuite' is explicitly added > to the `packages` configuration field. > > Alternatively, you can also rely on setuptools' discovery methods > (for example by using `find_namespace_packages(...)`/`find_namespace:` > instead of `find_packages(...)`/`find:`). > > You can read more about "package discovery" on setuptools > documentation page: > > - > https://setuptools.pypa.io/en/latest/userguide/package_discovery.html > > If you don't want 'pint.testsuite' to be distributed and are > already explicitly excluding 'pint.testsuite' via > `find_namespace_packages(...)/find_namespace` or > `find_packages(...)/find`, > you can try to use `exclude_package_data`, or > `include-package-data=False` in > combination with a more fine grained `package-data` configuration. > > You can read more about "package data files" on setuptools > documentation page: > > - https://setuptools.pypa.io/en/latest/userguide/datafiles.html > > > [^1]: For Python, any directory (with suitable naming) can be > imported, > even if it does not contain any `.py` files. > On the other hand, currently there is no concept of package data > directory, all directories are treated like packages. > > ******************************************************************************** > > !! > check.warn(importable) > /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning: > Package 'pint.testsuite.baseline' is absent from the `packages` configuration. > !! > > > ******************************************************************************** > ############################ > # Package would be ignored # > ############################ > Python recognizes 'pint.testsuite.baseline' as an importable > package[^1], > but it is absent from setuptools' `packages` configuration. > > This leads to an ambiguous overall configuration. If you want to > distribute this > package, please make sure that 'pint.testsuite.baseline' is > explicitly added > to the `packages` configuration field. > > Alternatively, you can also rely on setuptools' discovery methods > (for example by using `find_namespace_packages(...)`/`find_namespace:` > instead of `find_packages(...)`/`find:`). > > You can read more about "package discovery" on setuptools > documentation page: > > - > https://setuptools.pypa.io/en/latest/userguide/package_discovery.html > > If you don't want 'pint.testsuite.baseline' to be distributed and are > already explicitly excluding 'pint.testsuite.baseline' via > `find_namespace_packages(...)/find_namespace` or > `find_packages(...)/find`, > you can try to use `exclude_package_data`, or > `include-package-data=False` in > combination with a more fine grained `package-data` configuration. > > You can read more about "package data files" on setuptools > documentation page: > > - https://setuptools.pypa.io/en/latest/userguide/datafiles.html > > > [^1]: For Python, any directory (with suitable naming) can be > imported, > even if it does not contain any `.py` files. > On the other hand, currently there is no concept of package data > directory, all directories are treated like packages. > > ******************************************************************************** > > !! > check.warn(importable) > copying pint/constants_en.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/default_en.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/pint-convert -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/py.typed -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > copying pint/xtranslated.txt -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/_vendor > copying pint/_vendor/appdirs.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/_vendor > copying pint/_vendor/flexcache.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/_vendor > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/conftest.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/helpers.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_application_registry.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_babel.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_compat.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_compat_downcast.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_compat_upcast.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_contexts.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_converters.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_dask.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_definitions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_diskcache.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_errors.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_formatter.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_formatting.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_infer_base_unit.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_issues.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_log_units.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_matplotlib.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_measurement.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_non_int.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_numpy.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_numpy_func.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_pint_eval.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_pitheorem.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_quantity.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_systems.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_testing.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_umath.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_unit.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > copying pint/testsuite/test_util.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite/baseline > copying pint/testsuite/baseline/test_basic_plot.png -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite/baseline > copying pint/testsuite/baseline/test_plot_with_set_units.png -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite/baseline > running build_scripts > creating build/scripts-3.11 > copying and adjusting pint/pint-convert -> build/scripts-3.11 > changing mode of build/scripts-3.11/pint-convert from 644 to 755 > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build; > python3.12 -m pytest > ============================= test session starts > ============================== > platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build > configfile: pyproject.toml > plugins: subtests-0.11.0 > collected 1444 items / 3 skipped > > pint/testsuite/test_application_registry.py ..................ssssssssss [ > 1%] > ss.......ssssss..................ssssssssssss..................sssssssss [ > 6%] > sss.. [ > 7%] > pint/testsuite/test_babel.py ssssss [ > 7%] > pint/testsuite/test_compat.py .......... [ > 8%] > pint/testsuite/test_contexts.py ...............................,,,..,,,,. [ > 10%] > .......,,... [ > 11%] > pint/testsuite/test_converters.py ...... [ > 11%] > pint/testsuite/test_definitions.py ....... [ > 12%] > pint/testsuite/test_diskcache.py ..... [ > 12%] > pint/testsuite/test_errors.py .......,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,. [ > 13%] > [ > 13%] > pint/testsuite/test_formatter.py .... [ > 13%] > pint/testsuite/test_formatting.py ................................. [ > 15%] > pint/testsuite/test_infer_base_unit.py ........ [ > 16%] > pint/testsuite/test_issues.py x.xx........s......s...x.................. [ > 19%] > ............................s........................................... [ > 24%] > ................... [ > 25%] > pint/testsuite/test_log_units.py ....................................... [ > 28%] > ..........................................xx..xxxx [ > 31%] > pint/testsuite/test_matplotlib.py .. [ > 31%] > pint/testsuite/test_measurement.py .ssssssssssssss [ > 32%] > pint/testsuite/test_numpy.py .....................,,,,,.,,.............. [ > 35%] > ...............x.....................FFF......FFF....................... [ > 40%] > ...........,,,,,,.................................ssssss [ > 43%] > pint/testsuite/test_numpy_func.py ................... [ > 45%] > pint/testsuite/test_pint_eval.py ............................... [ > 47%] > pint/testsuite/test_pitheorem.py .. [ > 47%] > pint/testsuite/test_quantity.py .......,,,,,,,,,,,,,,,,,,,,.,,,,,,,,.,,. [ > 48%] > .,,,,,,,,,...............,,,,,,,,,,,,,,,,,,,,,,,,.....s................. [ > 50%] > .........F......................,,,,,,,,,,,,,,,,,,,,.,,,,,,,,.,,..,,,,,,,,,. > [ 53%] > ..............,,,,,,,,,,,,,,,,,,,,,,,,.....s............................ [ > 56%] > ........................................................................ [ > 61%] > ........................................................................ [ > 66%] > ........................................................................ [ > 71%] > ........................................................................ [ > 76%] > ........................................................................ [ > 81%] > ............F....... [ > 83%] > pint/testsuite/test_systems.py ................... [ > 84%] > pint/testsuite/test_testing.py ............ [ > 85%] > pint/testsuite/test_umath.py ........................................... [ > 88%] > .................. [ > 89%] > pint/testsuite/test_unit.py ...,,,,,,,,,,,,,.,,,,,,,,,..,,,,,,,,,....... [ > 90%] > ........................................................................ [ > 95%] > ........................................ [ > 98%] > pint/testsuite/test_util.py ...............,,,,............. > [100%] > > =================================== FAILURES > =================================== > __________________ TestNumpyUnclassified.test_max_numpy_func > ___________________ > > self = <pint.testsuite.test_numpy.TestNumpyUnclassified object at > 0x7f775aa89f70> > > def test_max_numpy_func(self): > > assert np.max(self.q) == 4 * self.ureg.m > E TypeError: no implementation found for 'numpy.max' on types that > implement __array_function__: [<class > 'pint.quantity.build_quantity_class.<locals>.Quantity'>] > > pint/testsuite/test_numpy.py:675: TypeError > _________________ TestNumpyUnclassified.test_max_with_axis_arg > _________________ > > self = <pint.testsuite.test_numpy.TestNumpyUnclassified object at > 0x7f775aa8a870> > > @helpers.requires_array_function_protocol() > def test_max_with_axis_arg(self): > > helpers.assert_quantity_equal(np.max(self.q, axis=1), [2, 4] * > > self.ureg.m) > E TypeError: no implementation found for 'numpy.max' on types that > implement __array_function__: [<class > 'pint.quantity.build_quantity_class.<locals>.Quantity'>] > > pint/testsuite/test_numpy.py:679: TypeError > _______________ TestNumpyUnclassified.test_max_with_initial_arg > ________________ > > self = <pint.testsuite.test_numpy.TestNumpyUnclassified object at > 0x7f775aa84aa0> > > @helpers.requires_array_function_protocol() > def test_max_with_initial_arg(self): > helpers.assert_quantity_equal( > > np.max(self.q[..., None], axis=2, initial=3 * self.ureg.m), > [[3, 3], [3, 4]] * self.ureg.m, > ) > E TypeError: no implementation found for 'numpy.max' on types that > implement __array_function__: [<class > 'pint.quantity.build_quantity_class.<locals>.Quantity'>] > > pint/testsuite/test_numpy.py:684: TypeError > __________________ TestNumpyUnclassified.test_min_numpy_func > ___________________ > > self = <pint.testsuite.test_numpy.TestNumpyUnclassified object at > 0x7f775aa85640> > > @helpers.requires_array_function_protocol() > def test_min_numpy_func(self): > > assert np.min(self.q) == 1 * self.ureg.m > E TypeError: no implementation found for 'numpy.min' on types that > implement __array_function__: [<class > 'pint.quantity.build_quantity_class.<locals>.Quantity'>] > > pint/testsuite/test_numpy.py:713: TypeError > _________________ TestNumpyUnclassified.test_min_with_axis_arg > _________________ > > self = <pint.testsuite.test_numpy.TestNumpyUnclassified object at > 0x7f775aa857f0> > > @helpers.requires_array_function_protocol() > def test_min_with_axis_arg(self): > > helpers.assert_quantity_equal(np.min(self.q, axis=1), [1, 3] * > > self.ureg.m) > E TypeError: no implementation found for 'numpy.min' on types that > implement __array_function__: [<class > 'pint.quantity.build_quantity_class.<locals>.Quantity'>] > > pint/testsuite/test_numpy.py:717: TypeError > _______________ TestNumpyUnclassified.test_min_with_initial_arg > ________________ > > self = <pint.testsuite.test_numpy.TestNumpyUnclassified object at > 0x7f775aa859a0> > > @helpers.requires_array_function_protocol() > def test_min_with_initial_arg(self): > helpers.assert_quantity_equal( > > np.min(self.q[..., None], axis=2, initial=3 * self.ureg.m), > [[1, 2], [3, 3]] * self.ureg.m, > ) > E TypeError: no implementation found for 'numpy.min' on types that > implement __array_function__: [<class > 'pint.quantity.build_quantity_class.<locals>.Quantity'>] > > pint/testsuite/test_numpy.py:722: TypeError > _______________ TestQuantityToCompact.test_nonnumeric_magnitudes > _______________ > > self = <pint.testsuite.test_quantity.TestQuantityToCompact object at > 0x7f775a7a6450> > > def test_nonnumeric_magnitudes(self): > ureg = self.ureg > x = "some string" * ureg.m > > with pytest.warns(RuntimeWarning): > E TypeError: Warning must be str or Warning, got <class > 'RuntimeWarning'> (type type) > > pint/testsuite/test_quantity.py:756: TypeError > __________________ TestCompareNeutral.test_equal_zero_nan_NP > ___________________ > > self = <pint.testsuite.test_quantity.TestCompareNeutral object at > 0x7f775a7d90a0> > > @helpers.requires_numpy > def test_equal_zero_nan_NP(self): > self.ureg.autoconvert_offset_to_baseunit = False > aeq = np.testing.assert_array_equal > aeq(self.Q_(0, "J") == np.array([0, np.nan]), np.array([True, False])) > aeq(self.Q_(5, "J") == np.array([0, np.nan]), np.array([False, > False])) > aeq( > self.Q_([0, 1, 2], "J") == np.array([0, 0, np.nan]), > np.asarray([True, False, False]), > ) > > assert not (self.Q_(np.arange(4), "J") == np.zeros(3)) > > pint/testsuite/test_quantity.py:1836: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > pint/quantity.py:139: in wrapped > return f(self, *args, **kwargs) > pint/quantity.py:1619: in __eq__ > return eq(self._magnitude, other, False) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > lhs = array([0, 1, 2, 3]), rhs = array([0., 0., 0.]), check_all = False > > def eq(lhs, rhs, check_all: bool): > """Comparison of scalars and arrays. > > Parameters > ---------- > lhs : object > left-hand side > rhs : object > right-hand side > check_all : bool > if True, reduce sequence to single bool; > return True if all the elements are equal. > > Returns > ------- > bool or array_like of bool > """ > > out = lhs == rhs > E ValueError: operands could not be broadcast together with shapes (4,) > (3,) > > pint/compat.py:235: ValueError > =============================== warnings summary > =============================== > pint/testsuite/test_matplotlib.py:22 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite/test_matplotlib.py:22: > 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:35 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite/test_matplotlib.py:35: > 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/helpers.py:125 > pint/testsuite/helpers.py:125 > pint/testsuite/helpers.py:125 > pint/testsuite/helpers.py:125 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite/helpers.py:125: > DeprecationWarning: distutils Version classes are deprecated. Use > packaging.version instead. > not LooseVersion(NUMPY_VER) >= LooseVersion(version), > > pint/parser.py:264: 1 warning > pint/testsuite/test_application_registry.py: 39 warnings > pint/testsuite/test_contexts.py: 23 warnings > pint/testsuite/test_diskcache.py: 6 warnings > pint/testsuite/test_errors.py: 1 warning > pint/testsuite/test_infer_base_unit.py: 4 warnings > pint/testsuite/test_issues.py: 14 warnings > pint/testsuite/test_log_units.py: 5 warnings > pint/testsuite/test_matplotlib.py: 1 warning > pint/testsuite/test_measurement.py: 1 warning > pint/testsuite/test_pitheorem.py: 1 warning > pint/testsuite/test_quantity.py: 30 warnings > pint/testsuite/test_systems.py: 6 warnings > pint/testsuite/test_umath.py: 4 warnings > pint/testsuite/test_unit.py: 23 warnings > pint/testsuite/test_util.py: 1 warning > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/parser.py:264: > DeprecationWarning: path is deprecated. Use files() instead. Refer to > https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy > for migration advice. > with resources.path(__package__, resource_name) as p: > > pint/testsuite/test_issues.py::TestIssues::test_issue39 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite/test_issues.py:65: > 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]]) > > pint/testsuite/test_matplotlib.py::test_basic_plot > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: Expected None, but > pint/testsuite/test_matplotlib.py::test_basic_plot returned <Figure size > 640x480 with 1 Axes>, which will be an error in a future version of pytest. > Did you mean to use `assert` instead of `return`? > warnings.warn( > > pint/testsuite/test_matplotlib.py::test_plot_with_set_units > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: Expected None, but > pint/testsuite/test_matplotlib.py::test_plot_with_set_units returned <Figure > size 640x480 with 1 Axes>, which will be an error in a future version of > pytest. Did you mean to use `assert` instead of `return`? > warnings.warn( > > pint/testsuite/test_numpy.py::TestNumpyMathematicalFunctions::test_cumprod_numpy_func > pint/testsuite/test_numpy.py::TestNumpyMathematicalFunctions::test_cumprod_numpy_func > /usr/lib/python3/dist-packages/_pytest/python.py:195: DeprecationWarning: > `cumproduct` is deprecated as of NumPy 1.25.0, and will be removed in NumPy > 2.0. Please use `cumprod` instead. > result = testfunction(**testargs) > > pint/testsuite/test_numpy.py::TestNumpyMathematicalFunctions::test_cumprod_numpy_func > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/numpy_func.py:936: > DeprecationWarning: `cumproduct` is deprecated as of NumPy 1.25.0, and will > be removed in NumPy 2.0. Please use `cumprod` instead. > return handled[name](*args, **kwargs) > > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_put > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/quantity.py:1809: > UnitStrippedWarning: The unit of the quantity is stripped when downcasting to > ndarray. > self.magnitude.put(indices, values, mode) > > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_round_numpy_func > /usr/lib/python3/dist-packages/_pytest/python.py:195: DeprecationWarning: > `round_` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. > Please use `round` instead. > result = testfunction(**testargs) > > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_round_numpy_func > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/numpy_func.py:936: > DeprecationWarning: `round_` is deprecated as of NumPy 1.25.0, and will be > removed in NumPy 2.0. Please use `round` instead. > return handled[name](*args, **kwargs) > > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_copyto > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/numpy_func.py:936: > UnitStrippedWarning: The unit of the quantity is stripped when copying to > non-quantity > return handled[name](*args, **kwargs) > > pint/testsuite/test_quantity.py::TestQuantityToCompact::test_nonnumeric_magnitudes > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testing.py:74: > UserWarning: <class 'RuntimeWarning'> > warnings.warn(RuntimeWarning) > > pint/testsuite/test_unit.py::TestRegistry::test_load > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build/pint/testsuite/test_unit.py:277: > DeprecationWarning: pkg_resources is deprecated as an API. See > https://setuptools.pypa.io/en/latest/pkg_resources.html > import pkg_resources > > pint/testsuite/test_unit.py::TestRegistry::test_load > /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871: > DeprecationWarning: Deprecated call to > `pkg_resources.declare_namespace('mpl_toolkits')`. > Implementing implicit namespace packages (as specified in PEP 420) is > preferred to `pkg_resources.declare_namespace`. See > https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages > declare_namespace(pkg) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_max_numpy_func > FAILED > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_max_with_axis_arg > FAILED > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_max_with_initial_arg > FAILED > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_min_numpy_func > FAILED > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_min_with_axis_arg > FAILED > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_min_with_initial_arg > FAILED > pint/testsuite/test_quantity.py::TestQuantityToCompact::test_nonnumeric_magnitudes > FAILED > pint/testsuite/test_quantity.py::TestCompareNeutral::test_equal_zero_nan_NP > = 8 failed, 1352 passed, 76 skipped, 11 xfailed, 179 warnings, 219 subtests > passed in 27.90s = > E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pint/build; python3.12 -m pytest > I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build; > python3.11 -m pytest > ============================= test session starts > ============================== > platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build > configfile: pyproject.toml > plugins: subtests-0.11.0 > collected 1444 items / 3 skipped > > pint/testsuite/test_application_registry.py ..................ssssssssss [ > 1%] > ss.......ssssss..................ssssssssssss..................sssssssss [ > 6%] > sss.. [ > 7%] > pint/testsuite/test_babel.py ssssss [ > 7%] > pint/testsuite/test_compat.py .......... [ > 8%] > pint/testsuite/test_contexts.py ...............................,,,..,,,,. [ > 10%] > .......,,... [ > 11%] > pint/testsuite/test_converters.py ...... [ > 11%] > pint/testsuite/test_definitions.py ....... [ > 12%] > pint/testsuite/test_diskcache.py ..... [ > 12%] > pint/testsuite/test_errors.py .......,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,. [ > 13%] > [ > 13%] > pint/testsuite/test_formatter.py .... [ > 13%] > pint/testsuite/test_formatting.py ................................. [ > 15%] > pint/testsuite/test_infer_base_unit.py ........ [ > 16%] > pint/testsuite/test_issues.py x.xx........s......s...x.................. [ > 19%] > ............................s........................................... [ > 24%] > ................... [ > 25%] > pint/testsuite/test_log_units.py ....................................... [ > 28%] > ..........................................xx..xxxx [ > 31%] > pint/testsuite/test_matplotlib.py .. [ > 31%] > pint/testsuite/test_measurement.py .ssssssssssssss [ > 32%] > pint/testsuite/test_numpy.py .....................,,,,,.,,.............. [ > 35%] > ...............x.....................FFF......FFF....................... [ > 40%] > ...........,,,,,,.................................ssssss [ > 43%] > pint/testsuite/test_numpy_func.py ................... [ > 45%] > pint/testsuite/test_pint_eval.py ............................... [ > 47%] > pint/testsuite/test_pitheorem.py .. [ > 47%] > pint/testsuite/test_quantity.py .......,,,,,,,,,,,,,,,,,,,,.,,,,,,,,.,,. [ > 48%] > .,,,,,,,,,...............,,,,,,,,,,,,,,,,,,,,,,,,.....s................. [ > 50%] > .........F......................,,,,,,,,,,,,,,,,,,,,.,,,,,,,,.,,..,,,,,,,,,. > [ 53%] > ..............,,,,,,,,,,,,,,,,,,,,,,,,.....s............................ [ > 56%] > ........................................................................ [ > 61%] > ........................................................................ [ > 66%] > ........................................................................ [ > 71%] > ........................................................................ [ > 76%] > ........................................................................ [ > 81%] > ............F....... [ > 83%] > pint/testsuite/test_systems.py ................... [ > 84%] > pint/testsuite/test_testing.py ............ [ > 85%] > pint/testsuite/test_umath.py ........................................... [ > 88%] > .................. [ > 89%] > pint/testsuite/test_unit.py ...,,,,,,,,,,,,,.,,,,,,,,,..,,,,,,,,,....... [ > 90%] > ........................................................................ [ > 95%] > ........................................ [ > 98%] > pint/testsuite/test_util.py ...............,,,,............. > [100%] > > =================================== FAILURES > =================================== > __________________ TestNumpyUnclassified.test_max_numpy_func > ___________________ > > self = <pint.testsuite.test_numpy.TestNumpyUnclassified object at > 0x7f70df87de10> > > def test_max_numpy_func(self): > > assert np.max(self.q) == 4 * self.ureg.m > E TypeError: no implementation found for 'numpy.max' on types that > implement __array_function__: [<class > 'pint.quantity.build_quantity_class.<locals>.Quantity'>] > > pint/testsuite/test_numpy.py:675: TypeError > _________________ TestNumpyUnclassified.test_max_with_axis_arg > _________________ > > self = <pint.testsuite.test_numpy.TestNumpyUnclassified object at > 0x7f70df61dfd0> > > @helpers.requires_array_function_protocol() > def test_max_with_axis_arg(self): > > helpers.assert_quantity_equal(np.max(self.q, axis=1), [2, 4] * > > self.ureg.m) > E TypeError: no implementation found for 'numpy.max' on types that > implement __array_function__: [<class > 'pint.quantity.build_quantity_class.<locals>.Quantity'>] > > pint/testsuite/test_numpy.py:679: TypeError > _______________ TestNumpyUnclassified.test_max_with_initial_arg > ________________ > > self = <pint.testsuite.test_numpy.TestNumpyUnclassified object at > 0x7f70df61ebd0> > > @helpers.requires_array_function_protocol() > def test_max_with_initial_arg(self): > helpers.assert_quantity_equal( > > np.max(self.q[..., None], axis=2, initial=3 * self.ureg.m), > [[3, 3], [3, 4]] * self.ureg.m, > ) > E TypeError: no implementation found for 'numpy.max' on types that > implement __array_function__: [<class > 'pint.quantity.build_quantity_class.<locals>.Quantity'>] > > pint/testsuite/test_numpy.py:684: TypeError > __________________ TestNumpyUnclassified.test_min_numpy_func > ___________________ > > self = <pint.testsuite.test_numpy.TestNumpyUnclassified object at > 0x7f70df61e650> > > @helpers.requires_array_function_protocol() > def test_min_numpy_func(self): > > assert np.min(self.q) == 1 * self.ureg.m > E TypeError: no implementation found for 'numpy.min' on types that > implement __array_function__: [<class > 'pint.quantity.build_quantity_class.<locals>.Quantity'>] > > pint/testsuite/test_numpy.py:713: TypeError > _________________ TestNumpyUnclassified.test_min_with_axis_arg > _________________ > > self = <pint.testsuite.test_numpy.TestNumpyUnclassified object at > 0x7f70df61e810> > > @helpers.requires_array_function_protocol() > def test_min_with_axis_arg(self): > > helpers.assert_quantity_equal(np.min(self.q, axis=1), [1, 3] * > > self.ureg.m) > E TypeError: no implementation found for 'numpy.min' on types that > implement __array_function__: [<class > 'pint.quantity.build_quantity_class.<locals>.Quantity'>] > > pint/testsuite/test_numpy.py:717: TypeError > _______________ TestNumpyUnclassified.test_min_with_initial_arg > ________________ > > self = <pint.testsuite.test_numpy.TestNumpyUnclassified object at > 0x7f70df627550> > > @helpers.requires_array_function_protocol() > def test_min_with_initial_arg(self): > helpers.assert_quantity_equal( > > np.min(self.q[..., None], axis=2, initial=3 * self.ureg.m), > [[1, 2], [3, 3]] * self.ureg.m, > ) > E TypeError: no implementation found for 'numpy.min' on types that > implement __array_function__: [<class > 'pint.quantity.build_quantity_class.<locals>.Quantity'>] > > pint/testsuite/test_numpy.py:722: TypeError > _______________ TestQuantityToCompact.test_nonnumeric_magnitudes > _______________ > > self = <pint.testsuite.test_quantity.TestQuantityToCompact object at > 0x7f70deb09fd0> > > def test_nonnumeric_magnitudes(self): > ureg = self.ureg > x = "some string" * ureg.m > > with pytest.warns(RuntimeWarning): > E TypeError: Warning must be str or Warning, got <class > 'RuntimeWarning'> (type type) > > pint/testsuite/test_quantity.py:756: TypeError > __________________ TestCompareNeutral.test_equal_zero_nan_NP > ___________________ > > self = <pint.testsuite.test_quantity.TestCompareNeutral object at > 0x7f70ded44cd0> > > @helpers.requires_numpy > def test_equal_zero_nan_NP(self): > self.ureg.autoconvert_offset_to_baseunit = False > aeq = np.testing.assert_array_equal > aeq(self.Q_(0, "J") == np.array([0, np.nan]), np.array([True, False])) > aeq(self.Q_(5, "J") == np.array([0, np.nan]), np.array([False, > False])) > aeq( > self.Q_([0, 1, 2], "J") == np.array([0, 0, np.nan]), > np.asarray([True, False, False]), > ) > > assert not (self.Q_(np.arange(4), "J") == np.zeros(3)) > > pint/testsuite/test_quantity.py:1836: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > pint/quantity.py:139: in wrapped > return f(self, *args, **kwargs) > pint/quantity.py:1619: in __eq__ > return eq(self._magnitude, other, False) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > lhs = array([0, 1, 2, 3]), rhs = array([0., 0., 0.]), check_all = False > > def eq(lhs, rhs, check_all: bool): > """Comparison of scalars and arrays. > > Parameters > ---------- > lhs : object > left-hand side > rhs : object > right-hand side > check_all : bool > if True, reduce sequence to single bool; > return True if all the elements are equal. > > Returns > ------- > bool or array_like of bool > """ > > out = lhs == rhs > E ValueError: operands could not be broadcast together with shapes (4,) > (3,) > > pint/compat.py:235: ValueError > =============================== warnings summary > =============================== > pint/testsuite/test_matplotlib.py:22 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite/test_matplotlib.py:22: > 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:35 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite/test_matplotlib.py:35: > 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/helpers.py:125 > pint/testsuite/helpers.py:125 > pint/testsuite/helpers.py:125 > pint/testsuite/helpers.py:125 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite/helpers.py:125: > DeprecationWarning: distutils Version classes are deprecated. Use > packaging.version instead. > not LooseVersion(NUMPY_VER) >= LooseVersion(version), > > pint/parser.py:264: 1 warning > pint/testsuite/test_application_registry.py: 39 warnings > pint/testsuite/test_contexts.py: 23 warnings > pint/testsuite/test_diskcache.py: 6 warnings > pint/testsuite/test_errors.py: 1 warning > pint/testsuite/test_infer_base_unit.py: 4 warnings > pint/testsuite/test_issues.py: 14 warnings > pint/testsuite/test_log_units.py: 5 warnings > pint/testsuite/test_matplotlib.py: 1 warning > pint/testsuite/test_measurement.py: 1 warning > pint/testsuite/test_pitheorem.py: 1 warning > pint/testsuite/test_quantity.py: 30 warnings > pint/testsuite/test_systems.py: 6 warnings > pint/testsuite/test_umath.py: 4 warnings > pint/testsuite/test_unit.py: 23 warnings > pint/testsuite/test_util.py: 1 warning > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/parser.py:264: > DeprecationWarning: path is deprecated. Use files() instead. Refer to > https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy > for migration advice. > with resources.path(__package__, resource_name) as p: > > pint/testsuite/test_issues.py::TestIssues::test_issue39 > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite/test_issues.py:65: > 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]]) > > pint/testsuite/test_matplotlib.py::test_basic_plot > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: Expected None, but > pint/testsuite/test_matplotlib.py::test_basic_plot returned <Figure size > 640x480 with 1 Axes>, which will be an error in a future version of pytest. > Did you mean to use `assert` instead of `return`? > warnings.warn( > > pint/testsuite/test_matplotlib.py::test_plot_with_set_units > /usr/lib/python3/dist-packages/_pytest/python.py:199: > PytestReturnNotNoneWarning: Expected None, but > pint/testsuite/test_matplotlib.py::test_plot_with_set_units returned <Figure > size 640x480 with 1 Axes>, which will be an error in a future version of > pytest. Did you mean to use `assert` instead of `return`? > warnings.warn( > > pint/testsuite/test_numpy.py::TestNumpyMathematicalFunctions::test_cumprod_numpy_func > pint/testsuite/test_numpy.py::TestNumpyMathematicalFunctions::test_cumprod_numpy_func > /usr/lib/python3/dist-packages/_pytest/python.py:195: DeprecationWarning: > `cumproduct` is deprecated as of NumPy 1.25.0, and will be removed in NumPy > 2.0. Please use `cumprod` instead. > result = testfunction(**testargs) > > pint/testsuite/test_numpy.py::TestNumpyMathematicalFunctions::test_cumprod_numpy_func > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/numpy_func.py:936: > DeprecationWarning: `cumproduct` is deprecated as of NumPy 1.25.0, and will > be removed in NumPy 2.0. Please use `cumprod` instead. > return handled[name](*args, **kwargs) > > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_put > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/quantity.py:1809: > UnitStrippedWarning: The unit of the quantity is stripped when downcasting to > ndarray. > self.magnitude.put(indices, values, mode) > > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_round_numpy_func > /usr/lib/python3/dist-packages/_pytest/python.py:195: DeprecationWarning: > `round_` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. > Please use `round` instead. > result = testfunction(**testargs) > > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_round_numpy_func > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/numpy_func.py:936: > DeprecationWarning: `round_` is deprecated as of NumPy 1.25.0, and will be > removed in NumPy 2.0. Please use `round` instead. > return handled[name](*args, **kwargs) > > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_copyto > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/numpy_func.py:936: > UnitStrippedWarning: The unit of the quantity is stripped when copying to > non-quantity > return handled[name](*args, **kwargs) > > pint/testsuite/test_quantity.py::TestQuantityToCompact::test_nonnumeric_magnitudes > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testing.py:74: > UserWarning: <class 'RuntimeWarning'> > warnings.warn(RuntimeWarning) > > pint/testsuite/test_unit.py::TestRegistry::test_load > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build/pint/testsuite/test_unit.py:277: > DeprecationWarning: pkg_resources is deprecated as an API. See > https://setuptools.pypa.io/en/latest/pkg_resources.html > import pkg_resources > > pint/testsuite/test_unit.py::TestRegistry::test_load > /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871: > DeprecationWarning: Deprecated call to > `pkg_resources.declare_namespace('mpl_toolkits')`. > Implementing implicit namespace packages (as specified in PEP 420) is > preferred to `pkg_resources.declare_namespace`. See > https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages > declare_namespace(pkg) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_max_numpy_func > FAILED > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_max_with_axis_arg > FAILED > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_max_with_initial_arg > FAILED > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_min_numpy_func > FAILED > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_min_with_axis_arg > FAILED > pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_min_with_initial_arg > FAILED > pint/testsuite/test_quantity.py::TestQuantityToCompact::test_nonnumeric_magnitudes > FAILED > pint/testsuite/test_quantity.py::TestCompareNeutral::test_equal_zero_nan_NP > = 8 failed, 1352 passed, 76 skipped, 11 xfailed, 179 warnings, 219 subtests > passed in 29.73s = > E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pint/build; python3.11 -m pytest > dh_auto_test: error: pybuild --test --test-pytest -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/19/python-pint_0.19.2-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&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.