Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SomeoneSerge/72241d4ed4d82b0f5253a772a2c4ac65 to your computer and use it in GitHub Desktop.
Save SomeoneSerge/72241d4ed4d82b0f5253a772a2c4ac65 to your computer and use it in GitHub Desktop.
nix log /nix/store/zhgs55lxxair6k729rqd0kf0cl9h5smi-python3.10-slicer-0.0.7.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/77mxvzfc03zm1yq6bm139diackr8dmm9-slicer-0.0.7.tar.gz
source root is slicer-0.0.7
setting SOURCE_DATE_EPOCH to timestamp 1608086257 of file slicer-0.0.7/slicer.egg-info/top_level.txt
@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/slicer
copying slicer/slicer.py -> build/lib/slicer
copying slicer/test_slicer.py -> build/lib/slicer
copying slicer/__init__.py -> build/lib/slicer
copying slicer/slicer_internal.py -> build/lib/slicer
copying slicer/utils_testing.py -> build/lib/slicer
/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/slicer
copying build/lib/slicer/slicer.py -> build/bdist.linux-x86_64/wheel/slicer
copying build/lib/slicer/test_slicer.py -> build/bdist.linux-x86_64/wheel/slicer
copying build/lib/slicer/__init__.py -> build/bdist.linux-x86_64/wheel/slicer
copying build/lib/slicer/slicer_internal.py -> build/bdist.linux-x86_64/wheel/slicer
copying build/lib/slicer/utils_testing.py -> build/bdist.linux-x86_64/wheel/slicer
running install_egg_info
running egg_info
writing slicer.egg-info/PKG-INFO
writing dependency_links to slicer.egg-info/dependency_links.txt
writing top-level names to slicer.egg-info/top_level.txt
reading manifest file 'slicer.egg-info/SOURCES.txt'
writing manifest file 'slicer.egg-info/SOURCES.txt'
Copying slicer.egg-info to build/bdist.linux-x86_64/wheel/slicer-0.0.7-py3.10.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/slicer-0.0.7.dist-info/WHEEL
creating 'dist/slicer-0.0.7-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'slicer/__init__.py'
adding 'slicer/slicer.py'
adding 'slicer/slicer_internal.py'
adding 'slicer/test_slicer.py'
adding 'slicer/utils_testing.py'
adding 'slicer-0.0.7.dist-info/METADATA'
adding 'slicer-0.0.7.dist-info/WHEEL'
adding 'slicer-0.0.7.dist-info/top_level.txt'
adding 'slicer-0.0.7.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Finished executing setuptoolsBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pipInstallPhase
/build/slicer-0.0.7/dist /build/slicer-0.0.7
Processing ./slicer-0.0.7-py3-none-any.whl
Installing collected packages: slicer
Successfully installed slicer-0.0.7
/build/slicer-0.0.7
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/5dn9w4gys3jyp79kvwqwfhfavcznglwr-python3.10-slicer-0.0.7
checking for references to /build/ in /nix/store/5dn9w4gys3jyp79kvwqwfhfavcznglwr-python3.10-slicer-0.0.7...
patching script interpreter paths in /nix/store/5dn9w4gys3jyp79kvwqwfhfavcznglwr-python3.10-slicer-0.0.7
stripping (with command strip and flags -S) in /nix/store/5dn9w4gys3jyp79kvwqwfhfavcznglwr-python3.10-slicer-0.0.7/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/h725ibyqll4x2h9ypvn4dyhfykvbfvnh-python3.10-slicer-0.0.7-dist
checking for references to /build/ in /nix/store/h725ibyqll4x2h9ypvn4dyhfykvbfvnh-python3.10-slicer-0.0.7-dist...
patching script interpreter paths in /nix/store/h725ibyqll4x2h9ypvn4dyhfykvbfvnh-python3.10-slicer-0.0.7-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
@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/slicer-0.0.7
collecting ...  collecting 21 items  collected 21 items / 2 deselected / 19 selected 
slicer/test_slicer.py F.................. [100%]
=================================== FAILURES ===================================
___________________________ test_slicer_ragged_numpy ___________________________
def test_slicer_ragged_numpy():
> values = np.array([
np.array([0, 1]),
np.array([2, 3, 4])
])
E ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
slicer/test_slicer.py:26: ValueError
=========================== short test summary info ============================
FAILED slicer/test_slicer.py::test_slicer_ragged_numpy - ValueError: setting an array element with a sequence. The requested array h...
================= 1 failed, 18 passed, 2 deselected in 14.76s ==================
/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