Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SomeoneSerge/9cbbd66710b28da5080468b2982d1fbc to your computer and use it in GitHub Desktop.
Save SomeoneSerge/9cbbd66710b28da5080468b2982d1fbc to your computer and use it in GitHub Desktop.
nix log /nix/store/lrz4yx5zphsw3j1kd1gq7k86mdwpd0hf-python3.10-chex-0.1.6.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/khc9r9q7wj9i76y4z60v4ia4wcf5jxp7-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/test.sh
@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/chex
copying chex/__init__.py -> build/lib/chex
copying chex/chex_test.py -> build/lib/chex
creating build/lib/chex/_src
copying chex/_src/dataclass.py -> build/lib/chex/_src
copying chex/_src/asserts_internal.py -> build/lib/chex/_src
copying chex/_src/variants.py -> build/lib/chex/_src
copying chex/_src/fake.py -> build/lib/chex/_src
copying chex/_src/__init__.py -> build/lib/chex/_src
copying chex/_src/dimensions_test.py -> build/lib/chex/_src
copying chex/_src/dataclass_test.py -> build/lib/chex/_src
copying chex/_src/asserts.py -> build/lib/chex/_src
copying chex/_src/restrict_backends_test.py -> build/lib/chex/_src
copying chex/_src/dimensions.py -> build/lib/chex/_src
copying chex/_src/asserts_chexify_test.py -> build/lib/chex/_src
copying chex/_src/pytypes.py -> build/lib/chex/_src
copying chex/_src/fake_test.py -> build/lib/chex/_src
copying chex/_src/fake_set_n_cpu_devices_test.py -> build/lib/chex/_src
copying chex/_src/asserts_chexify.py -> build/lib/chex/_src
copying chex/_src/variants_test.py -> build/lib/chex/_src
copying chex/_src/asserts_test.py -> build/lib/chex/_src
copying chex/_src/asserts_internal_test.py -> build/lib/chex/_src
copying chex/_src/restrict_backends.py -> build/lib/chex/_src
running egg_info
creating chex.egg-info
writing chex.egg-info/PKG-INFO
writing dependency_links to chex.egg-info/dependency_links.txt
writing requirements to chex.egg-info/requires.txt
writing top-level names to chex.egg-info/top_level.txt
writing manifest file 'chex.egg-info/SOURCES.txt'
reading manifest file 'chex.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'chex.egg-info/SOURCES.txt'
copying chex/py.typed -> build/lib/chex
/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/chex
copying build/lib/chex/__init__.py -> build/bdist.linux-x86_64/wheel/chex
copying build/lib/chex/py.typed -> build/bdist.linux-x86_64/wheel/chex
creating build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/dataclass.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/asserts_internal.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/variants.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/fake.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/__init__.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/dimensions_test.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/dataclass_test.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/asserts.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/restrict_backends_test.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/dimensions.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/asserts_chexify_test.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/pytypes.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/fake_test.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/fake_set_n_cpu_devices_test.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/asserts_chexify.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/variants_test.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/asserts_test.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/asserts_internal_test.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/_src/restrict_backends.py -> build/bdist.linux-x86_64/wheel/chex/_src
copying build/lib/chex/chex_test.py -> build/bdist.linux-x86_64/wheel/chex
running install_egg_info
Copying chex.egg-info to build/bdist.linux-x86_64/wheel/chex-0.1.6-py3.10.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/chex-0.1.6.dist-info/WHEEL
creating 'dist/chex-0.1.6-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'chex/__init__.py'
adding 'chex/chex_test.py'
adding 'chex/py.typed'
adding 'chex/_src/__init__.py'
adding 'chex/_src/asserts.py'
adding 'chex/_src/asserts_chexify.py'
adding 'chex/_src/asserts_chexify_test.py'
adding 'chex/_src/asserts_internal.py'
adding 'chex/_src/asserts_internal_test.py'
adding 'chex/_src/asserts_test.py'
adding 'chex/_src/dataclass.py'
adding 'chex/_src/dataclass_test.py'
adding 'chex/_src/dimensions.py'
adding 'chex/_src/dimensions_test.py'
adding 'chex/_src/fake.py'
adding 'chex/_src/fake_set_n_cpu_devices_test.py'
adding 'chex/_src/fake_test.py'
adding 'chex/_src/pytypes.py'
adding 'chex/_src/restrict_backends.py'
adding 'chex/_src/restrict_backends_test.py'
adding 'chex/_src/variants.py'
adding 'chex/_src/variants_test.py'
adding 'chex-0.1.6.dist-info/LICENSE'
adding 'chex-0.1.6.dist-info/METADATA'
adding 'chex-0.1.6.dist-info/WHEEL'
adding 'chex-0.1.6.dist-info/top_level.txt'
adding 'chex-0.1.6.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Finished executing setuptoolsBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pipInstallPhase
/build/source/dist /build/source
Processing ./chex-0.1.6-py3-none-any.whl
Requirement already satisfied: jaxlib>=0.1.37 in /nix/store/pskm7db2b2p1vy6if40w89swfjcjvkda-python3.10-jaxlib-0.3.22/lib/python3.10/site-packages (from chex==0.1.6) (0.3.22)
Requirement already satisfied: typing-extensions>=4.2.0 in /nix/store/bndw06wps3i7xpqdk6ryq6wiqg11ggy8-python3.10-typing-extensions-4.5.0/lib/python3.10/site-packages (from chex==0.1.6) (4.5.0)
Requirement already satisfied: dm-tree>=0.1.5 in /nix/store/9885hfd8fdp5jn158snv6acxi7xs3h8i-python3.10-dm-tree-0.1.8/lib/python3.10/site-packages (from chex==0.1.6) (0.1.8)
Requirement already satisfied: toolz>=0.9.0 in /nix/store/5n1zl0hhd8cnimdsnsbm3rjjrba1s4la-python3.10-toolz-0.12.0/lib/python3.10/site-packages (from chex==0.1.6) (0.12.0)
Requirement already satisfied: jax>=0.1.55 in /nix/store/0sk2ac33dndyskjz8q1gha8648pfmfgk-python3.10-jax-0.4.1/lib/python3.10/site-packages (from chex==0.1.6) (0.4.1)
Requirement already satisfied: numpy>=1.18.0 in /nix/store/0xhlg0vi0y8m5lxsm8khcqqma8rmy2jr-python3.10-numpy-1.24.2/lib/python3.10/site-packages (from chex==0.1.6) (1.24.2)
Requirement already satisfied: absl-py>=0.9.0 in /nix/store/v3aijggkh9xizkag9j61g22iw1g6gqri-python3.10-absl-py-1.4.0/lib/python3.10/site-packages (from chex==0.1.6) (1.4.0)
Requirement already satisfied: scipy>=1.5 in /nix/store/hvs05k932v31cfckv49nx1pin0qjd20v-python3.10-scipy-1.10.1/lib/python3.10/site-packages (from jax>=0.1.55->chex==0.1.6) (1.10.1)
Requirement already satisfied: opt-einsum in /nix/store/2997s30cdd8i0z3hxv5kvkzrk3bn5773-python3.10-opt-einsum-3.3.0/lib/python3.10/site-packages (from jax>=0.1.55->chex==0.1.6) (3.3.0)
Installing collected packages: chex
Successfully installed chex-0.1.6
/build/source
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/ryr2sklcanj4br4ilqyk4nsdxv0mzpv3-python3.10-chex-0.1.6
checking for references to /build/ in /nix/store/ryr2sklcanj4br4ilqyk4nsdxv0mzpv3-python3.10-chex-0.1.6...
patching script interpreter paths in /nix/store/ryr2sklcanj4br4ilqyk4nsdxv0mzpv3-python3.10-chex-0.1.6
stripping (with command strip and flags -S) in /nix/store/ryr2sklcanj4br4ilqyk4nsdxv0mzpv3-python3.10-chex-0.1.6/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/d4aixhnfcvmaa19s35ks6bqnfxxwlv08-python3.10-chex-0.1.6-dist
checking for references to /build/ in /nix/store/d4aixhnfcvmaa19s35ks6bqnfxxwlv08-python3.10-chex-0.1.6-dist...
patching script interpreter paths in /nix/store/d4aixhnfcvmaa19s35ks6bqnfxxwlv08-python3.10-chex-0.1.6-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: chex
@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/source
collecting ...  collecting 1 item  collecting 31 items  collecting 326 items / 1 error  collecting 387 items / 1 error  collected 510 items / 1 error / 81 deselected / 429 selected 
==================================== ERRORS ====================================
_________________ ERROR collecting chex/_src/dataclass_test.py _________________
ImportError while importing test module '/build/source/chex/_src/dataclass_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/0n4y44dnaxafqs7cg625aldrb152x7bx-python3-3.10.10/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
chex/_src/dataclass_test.py:26: in <module>
import cloudpickle
E ModuleNotFoundError: No module named 'cloudpickle'
=========================== short test summary info ============================
ERROR chex/_src/dataclass_test.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
======================= 81 deselected, 1 error in 10.06s =======================
/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