Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SomeoneSerge/1f282b18e024bc7e37b6c80af062fca6 to your computer and use it in GitHub Desktop.
Save SomeoneSerge/1f282b18e024bc7e37b6c80af062fca6 to your computer and use it in GitHub Desktop.
nix log /nix/store/k8527r5fnh4qpz0fgn23n25jl2aakqd1-python3.10-hickle-5.0.2.drv
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
============================= test session starts ==============================
platform linux -- Python 3.10.10, pytest-7.2.1, pluggy-1.0.0
rootdir: /build/hickle-5.0.2, configfile: tox.ini
collecting ...  collecting 29 items  collecting 35 items  collecting 50 items  collecting 51 items  collected 102 items 
hickle/tests/test_01_hickle_helpers.py ...... [ 5%]
hickle/tests/test_02_hickle_lookup.py ....................... [ 28%]
hickle/tests/test_03_load_builtins.py ...... [ 34%]
hickle/tests/test_04_load_numpy.py .... [ 38%]
hickle/tests/test_05_load_scipy.py .. [ 40%]
hickle/tests/test_06_load_astropy.py ......... [ 49%]
hickle/tests/test_07_load_pandas.py . [ 50%]
hickle/tests/test_99_hickle_core.py .......... [ 59%]
hickle/tests/test_hickle.py ...................................F... [ 98%]
hickle/tests/test_legacy_load.py .. [100%]
=================================== FAILURES ===================================
___________________________ test_scalar_compression ____________________________
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}
/build/hickle-5.0.2/hickle/tests/test_hickle.py: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])
E AttributeError: module 'numpy' has no attribute 'float'.
E `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.
E The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
E https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?
/nix/store/0xhlg0vi0y8m5lxsm8khcqqma8rmy2jr-python3.10-numpy-1.24.2/lib/python3.10/site-packages/numpy/__init__.py:305: AttributeError
=============================== warnings summary ===============================
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
=========================== short test summary info ============================
FAILED hickle/tests/test_hickle.py::test_scalar_compression - AttributeError: module 'numpy' has no attribute 'float'.
================= 1 failed, 101 passed, 23 warnings in 11.31s ==================
/nix/store/pw17yc3mwmsci4jygwalj8ppg0drz31v-stdenv-linux/setup: line 1593: pop_var_context: head of shell_variables not a function context
@samuela
Copy link

samuela commented Mar 23, 2023

failed due to np.float deprecation, unrelated to pytorch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment