Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing setuptools-build-hook Using setuptoolsBuildPhase Using setuptoolsShellHook Sourcing pip-install-hook Using pipInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing setuptools-check-hook Sourcing pytest-check-hook Using pytestCheckPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/jhb3vw42ggmgqqwa6a9p6d4jkihks88h-Pint-0.14.tar.gz source root is Pint-0.14 setting SOURCE_DATE_EPOCH to timestamp 1593646418 of file Pint-0.14/setup.cfg @nix { "action": "setPhase", "phase": "patchPhase" } patching sources @nix { "action": "setPhase", "phase": "configurePhase" } configuring no configure script, doing nothing @nix { "action": "setPhase", "phase": "buildPhase" } building Executing setuptoolsBuildPhase running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/pint copying pint/registry.py -> build/lib/pint copying pint/unit.py -> build/lib/pint copying pint/systems.py -> build/lib/pint copying pint/compat.py -> build/lib/pint copying pint/errors.py -> build/lib/pint copying pint/converters.py -> build/lib/pint copying pint/pint_eval.py -> build/lib/pint copying pint/util.py -> build/lib/pint copying pint/formatting.py -> build/lib/pint copying pint/__init__.py -> build/lib/pint copying pint/quantity.py -> build/lib/pint copying pint/numpy_func.py -> build/lib/pint copying pint/registry_helpers.py -> build/lib/pint copying pint/matplotlib.py -> build/lib/pint copying pint/context.py -> build/lib/pint copying pint/measurement.py -> build/lib/pint copying pint/definitions.py -> build/lib/pint copying pint/babel_names.py -> build/lib/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 'version.txt' 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' copying pint/constants_en.txt -> build/lib/pint copying pint/default_en.txt -> build/lib/pint copying pint/pint-convert -> build/lib/pint copying pint/xtranslated.txt -> build/lib/pint creating build/lib/pint/testsuite copying pint/testsuite/__init__.py -> build/lib/pint/testsuite copying pint/testsuite/helpers.py -> build/lib/pint/testsuite copying pint/testsuite/parameterized.py -> build/lib/pint/testsuite copying pint/testsuite/test_application_registry.py -> build/lib/pint/testsuite copying pint/testsuite/test_babel.py -> build/lib/pint/testsuite copying pint/testsuite/test_compat.py -> build/lib/pint/testsuite copying pint/testsuite/test_compat_downcast.py -> build/lib/pint/testsuite copying pint/testsuite/test_compat_upcast.py -> build/lib/pint/testsuite copying pint/testsuite/test_contexts.py -> build/lib/pint/testsuite copying pint/testsuite/test_converters.py -> build/lib/pint/testsuite copying pint/testsuite/test_definitions.py -> build/lib/pint/testsuite copying pint/testsuite/test_errors.py -> build/lib/pint/testsuite copying pint/testsuite/test_formatter.py -> build/lib/pint/testsuite copying pint/testsuite/test_infer_base_unit.py -> build/lib/pint/testsuite copying pint/testsuite/test_issues.py -> build/lib/pint/testsuite copying pint/testsuite/test_matplotlib.py -> build/lib/pint/testsuite copying pint/testsuite/test_measurement.py -> build/lib/pint/testsuite copying pint/testsuite/test_non_int.py -> build/lib/pint/testsuite copying pint/testsuite/test_numpy.py -> build/lib/pint/testsuite copying pint/testsuite/test_numpy_func.py -> build/lib/pint/testsuite copying pint/testsuite/test_pint_eval.py -> build/lib/pint/testsuite copying pint/testsuite/test_pitheorem.py -> build/lib/pint/testsuite copying pint/testsuite/test_quantity.py -> build/lib/pint/testsuite copying pint/testsuite/test_systems.py -> build/lib/pint/testsuite copying pint/testsuite/test_umath.py -> build/lib/pint/testsuite copying pint/testsuite/test_unit.py -> build/lib/pint/testsuite copying pint/testsuite/test_util.py -> build/lib/pint/testsuite creating build/lib/pint/testsuite/baseline copying pint/testsuite/baseline/test_basic_plot.png -> build/lib/pint/testsuite/baseline copying pint/testsuite/baseline/test_plot_with_set_units.png -> build/lib/pint/testsuite/baseline running build_scripts creating build/scripts-3.7 copying and adjusting pint/pint-convert -> build/scripts-3.7 changing mode of build/scripts-3.7/pint-convert from 644 to 755 installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/registry.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/unit.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/systems.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/compat.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/errors.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/converters.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/pint_eval.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/util.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/formatting.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/__init__.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/quantity.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/numpy_func.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/registry_helpers.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/matplotlib.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/context.py -> build/bdist.linux-x86_64/wheel/pint creating build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_numpy_func.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_quantity.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_pint_eval.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_compat_downcast.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_issues.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_babel.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_application_registry.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_numpy.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_infer_base_unit.py -> build/bdist.linux-x86_64/wheel/pint/testsuite creating build/bdist.linux-x86_64/wheel/pint/testsuite/baseline copying build/lib/pint/testsuite/baseline/test_basic_plot.png -> build/bdist.linux-x86_64/wheel/pint/testsuite/baseline copying build/lib/pint/testsuite/baseline/test_plot_with_set_units.png -> build/bdist.linux-x86_64/wheel/pint/testsuite/baseline copying build/lib/pint/testsuite/test_util.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_systems.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/__init__.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_contexts.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_non_int.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_pitheorem.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_umath.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_errors.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/parameterized.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_formatter.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_compat.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_definitions.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_converters.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_matplotlib.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_compat_upcast.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/helpers.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_measurement.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/testsuite/test_unit.py -> build/bdist.linux-x86_64/wheel/pint/testsuite copying build/lib/pint/measurement.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/constants_en.txt -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/xtranslated.txt -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/default_en.txt -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/pint-convert -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/definitions.py -> build/bdist.linux-x86_64/wheel/pint copying build/lib/pint/babel_names.py -> build/bdist.linux-x86_64/wheel/pint running install_egg_info Copying Pint.egg-info to build/bdist.linux-x86_64/wheel/Pint-0.14-py3.7.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/Pint-0.14.data creating build/bdist.linux-x86_64/wheel/Pint-0.14.data/scripts copying build/scripts-3.7/pint-convert -> build/bdist.linux-x86_64/wheel/Pint-0.14.data/scripts changing mode of build/bdist.linux-x86_64/wheel/Pint-0.14.data/scripts/pint-convert to 755 adding license file "LICENSE" (matched pattern "LICEN[CS]E*") adding license file "AUTHORS" (matched pattern "AUTHORS*") creating build/bdist.linux-x86_64/wheel/Pint-0.14.dist-info/WHEEL creating 'dist/Pint-0.14-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'Pint-0.14.data/scripts/pint-convert' adding 'pint/__init__.py' adding 'pint/babel_names.py' adding 'pint/compat.py' adding 'pint/constants_en.txt' adding 'pint/context.py' adding 'pint/converters.py' adding 'pint/default_en.txt' adding 'pint/definitions.py' adding 'pint/errors.py' adding 'pint/formatting.py' adding 'pint/matplotlib.py' adding 'pint/measurement.py' adding 'pint/numpy_func.py' adding 'pint/pint-convert' adding 'pint/pint_eval.py' adding 'pint/quantity.py' adding 'pint/registry.py' adding 'pint/registry_helpers.py' adding 'pint/systems.py' adding 'pint/unit.py' adding 'pint/util.py' adding 'pint/xtranslated.txt' adding 'pint/testsuite/__init__.py' adding 'pint/testsuite/helpers.py' adding 'pint/testsuite/parameterized.py' adding 'pint/testsuite/test_application_registry.py' adding 'pint/testsuite/test_babel.py' adding 'pint/testsuite/test_compat.py' adding 'pint/testsuite/test_compat_downcast.py' adding 'pint/testsuite/test_compat_upcast.py' adding 'pint/testsuite/test_contexts.py' adding 'pint/testsuite/test_converters.py' adding 'pint/testsuite/test_definitions.py' adding 'pint/testsuite/test_errors.py' adding 'pint/testsuite/test_formatter.py' adding 'pint/testsuite/test_infer_base_unit.py' adding 'pint/testsuite/test_issues.py' adding 'pint/testsuite/test_matplotlib.py' adding 'pint/testsuite/test_measurement.py' adding 'pint/testsuite/test_non_int.py' adding 'pint/testsuite/test_numpy.py' adding 'pint/testsuite/test_numpy_func.py' adding 'pint/testsuite/test_pint_eval.py' adding 'pint/testsuite/test_pitheorem.py' adding 'pint/testsuite/test_quantity.py' adding 'pint/testsuite/test_systems.py' adding 'pint/testsuite/test_umath.py' adding 'pint/testsuite/test_unit.py' adding 'pint/testsuite/test_util.py' adding 'pint/testsuite/baseline/test_basic_plot.png' adding 'pint/testsuite/baseline/test_plot_with_set_units.png' adding 'Pint-0.14.dist-info/AUTHORS' adding 'Pint-0.14.dist-info/LICENSE' adding 'Pint-0.14.dist-info/METADATA' adding 'Pint-0.14.dist-info/WHEEL' adding 'Pint-0.14.dist-info/top_level.txt' adding 'Pint-0.14.dist-info/zip-safe' adding 'Pint-0.14.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Finished executing setuptoolsBuildPhase @nix { "action": "setPhase", "phase": "installPhase" } installing Executing pipInstallPhase /build/Pint-0.14/dist /build/Pint-0.14 Processing ./Pint-0.14-py2.py3-none-any.whl Requirement already satisfied: importlib-metadata in /nix/store/njxn9irhqdk7ypq95jlxkk34qp9i3jw0-python3.7-importlib-metadata-4.6.4/lib/python3.7/site-packages (from Pint==0.14) (4.6.4) Requirement already satisfied: packaging in /nix/store/6sixgwxsj7khryk64a71rlbj0w3s29ps-python3.7-packaging-20.9/lib/python3.7/site-packages (from Pint==0.14) (20.9) Requirement already satisfied: setuptools in /nix/store/n75adx94rgsd8mlbkv4y5zkiq9d5glfc-python3.7-setuptools-57.2.0/lib/python3.7/site-packages (from Pint==0.14) (57.2.0.post0) Requirement already satisfied: zipp>=0.5 in /nix/store/77xq9qidrg94c2ddwcv7c8awphndir66-python3.7-zipp-3.5.0/lib/python3.7/site-packages (from importlib-metadata->Pint==0.14) (3.5.0) Requirement already satisfied: typing-extensions>=3.6.4 in /nix/store/czmqjwmwmnb3i5nv4jhsrdvsrpblfs1w-python3.7-typing_extensions-3.10.0.2/lib/python3.7/site-packages (from importlib-metadata->Pint==0.14) (3.10.0.2) Requirement already satisfied: pyparsing>=2.0.2 in /nix/store/fbxld5mj31dgfvn0pr7paibm1rb5hq66-python3.7-pyparsing-2.4.7/lib/python3.7/site-packages (from packaging->Pint==0.14) (2.4.7) Installing collected packages: Pint Successfully installed Pint-0.14 /build/Pint-0.14 Finished executing pipInstallPhase @nix { "action": "setPhase", "phase": "fixupPhase" } post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/bwx7c8cwcq480w5xl7wby54qh2rc77jd-python3.7-pint-0.14 strip is /nix/store/a4mmjm3bblxwp8h53bcfx3dly80ib0ba-binutils-2.35.1/bin/strip stripping (with command strip and flags -S) in /nix/store/bwx7c8cwcq480w5xl7wby54qh2rc77jd-python3.7-pint-0.14/lib /nix/store/bwx7c8cwcq480w5xl7wby54qh2rc77jd-python3.7-pint-0.14/bin patching script interpreter paths in /nix/store/bwx7c8cwcq480w5xl7wby54qh2rc77jd-python3.7-pint-0.14 /nix/store/bwx7c8cwcq480w5xl7wby54qh2rc77jd-python3.7-pint-0.14/lib/python3.7/site-packages/pint/pint-convert: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/vpyhx3jp6s4ffpfp2ci4hqbg90a05izp-python3-3.7.11/bin/python3" checking for references to /build/ in /nix/store/bwx7c8cwcq480w5xl7wby54qh2rc77jd-python3.7-pint-0.14... Rewriting #!/nix/store/vpyhx3jp6s4ffpfp2ci4hqbg90a05izp-python3-3.7.11/bin/python3.7 to #!/nix/store/vpyhx3jp6s4ffpfp2ci4hqbg90a05izp-python3-3.7.11 wrapping `/nix/store/bwx7c8cwcq480w5xl7wby54qh2rc77jd-python3.7-pint-0.14/bin/pint-convert'... Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir @nix { "action": "setPhase", "phase": "installCheckPhase" } running install tests no Makefile or custom installCheckPhase, doing nothing @nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } pythonCatchConflictsPhase @nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } pythonRemoveBinBytecodePhase @nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } pythonImportsCheckPhase Executing pythonImportsCheckPhase @nix { "action": "setPhase", "phase": "pytestCheckPhase" } pytestCheckPhase Executing pytestCheckPhase ============================= test session starts ============================== platform linux -- Python 3.7.11, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 rootdir: /build/Pint-0.14 collecting ...  collecting 101 items  collecting 290 items / 2 skipped / 288 selected  collected 1748 items / 2 skipped / 1746 selected  pint/testsuite/test_application_registry.py ............................ [ 1%] .......................................................... [ 4%] pint/testsuite/test_babel.py s.sss [ 5%] pint/testsuite/test_compat.py .......... [ 5%] pint/testsuite/test_contexts.py ....................................... [ 8%] pint/testsuite/test_converters.py .... [ 8%] pint/testsuite/test_definitions.py ...... [ 8%] pint/testsuite/test_errors.py ....... [ 8%] pint/testsuite/test_formatter.py .... [ 9%] pint/testsuite/test_infer_base_unit.py .... [ 9%] pint/testsuite/test_issues.py ............x......xx..............s...... [ 11%] ...........x............................................................ [ 15%] ......... [ 16%] pint/testsuite/test_matplotlib.py .. [ 16%] pint/testsuite/test_measurement.py s............ [ 17%] pint/testsuite/test_non_int.py ......................................... [ 19%] ........................................................................ [ 23%] ........................................................................ [ 27%] ........................................................................ [ 32%] ........................................................................ [ 36%] ........................................................................ [ 40%] ........................................................................ [ 44%] ........................................................................ [ 48%] .......................................................... [ 51%] pint/testsuite/test_numpy.py .....................................x..... [ 54%] ........................................................................ [ 58%] ................................... [ 60%] pint/testsuite/test_numpy_func.py ................... [ 61%] pint/testsuite/test_pint_eval.py . [ 61%] pint/testsuite/test_pitheorem.py .. [ 61%] pint/testsuite/test_quantity.py .............s.......................... [ 63%] ........................................................................ [ 68%] ........................................................................ [ 72%] ........................................................................ [ 76%] ........................................................................ [ 80%] ........................................................................ [ 84%] ............................................... [ 87%] pint/testsuite/test_systems.py ................... [ 88%] pint/testsuite/test_umath.py ........................................... [ 90%] .................. [ 91%] pint/testsuite/test_unit.py ............................................ [ 94%] ....................................................................... [ 98%] pint/testsuite/test_util.py ............................ [100%] =============================== warnings summary =============================== ../../nix/store/zcqqmq81q7f4dfy67azkpb6wg4ksayx7-python3.7-future-0.18.2/lib/python3.7/site-packages/past/builtins/misc.py:45 /nix/store/zcqqmq81q7f4dfy67azkpb6wg4ksayx7-python3.7-future-0.18.2/lib/python3.7/site-packages/past/builtins/misc.py:45: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses from imp import reload pint/testsuite/test_matplotlib.py:17 /build/Pint-0.14/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/mark.html @pytest.mark.mpl_image_compare(tolerance=0, remove_text=True) pint/testsuite/test_matplotlib.py:30 /build/Pint-0.14/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/mark.html @pytest.mark.mpl_image_compare(tolerance=0, remove_text=True) pint/testsuite/test_compat.py::test_zero_or_nan_numpy /build/Pint-0.14/pint/compat.py:214: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison out = lhs == rhs pint/testsuite/test_contexts.py::TestContextRedefinitions::test_define_nan /build/Pint-0.14/pint/testsuite/test_contexts.py:796: DeprecationWarning: Please use assertEqual instead. self.assertEquals(q.magnitude, 10) pint/testsuite/test_contexts.py::TestContextRedefinitions::test_define_nan /build/Pint-0.14/pint/testsuite/test_contexts.py:797: DeprecationWarning: Please use assertEqual instead. self.assertEquals(q.units.dimensionality, {"[currency]": 1}) pint/testsuite/test_contexts.py::TestContextRedefinitions::test_define_nan /build/Pint-0.14/pint/testsuite/test_contexts.py:798: DeprecationWarning: Please use assertEqual instead. self.assertEquals(q.to("GBP").magnitude, 10) pint/testsuite/test_contexts.py::TestContextRedefinitions::test_err_change_base_unit /build/Pint-0.14/pint/testsuite/test_contexts.py:890: DeprecationWarning: Please use assertEqual instead. str(e.exception), "Can't redefine a base unit to a derived one" pint/testsuite/test_contexts.py::TestContextRedefinitions::test_err_change_dimensionality /build/Pint-0.14/pint/testsuite/test_contexts.py:909: DeprecationWarning: Please use assertEqual instead. "Can't change dimensionality of baz from [d1] to [d2] in a context", pint/testsuite/test_contexts.py::TestContextRedefinitions::test_err_dimension_redefinition /build/Pint-0.14/pint/testsuite/test_contexts.py:936: DeprecationWarning: Please use assertEqual instead. str(e.exception), "Expected = ; got [d1] = [d2] * [d3]" pint/testsuite/test_contexts.py::TestContextRedefinitions::test_err_new_unit /build/Pint-0.14/pint/testsuite/test_contexts.py:985: DeprecationWarning: Please use assertEqual instead. self.assertEquals(str(e.exception), "'bar' is not defined in the unit registry") pint/testsuite/test_contexts.py::TestContextRedefinitions::test_err_prefix_redefinition /build/Pint-0.14/pint/testsuite/test_contexts.py:943: DeprecationWarning: Please use assertEqual instead. str(e.exception), "Expected = ; got [d1] = [d2] * [d3]" pint/testsuite/test_contexts.py::TestContextRedefinitions::test_err_redefine_alias pint/testsuite/test_contexts.py::TestContextRedefinitions::test_err_redefine_alias /build/Pint-0.14/pint/testsuite/test_contexts.py:953: DeprecationWarning: Please use assertEqual instead. "Can't change a unit's symbol or aliases within a context", pint/testsuite/test_contexts.py::TestContextRedefinitions::test_err_redefine_with_prefix /build/Pint-0.14/pint/testsuite/test_contexts.py:971: DeprecationWarning: Please use assertEqual instead. str(e.exception), "Can't redefine a unit with a prefix: kilopound" pint/testsuite/test_contexts.py::TestContextRedefinitions::test_err_to_base_unit /build/Pint-0.14/pint/testsuite/test_contexts.py:873: DeprecationWarning: Please use assertEqual instead. self.assertEquals(str(e.exception), "Can't define base units within a context") pint/testsuite/test_issues.py::TestIssues::test_issue39 /build/Pint-0.14/pint/testsuite/test_issues.py:70: 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_issues.py::test_issue925[python scalar int-array] pint/testsuite/test_issues.py::test_issue925[array int-array] pint/testsuite/test_issues.py::test_issue925[numpy scalar int-array] pint/testsuite/test_issues.py::test_issue925[python scalar float-array] pint/testsuite/test_issues.py::test_issue925[array float-array] pint/testsuite/test_issues.py::test_issue925[numpy scalar float-array] /build/Pint-0.14/pint/testsuite/test_issues.py:773: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. callable(q) pint/testsuite/test_numpy.py::TestNumpyMathematicalFunctions::test_exponentiation_array_exp_2 /build/Pint-0.14/pint/testsuite/test_numpy.py:478: 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) pint/testsuite/test_numpy.py::TestNumpyMathematicalFunctions::test_power /build/Pint-0.14/pint/testsuite/test_numpy.py:445: 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) pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_alen_numpy_func :6: DeprecationWarning: `np.alen` is deprecated, use `len` instead pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_copyto /build/Pint-0.14/pint/numpy_func.py:904: UnitStrippedWarning: The unit of the quantity is stripped when copying to non-quantity return handled[name](*args, **kwargs) pint/testsuite/test_numpy.py::TestNumpyUnclassified::test_put /build/Pint-0.14/pint/quantity.py:1668: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. self.magnitude.put(indices, values, mode) pint/testsuite/test_quantity.py: 36 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1089: 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), pint/testsuite/test_quantity.py: 36 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1090: 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), pint/testsuite/test_quantity.py: 24 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1099: 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] pint/testsuite/test_quantity.py: 12 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1524: 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), pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00007 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00008 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00009 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00013 /build/Pint-0.14/pint/testsuite/test_quantity.py:1504: 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)) pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00011 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00012 pint/testsuite/test_quantity.py::TestOffsetUnitMath::test_inplace_exponentiation_00012 /build/Pint-0.14/pint/testsuite/test_quantity.py:1529: 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) pint/testsuite/test_quantity.py: 36 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1238: 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), pint/testsuite/test_quantity.py: 36 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1239: 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), pint/testsuite/test_quantity.py: 16 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1248: 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] pint/testsuite/test_quantity.py: 20 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1376: 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), pint/testsuite/test_quantity.py: 20 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1377: 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), pint/testsuite/test_quantity.py: 20 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1386: 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] pint/testsuite/test_quantity.py: 36 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1164: 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), pint/testsuite/test_quantity.py: 36 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1165: 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), pint/testsuite/test_quantity.py: 36 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1174: 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] pint/testsuite/test_quantity.py: 36 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1312: 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), pint/testsuite/test_quantity.py: 36 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1313: 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), pint/testsuite/test_quantity.py: 16 warnings /build/Pint-0.14/pint/testsuite/test_quantity.py:1322: 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] pint/testsuite/test_quantity.py::TestCompareNeutral::test_equal_zero_nan_NP pint/testsuite/test_quantity.py::TestCompareNeutral::test_equal_zero_nan_NP /build/Pint-0.14/pint/compat.py:214: DeprecationWarning: elementwise comparison failed; this will raise an error in the future. out = lhs == rhs -- Docs: https://docs.pytest.org/en/stable/warnings.html ========== 1736 passed, 9 skipped, 5 xfailed, 490 warnings in 42.63s =========== Finished executing pytestCheckPhase @nix { "action": "setPhase", "phase": "pytestcachePhase" } pytestcachePhase