Created
March 21, 2023 17:48
-
-
Save SomeoneSerge/7250a22929ad1ac9742cc072888b9551 to your computer and use it in GitHub Desktop.
nix log /nix/store/k8527r5fnh4qpz0fgn23n25jl2aakqd1-python3.10-hickle-5.0.2.drv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 python-catch-conflicts-hook.sh | |
Sourcing setuptools-check-hook | |
Using setuptoolsCheckPhase | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
Removing setuptoolsCheckPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking sources | |
unpacking source archive /nix/store/rmkf8cpj9whm7ynpcpcyq0fiyqlfxzag-hickle-5.0.2.tar.gz | |
source root is hickle-5.0.2 | |
setting SOURCE_DATE_EPOCH to timestamp 1661932602 of file hickle-5.0.2/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 | |
/nix/store/8zx4h7r5mn1b913hgi8rwjfynwg1wgdi-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/dist.py:788: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead | |
warnings.warn( | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib | |
creating build/lib/hickle | |
copying hickle/hickle.py -> build/lib/hickle | |
copying hickle/__version__.py -> build/lib/hickle | |
copying hickle/__init__.py -> build/lib/hickle | |
copying hickle/lookup.py -> build/lib/hickle | |
copying hickle/fileio.py -> build/lib/hickle | |
copying hickle/helpers.py -> build/lib/hickle | |
creating build/lib/hickle/loaders | |
copying hickle/loaders/load_numpy.py -> build/lib/hickle/loaders | |
copying hickle/loaders/__init__.py -> build/lib/hickle/loaders | |
copying hickle/loaders/load_pandas.py -> build/lib/hickle/loaders | |
copying hickle/loaders/load_builtins.py -> build/lib/hickle/loaders | |
copying hickle/loaders/load_scipy.py -> build/lib/hickle/loaders | |
copying hickle/loaders/load_astropy.py -> build/lib/hickle/loaders | |
creating build/lib/hickle/tests | |
copying hickle/tests/test_04_load_numpy.py -> build/lib/hickle/tests | |
copying hickle/tests/test_99_hickle_core.py -> build/lib/hickle/tests | |
copying hickle/tests/test_03_load_builtins.py -> build/lib/hickle/tests | |
copying hickle/tests/test_legacy_load.py -> build/lib/hickle/tests | |
copying hickle/tests/test_07_load_pandas.py -> build/lib/hickle/tests | |
copying hickle/tests/__init__.py -> build/lib/hickle/tests | |
copying hickle/tests/test_01_hickle_helpers.py -> build/lib/hickle/tests | |
copying hickle/tests/test_hickle.py -> build/lib/hickle/tests | |
copying hickle/tests/generate_legacy_4_0_0.py -> build/lib/hickle/tests | |
copying hickle/tests/test_06_load_astropy.py -> build/lib/hickle/tests | |
copying hickle/tests/test_05_load_scipy.py -> build/lib/hickle/tests | |
copying hickle/tests/test_02_hickle_lookup.py -> build/lib/hickle/tests | |
creating build/lib/hickle/legacy_v3 | |
copying hickle/legacy_v3/hickle.py -> build/lib/hickle/legacy_v3 | |
copying hickle/legacy_v3/__version__.py -> build/lib/hickle/legacy_v3 | |
copying hickle/legacy_v3/__init__.py -> build/lib/hickle/legacy_v3 | |
copying hickle/legacy_v3/lookup.py -> build/lib/hickle/legacy_v3 | |
copying hickle/legacy_v3/helpers.py -> build/lib/hickle/legacy_v3 | |
creating build/lib/hickle/tests/hickle_loaders | |
copying hickle/tests/hickle_loaders/__init__.py -> build/lib/hickle/tests/hickle_loaders | |
copying hickle/tests/hickle_loaders/load_builtins.py -> build/lib/hickle/tests/hickle_loaders | |
creating build/lib/hickle/legacy_v3/loaders | |
copying hickle/legacy_v3/loaders/load_numpy.py -> build/lib/hickle/legacy_v3/loaders | |
copying hickle/legacy_v3/loaders/__init__.py -> build/lib/hickle/legacy_v3/loaders | |
copying hickle/legacy_v3/loaders/load_pandas.py -> build/lib/hickle/legacy_v3/loaders | |
copying hickle/legacy_v3/loaders/load_scipy.py -> build/lib/hickle/legacy_v3/loaders | |
copying hickle/legacy_v3/loaders/load_astropy.py -> build/lib/hickle/legacy_v3/loaders | |
copying hickle/legacy_v3/loaders/load_python3.py -> build/lib/hickle/legacy_v3/loaders | |
/nix/store/8zx4h7r5mn1b913hgi8rwjfynwg1wgdi-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. | |
warnings.warn( | |
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/hickle | |
copying build/lib/hickle/hickle.py -> build/bdist.linux-x86_64/wheel/hickle | |
copying build/lib/hickle/__version__.py -> build/bdist.linux-x86_64/wheel/hickle | |
creating build/bdist.linux-x86_64/wheel/hickle/loaders | |
copying build/lib/hickle/loaders/load_numpy.py -> build/bdist.linux-x86_64/wheel/hickle/loaders | |
copying build/lib/hickle/loaders/__init__.py -> build/bdist.linux-x86_64/wheel/hickle/loaders | |
copying build/lib/hickle/loaders/load_pandas.py -> build/bdist.linux-x86_64/wheel/hickle/loaders | |
copying build/lib/hickle/loaders/load_builtins.py -> build/bdist.linux-x86_64/wheel/hickle/loaders | |
copying build/lib/hickle/loaders/load_scipy.py -> build/bdist.linux-x86_64/wheel/hickle/loaders | |
copying build/lib/hickle/loaders/load_astropy.py -> build/bdist.linux-x86_64/wheel/hickle/loaders | |
copying build/lib/hickle/__init__.py -> build/bdist.linux-x86_64/wheel/hickle | |
copying build/lib/hickle/lookup.py -> build/bdist.linux-x86_64/wheel/hickle | |
creating build/bdist.linux-x86_64/wheel/hickle/tests | |
copying build/lib/hickle/tests/test_04_load_numpy.py -> build/bdist.linux-x86_64/wheel/hickle/tests | |
copying build/lib/hickle/tests/test_99_hickle_core.py -> build/bdist.linux-x86_64/wheel/hickle/tests | |
copying build/lib/hickle/tests/test_03_load_builtins.py -> build/bdist.linux-x86_64/wheel/hickle/tests | |
copying build/lib/hickle/tests/test_legacy_load.py -> build/bdist.linux-x86_64/wheel/hickle/tests | |
copying build/lib/hickle/tests/test_07_load_pandas.py -> build/bdist.linux-x86_64/wheel/hickle/tests | |
creating build/bdist.linux-x86_64/wheel/hickle/tests/hickle_loaders | |
copying build/lib/hickle/tests/hickle_loaders/__init__.py -> build/bdist.linux-x86_64/wheel/hickle/tests/hickle_loaders | |
copying build/lib/hickle/tests/hickle_loaders/load_builtins.py -> build/bdist.linux-x86_64/wheel/hickle/tests/hickle_loaders | |
copying build/lib/hickle/tests/__init__.py -> build/bdist.linux-x86_64/wheel/hickle/tests | |
copying build/lib/hickle/tests/test_01_hickle_helpers.py -> build/bdist.linux-x86_64/wheel/hickle/tests | |
copying build/lib/hickle/tests/test_hickle.py -> build/bdist.linux-x86_64/wheel/hickle/tests | |
copying build/lib/hickle/tests/generate_legacy_4_0_0.py -> build/bdist.linux-x86_64/wheel/hickle/tests | |
copying build/lib/hickle/tests/test_06_load_astropy.py -> build/bdist.linux-x86_64/wheel/hickle/tests | |
copying build/lib/hickle/tests/test_05_load_scipy.py -> build/bdist.linux-x86_64/wheel/hickle/tests | |
copying build/lib/hickle/tests/test_02_hickle_lookup.py -> build/bdist.linux-x86_64/wheel/hickle/tests | |
copying build/lib/hickle/fileio.py -> build/bdist.linux-x86_64/wheel/hickle | |
creating build/bdist.linux-x86_64/wheel/hickle/legacy_v3 | |
copying build/lib/hickle/legacy_v3/hickle.py -> build/bdist.linux-x86_64/wheel/hickle/legacy_v3 | |
copying build/lib/hickle/legacy_v3/__version__.py -> build/bdist.linux-x86_64/wheel/hickle/legacy_v3 | |
creating build/bdist.linux-x86_64/wheel/hickle/legacy_v3/loaders | |
copying build/lib/hickle/legacy_v3/loaders/load_numpy.py -> build/bdist.linux-x86_64/wheel/hickle/legacy_v3/loaders | |
copying build/lib/hickle/legacy_v3/loaders/__init__.py -> build/bdist.linux-x86_64/wheel/hickle/legacy_v3/loaders | |
copying build/lib/hickle/legacy_v3/loaders/load_pandas.py -> build/bdist.linux-x86_64/wheel/hickle/legacy_v3/loaders | |
copying build/lib/hickle/legacy_v3/loaders/load_scipy.py -> build/bdist.linux-x86_64/wheel/hickle/legacy_v3/loaders | |
copying build/lib/hickle/legacy_v3/loaders/load_astropy.py -> build/bdist.linux-x86_64/wheel/hickle/legacy_v3/loaders | |
copying build/lib/hickle/legacy_v3/loaders/load_python3.py -> build/bdist.linux-x86_64/wheel/hickle/legacy_v3/loaders | |
copying build/lib/hickle/legacy_v3/__init__.py -> build/bdist.linux-x86_64/wheel/hickle/legacy_v3 | |
copying build/lib/hickle/legacy_v3/lookup.py -> build/bdist.linux-x86_64/wheel/hickle/legacy_v3 | |
copying build/lib/hickle/legacy_v3/helpers.py -> build/bdist.linux-x86_64/wheel/hickle/legacy_v3 | |
copying build/lib/hickle/helpers.py -> build/bdist.linux-x86_64/wheel/hickle | |
running install_egg_info | |
running egg_info | |
writing hickle.egg-info/PKG-INFO | |
writing dependency_links to hickle.egg-info/dependency_links.txt | |
writing requirements to hickle.egg-info/requires.txt | |
writing top-level names to hickle.egg-info/top_level.txt | |
reading manifest file 'hickle.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
warning: no files found matching 'tests' under directory 'hickle' | |
warning: no previously-included files found matching 'docs' | |
warning: no previously-included files matching '*' found under directory 'docs' | |
warning: no previously-included files found matching '*.yml' | |
warning: no previously-included files found matching '.*' | |
warning: no previously-included files found matching '.nojekyll' | |
warning: no previously-included files found matching '.pylintrc' | |
warning: no previously-included files found matching 'paper*' | |
warning: no previously-included files matching '__pycache__' found under directory '*' | |
warning: no previously-included files matching '*.py[co]' found under directory '*' | |
warning: no previously-included files matching '*.bk' found under directory '*' | |
warning: no previously-included files matching '*.swp' found under directory '*' | |
warning: no previously-included files matching 'old' found under directory '*' | |
warning: no previously-included files matching '.old' found under directory '*' | |
warning: no previously-included files matching '*.tox' found under directory '*' | |
warning: no previously-included files matching '*.h5' found under directory '*' | |
warning: no previously-included files matching '*.bak' found under directory '*' | |
warning: no previously-included files matching '*' found under directory 'ci' | |
warning: no previously-included files matching 'coverage.xml' found under directory '*' | |
warning: no previously-included files found matching '*_mv.txt' | |
warning: no previously-included files found matching '*_tox.txt' | |
warning: no previously-included files matching '.bashrcrun' found under directory '*' | |
warning: no previously-included files found matching 'hickle/tests/classes' | |
warning: no previously-included files matching '*' found under directory 'hickle/tests/classes' | |
warning: no previously-included files found matching 'hickle/tests/dev_check' | |
warning: no previously-included files matching '*' found under directory 'hickle/tests/dev_check' | |
warning: no previously-included files found matching 'hickle/tests/test_stateful.py' | |
adding license file 'LICENSE' | |
writing manifest file 'hickle.egg-info/SOURCES.txt' | |
Copying hickle.egg-info to build/bdist.linux-x86_64/wheel/hickle-5.0.2-py3.10.egg-info | |
running install_scripts | |
creating build/bdist.linux-x86_64/wheel/hickle-5.0.2.dist-info/WHEEL | |
creating 'dist/hickle-5.0.2-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it | |
adding 'hickle/__init__.py' | |
adding 'hickle/__version__.py' | |
adding 'hickle/fileio.py' | |
adding 'hickle/helpers.py' | |
adding 'hickle/hickle.py' | |
adding 'hickle/lookup.py' | |
adding 'hickle/legacy_v3/__init__.py' | |
adding 'hickle/legacy_v3/__version__.py' | |
adding 'hickle/legacy_v3/helpers.py' | |
adding 'hickle/legacy_v3/hickle.py' | |
adding 'hickle/legacy_v3/lookup.py' | |
adding 'hickle/legacy_v3/loaders/__init__.py' | |
adding 'hickle/legacy_v3/loaders/load_astropy.py' | |
adding 'hickle/legacy_v3/loaders/load_numpy.py' | |
adding 'hickle/legacy_v3/loaders/load_pandas.py' | |
adding 'hickle/legacy_v3/loaders/load_python3.py' | |
adding 'hickle/legacy_v3/loaders/load_scipy.py' | |
adding 'hickle/loaders/__init__.py' | |
adding 'hickle/loaders/load_astropy.py' | |
adding 'hickle/loaders/load_builtins.py' | |
adding 'hickle/loaders/load_numpy.py' | |
adding 'hickle/loaders/load_pandas.py' | |
adding 'hickle/loaders/load_scipy.py' | |
adding 'hickle/tests/__init__.py' | |
adding 'hickle/tests/generate_legacy_4_0_0.py' | |
adding 'hickle/tests/test_01_hickle_helpers.py' | |
adding 'hickle/tests/test_02_hickle_lookup.py' | |
adding 'hickle/tests/test_03_load_builtins.py' | |
adding 'hickle/tests/test_04_load_numpy.py' | |
adding 'hickle/tests/test_05_load_scipy.py' | |
adding 'hickle/tests/test_06_load_astropy.py' | |
adding 'hickle/tests/test_07_load_pandas.py' | |
adding 'hickle/tests/test_99_hickle_core.py' | |
adding 'hickle/tests/test_hickle.py' | |
adding 'hickle/tests/test_legacy_load.py' | |
adding 'hickle/tests/hickle_loaders/__init__.py' | |
adding 'hickle/tests/hickle_loaders/load_builtins.py' | |
adding 'hickle-5.0.2.dist-info/LICENSE' | |
adding 'hickle-5.0.2.dist-info/METADATA' | |
adding 'hickle-5.0.2.dist-info/WHEEL' | |
adding 'hickle-5.0.2.dist-info/top_level.txt' | |
adding 'hickle-5.0.2.dist-info/RECORD' | |
removing build/bdist.linux-x86_64/wheel | |
Finished executing setuptoolsBuildPhase | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
installing | |
Executing pipInstallPhase | |
/build/hickle-5.0.2/dist /build/hickle-5.0.2 | |
Processing ./hickle-5.0.2-py3-none-any.whl | |
Requirement already satisfied: numpy!=1.20,>=1.8 in /nix/store/0xhlg0vi0y8m5lxsm8khcqqma8rmy2jr-python3.10-numpy-1.24.2/lib/python3.10/site-packages (from hickle==5.0.2) (1.24.2) | |
Requirement already satisfied: h5py>=2.10.0 in /nix/store/z8i91fw8m5n85pll1q12123apza64840-python3.10-h5py-3.8.0/lib/python3.10/site-packages (from hickle==5.0.2) (3.8.0) | |
Installing collected packages: hickle | |
Successfully installed hickle-5.0.2 | |
/build/hickle-5.0.2 | |
Finished executing pipInstallPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
pythonOutputDistPhase | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
post-installation fixup | |
shrinking RPATHs of ELF executables and libraries in /nix/store/gxw5mv6wlsrjngjr0splzbxw42g9cpbd-python3.10-hickle-5.0.2 | |
checking for references to /build/ in /nix/store/gxw5mv6wlsrjngjr0splzbxw42g9cpbd-python3.10-hickle-5.0.2... | |
patching script interpreter paths in /nix/store/gxw5mv6wlsrjngjr0splzbxw42g9cpbd-python3.10-hickle-5.0.2 | |
stripping (with command strip and flags -S) in /nix/store/gxw5mv6wlsrjngjr0splzbxw42g9cpbd-python3.10-hickle-5.0.2/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/1bbkjpn3r15524f845dwafhzb8y4azsb-python3.10-hickle-5.0.2-dist | |
checking for references to /build/ in /nix/store/1bbkjpn3r15524f845dwafhzb8y4azsb-python3.10-hickle-5.0.2-dist... | |
patching script interpreter paths in /nix/store/1bbkjpn3r15524f845dwafhzb8y4azsb-python3.10-hickle-5.0.2-dist | |
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 | |
Check whether the following modules can be imported: hickle | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
pytestCheckPhase | |
Executing pytestCheckPhase | |
[1m============================= test session starts ==============================[0m | |
platform linux -- Python 3.10.10, pytest-7.2.1, pluggy-1.0.0 | |
rootdir: /build/hickle-5.0.2, configfile: tox.ini | |
[1mcollecting ... [0m[1m collecting 35 items [0m[1m collecting 41 items [0m[1m collecting 50 items [0m[1m collecting 51 items [0m[1m collected 102 items [0m | |
hickle/tests/test_01_hickle_helpers.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m [ 5%][0m | |
hickle/tests/test_02_hickle_lookup.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m [ 28%][0m | |
hickle/tests/test_03_load_builtins.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m [ 34%][0m | |
hickle/tests/test_04_load_numpy.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m [ 38%][0m | |
hickle/tests/test_05_load_scipy.py [32m.[0m[32m.[0m[32m [ 40%][0m | |
hickle/tests/test_06_load_astropy.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 49%][0m | |
hickle/tests/test_07_load_pandas.py [32m.[0m[33m [ 50%][0m | |
hickle/tests/test_99_hickle_core.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 59%][0m | |
hickle/tests/test_hickle.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31mF[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 98%][0m | |
hickle/tests/test_legacy_load.py [32m.[0m[32m.[0m[31m [100%][0m | |
=================================== FAILURES =================================== | |
[31m[1m___________________________ test_scalar_compression ____________________________[0m | |
test_file_name = 'test_scalar_compression.hkl' | |
@pytest.mark.no_compression | |
def test_scalar_compression(test_file_name): | |
""" Test bug where compression causes a crash on scalar datasets | |
(Scalars are incompressible!) | |
https://github.com/telegraphic/hickle/issues/37 | |
""" | |
> data = {'a': 0, 'b': np.float(2), 'c': True} | |
[1m[31m/build/hickle-5.0.2/hickle/tests/test_hickle.py[0m:745: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
attr = 'float' | |
def __getattr__(attr): | |
# Warn for expired attributes, and return a dummy function | |
# that always raises an exception. | |
import warnings | |
try: | |
msg = __expired_functions__[attr] | |
except KeyError: | |
pass | |
else: | |
warnings.warn(msg, DeprecationWarning, stacklevel=2) | |
def _expired(*args, **kwds): | |
raise RuntimeError(msg) | |
return _expired | |
# Emit warnings for deprecated attributes | |
try: | |
val, msg = __deprecated_attrs__[attr] | |
except KeyError: | |
pass | |
else: | |
warnings.warn(msg, DeprecationWarning, stacklevel=2) | |
return val | |
if attr in __future_scalars__: | |
# And future warnings for those that will change, but also give | |
# the AttributeError | |
warnings.warn( | |
f"In the future `np.{attr}` will be defined as the " | |
"corresponding NumPy scalar.", FutureWarning, stacklevel=2) | |
if attr in __former_attrs__: | |
> raise AttributeError(__former_attrs__[attr]) | |
[1m[31mE AttributeError: module 'numpy' has no attribute 'float'.[0m | |
[1m[31mE `np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, 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.[0m | |
[1m[31mE The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:[0m | |
[1m[31mE https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?[0m | |
[1m[31m/nix/store/0xhlg0vi0y8m5lxsm8khcqqma8rmy2jr-python3.10-numpy-1.24.2/lib/python3.10/site-packages/numpy/__init__.py[0m:305: AttributeError | |
[33m=============================== warnings summary ===============================[0m | |
hickle/tests/test_06_load_astropy.py::test_create_astropy_constant | |
/nix/store/kkcdz08ib8d6lcbipk88byxv1v9gc5y7-python3.10-astropy-5.2.1/lib/python3.10/site-packages/astropy/constants/constant.py:137: AstropyUserWarning: Constant 'Gravitational constant' already has a definition in the None system from 'CODATA 2018' reference | |
warnings.warn( | |
hickle/tests/test_06_load_astropy.py::test_create_astropy_constant | |
/nix/store/kkcdz08ib8d6lcbipk88byxv1v9gc5y7-python3.10-astropy-5.2.1/lib/python3.10/site-packages/astropy/constants/constant.py:137: AstropyUserWarning: Constant 'Electron charge' already has a definition in the 'emu' system from 'CODATA 2018' reference | |
warnings.warn( | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
/build/hickle-5.0.2/hickle/tests/test_06_load_astropy.py:169: DeprecationWarning: tostring() is deprecated. Use tobytes() instead. | |
assert reloaded.value[index].tostring() == t1.value[index].tostring() | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
hickle/tests/test_06_load_astropy.py::test_astropy_time_array | |
/build/hickle-5.0.2/hickle/tests/test_06_load_astropy.py:177: DeprecationWarning: tostring() is deprecated. Use tobytes() instead. | |
assert reloaded.value[index].tostring() == t1.value[index].tostring() | |
hickle/tests/test_hickle.py::test_slash_dict_keys | |
/nix/store/ma77c9gm2zbikjjgf3i6hs3rp9i13f2r-python3.10-pytest-7.2.1/lib/python3.10/site-packages/_pytest/python.py:195: PytestRemovedIn8Warning: Passing None has been deprecated. | |
See https://docs.pytest.org/en/latest/how-to/capture-warnings.html#additional-use-cases-of-warnings-in-tests for alternatives in common use cases. | |
result = testfunction(**testargs) | |
hickle/tests/test_legacy_load.py::test_4_0_0_load | |
/build/hickle-5.0.2/hickle/loaders/load_scipy.py:91: DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the `scipy.sparse.csr` namespace is deprecated. | |
self.object_type = pickle.loads(item.attrs['type']) | |
hickle/tests/test_legacy_load.py::test_4_0_0_load | |
/build/hickle-5.0.2/hickle/loaders/load_scipy.py:91: DeprecationWarning: Please use `csc_matrix` from the `scipy.sparse` namespace, the `scipy.sparse.csc` namespace is deprecated. | |
self.object_type = pickle.loads(item.attrs['type']) | |
hickle/tests/test_legacy_load.py::test_4_0_0_load | |
/build/hickle-5.0.2/hickle/loaders/load_scipy.py:91: DeprecationWarning: Please use `bsr_matrix` from the `scipy.sparse` namespace, the `scipy.sparse.bsr` namespace is deprecated. | |
self.object_type = pickle.loads(item.attrs['type']) | |
hickle/tests/test_legacy_load.py::test_4_0_0_load | |
/build/hickle-5.0.2/hickle/lookup.py:1611: MockedLambdaWarning: presenting '<function _moc_numpy_array_object_lambda at 0x7ffe601ff130>' instead of stored lambda 'type' | |
warnings.warn( | |
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html | |
[36m[1m=========================== short test summary info ============================[0m | |
[31mFAILED[0m hickle/tests/test_hickle.py::[1mtest_scalar_compression[0m - AttributeError: module 'numpy' has no attribute 'float'. | |
[31m================= [31m[1m1 failed[0m, [32m101 passed[0m, [33m23 warnings[0m[31m in 10.88s[0m[31m ==================[0m | |
/nix/store/pw17yc3mwmsci4jygwalj8ppg0drz31v-stdenv-linux/setup: line 1593: pop_var_context: head of shell_variables not a function context |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment