Created
March 22, 2023 13:28
-
-
Save SomeoneSerge/fd85fbc2041a36405a6e6a41981bb230 to your computer and use it in GitHub Desktop.
nix log /nix/store/11jv1srhclr3fv9fh52a5zg4bd3gnm6l-python3.10-pims-0.6.1.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/8z8n3zzkpriwm9czhch3mj1y8hd75pkg-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/versioneer.py | |
@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/pims | |
copying pims/api.py -> build/lib/pims | |
copying pims/tiff_stack.py -> build/lib/pims | |
copying pims/display.py -> build/lib/pims | |
copying pims/pyav_reader.py -> build/lib/pims | |
copying pims/__init__.py -> build/lib/pims | |
copying pims/bioformats.py -> build/lib/pims | |
copying pims/base_frames.py -> build/lib/pims | |
copying pims/image_reader.py -> build/lib/pims | |
copying pims/spe_stack.py -> build/lib/pims | |
copying pims/imageio_reader.py -> build/lib/pims | |
copying pims/moviepy_reader.py -> build/lib/pims | |
copying pims/_version.py -> build/lib/pims | |
copying pims/norpix_reader.py -> build/lib/pims | |
copying pims/cine.py -> build/lib/pims | |
copying pims/process.py -> build/lib/pims | |
copying pims/image_sequence.py -> build/lib/pims | |
copying pims/frame.py -> build/lib/pims | |
copying pims/ffmpeg_reader.py -> build/lib/pims | |
creating build/lib/pims/utils | |
copying pims/utils/misc.py -> build/lib/pims/utils | |
copying pims/utils/__init__.py -> build/lib/pims/utils | |
copying pims/utils/sort.py -> build/lib/pims/utils | |
creating build/lib/pims/tests | |
copying pims/tests/test_imseq.py -> build/lib/pims/tests | |
copying pims/tests/test_frame.py -> build/lib/pims/tests | |
copying pims/tests/test_multidimensional.py -> build/lib/pims/tests | |
copying pims/tests/__init__.py -> build/lib/pims/tests | |
copying pims/tests/test_norpix.py -> build/lib/pims/tests | |
copying pims/tests/test_cine.py -> build/lib/pims/tests | |
copying pims/tests/test_factories.py -> build/lib/pims/tests | |
copying pims/tests/test_process.py -> build/lib/pims/tests | |
copying pims/tests/test_common.py -> build/lib/pims/tests | |
copying pims/tests/test_bioformats.py -> build/lib/pims/tests | |
copying pims/tests/test_display.py -> build/lib/pims/tests | |
UPDATING build/lib/pims/_version.py | |
set build/lib/pims/_version.py to '0.6.1' | |
/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/pims | |
creating build/bdist.linux-x86_64/wheel/pims/utils | |
copying build/lib/pims/utils/misc.py -> build/bdist.linux-x86_64/wheel/pims/utils | |
copying build/lib/pims/utils/__init__.py -> build/bdist.linux-x86_64/wheel/pims/utils | |
copying build/lib/pims/utils/sort.py -> build/bdist.linux-x86_64/wheel/pims/utils | |
copying build/lib/pims/api.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/tiff_stack.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/display.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/pyav_reader.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/__init__.py -> build/bdist.linux-x86_64/wheel/pims | |
creating build/bdist.linux-x86_64/wheel/pims/tests | |
copying build/lib/pims/tests/test_imseq.py -> build/bdist.linux-x86_64/wheel/pims/tests | |
copying build/lib/pims/tests/test_frame.py -> build/bdist.linux-x86_64/wheel/pims/tests | |
copying build/lib/pims/tests/test_multidimensional.py -> build/bdist.linux-x86_64/wheel/pims/tests | |
copying build/lib/pims/tests/__init__.py -> build/bdist.linux-x86_64/wheel/pims/tests | |
copying build/lib/pims/tests/test_norpix.py -> build/bdist.linux-x86_64/wheel/pims/tests | |
copying build/lib/pims/tests/test_cine.py -> build/bdist.linux-x86_64/wheel/pims/tests | |
copying build/lib/pims/tests/test_factories.py -> build/bdist.linux-x86_64/wheel/pims/tests | |
copying build/lib/pims/tests/test_process.py -> build/bdist.linux-x86_64/wheel/pims/tests | |
copying build/lib/pims/tests/test_common.py -> build/bdist.linux-x86_64/wheel/pims/tests | |
copying build/lib/pims/tests/test_bioformats.py -> build/bdist.linux-x86_64/wheel/pims/tests | |
copying build/lib/pims/tests/test_display.py -> build/bdist.linux-x86_64/wheel/pims/tests | |
copying build/lib/pims/bioformats.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/base_frames.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/image_reader.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/spe_stack.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/imageio_reader.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/moviepy_reader.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/_version.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/norpix_reader.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/cine.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/process.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/image_sequence.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/frame.py -> build/bdist.linux-x86_64/wheel/pims | |
copying build/lib/pims/ffmpeg_reader.py -> build/bdist.linux-x86_64/wheel/pims | |
running install_egg_info | |
running egg_info | |
creating PIMS.egg-info | |
writing PIMS.egg-info/PKG-INFO | |
writing dependency_links to PIMS.egg-info/dependency_links.txt | |
writing requirements to PIMS.egg-info/requires.txt | |
writing top-level names to PIMS.egg-info/top_level.txt | |
writing manifest file 'PIMS.egg-info/SOURCES.txt' | |
/nix/store/8zx4h7r5mn1b913hgi8rwjfynwg1wgdi-python3.10-setuptools-67.4.0/lib/python3.10/site-packages/setuptools/command/egg_info.py:661: SetuptoolsDeprecationWarning: Custom 'build_py' does not implement 'get_data_files_without_manifest'. | |
Please extend command classes from setuptools instead of distutils. | |
warnings.warn( | |
reading manifest file 'PIMS.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
writing manifest file 'PIMS.egg-info/SOURCES.txt' | |
Copying PIMS.egg-info to build/bdist.linux-x86_64/wheel/PIMS-0.6.1-py3.10.egg-info | |
running install_scripts | |
creating build/bdist.linux-x86_64/wheel/PIMS-0.6.1.dist-info/WHEEL | |
creating 'dist/PIMS-0.6.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it | |
adding 'pims/__init__.py' | |
adding 'pims/_version.py' | |
adding 'pims/api.py' | |
adding 'pims/base_frames.py' | |
adding 'pims/bioformats.py' | |
adding 'pims/cine.py' | |
adding 'pims/display.py' | |
adding 'pims/ffmpeg_reader.py' | |
adding 'pims/frame.py' | |
adding 'pims/image_reader.py' | |
adding 'pims/image_sequence.py' | |
adding 'pims/imageio_reader.py' | |
adding 'pims/moviepy_reader.py' | |
adding 'pims/norpix_reader.py' | |
adding 'pims/process.py' | |
adding 'pims/pyav_reader.py' | |
adding 'pims/spe_stack.py' | |
adding 'pims/tiff_stack.py' | |
adding 'pims/tests/__init__.py' | |
adding 'pims/tests/test_bioformats.py' | |
adding 'pims/tests/test_cine.py' | |
adding 'pims/tests/test_common.py' | |
adding 'pims/tests/test_display.py' | |
adding 'pims/tests/test_factories.py' | |
adding 'pims/tests/test_frame.py' | |
adding 'pims/tests/test_imseq.py' | |
adding 'pims/tests/test_multidimensional.py' | |
adding 'pims/tests/test_norpix.py' | |
adding 'pims/tests/test_process.py' | |
adding 'pims/utils/__init__.py' | |
adding 'pims/utils/misc.py' | |
adding 'pims/utils/sort.py' | |
adding 'PIMS-0.6.1.dist-info/METADATA' | |
adding 'PIMS-0.6.1.dist-info/WHEEL' | |
adding 'PIMS-0.6.1.dist-info/top_level.txt' | |
adding 'PIMS-0.6.1.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 ./PIMS-0.6.1-py3-none-any.whl | |
Requirement already satisfied: slicerator>=0.9.8 in /nix/store/m1x7ackh76nc5dmq1crkygd5i26vghxw-python3.10-slicerator-1.1.0/lib/python3.10/site-packages (from PIMS==0.6.1) (1.1.0) | |
Requirement already satisfied: imageio in /nix/store/d57zpkr5jbm23z7dvmp45531j8h5k88r-python3.10-imageio-2.26.0/lib/python3.10/site-packages (from PIMS==0.6.1) (2.26.0) | |
Requirement already satisfied: numpy>=1.19 in /nix/store/0xhlg0vi0y8m5lxsm8khcqqma8rmy2jr-python3.10-numpy-1.24.2/lib/python3.10/site-packages (from PIMS==0.6.1) (1.24.2) | |
Requirement already satisfied: pillow>=8.3.2 in /nix/store/q9s12513vl2diwblj1arwb1yl85jjafg-python3.10-pillow-9.4.0/lib/python3.10/site-packages (from imageio->PIMS==0.6.1) (9.4.0) | |
Installing collected packages: PIMS | |
Successfully installed PIMS-0.6.1 | |
/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/3k4r6sdayy1zchh7ywgpxsg5ny1f030s-python3.10-pims-0.6.1 | |
checking for references to /build/ in /nix/store/3k4r6sdayy1zchh7ywgpxsg5ny1f030s-python3.10-pims-0.6.1... | |
patching script interpreter paths in /nix/store/3k4r6sdayy1zchh7ywgpxsg5ny1f030s-python3.10-pims-0.6.1 | |
stripping (with command strip and flags -S) in /nix/store/3k4r6sdayy1zchh7ywgpxsg5ny1f030s-python3.10-pims-0.6.1/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/6w2jyfr76fbq09g8skplz0c5spz5rmal-python3.10-pims-0.6.1-dist | |
checking for references to /build/ in /nix/store/6w2jyfr76fbq09g8skplz0c5spz5rmal-python3.10-pims-0.6.1-dist... | |
patching script interpreter paths in /nix/store/6w2jyfr76fbq09g8skplz0c5spz5rmal-python3.10-pims-0.6.1-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: pims | |
Matplotlib created a temporary config/cache directory at /build/matplotlib-gfh1z6cx because the default path (/homeless-shelter/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing. | |
@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/source, configfile: pytest.ini | |
[1mcollecting ... [0m[1m collecting 13 items [0m[1m collecting 180 items [0m[1m collecting 369 items [0m[1m collecting 512 items [0m[1m collected 534 items / 17 deselected / 517 selected [0m | |
pims/tests/test_bioformats.py [33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[32m [ 8%] | |
[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[32m [ 22%] | |
[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[32m [ 32%][0m | |
pims/tests/test_cine.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m [ 34%][0m | |
pims/tests/test_common.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[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[32m [ 42%] | |
[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[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 [ 56%] | |
[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[33ms[0m[32m.[0m[32m.[0m[32m.[0m[32m [ 62%][0m | |
pims/tests/test_display.py [31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[31mF[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[31m [ 66%][0m | |
pims/tests/test_factories.py [32m.[0m[31m [ 66%][0m | |
pims/tests/test_frame.py [32m.[0m[32m.[0m[33ms[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 68%][0m | |
pims/tests/test_imseq.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[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 77%] | |
[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[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[32m.[0m[32m.[0m[32m.[0m[31m [ 91%] | |
[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 92%][0m | |
pims/tests/test_multidimensional.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 94%][0m | |
pims/tests/test_norpix.py [33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[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[31m [ 99%][0m | |
pims/tests/test_process.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 99%][0m | |
pims/utils/tests/test_sort.py [32m.[0m[31m [100%][0m | |
=================================== FAILURES =================================== | |
[31m[1m_______________________ TestPlotToFrame.test_ax_to_frame _______________________[0m | |
self = <pims.tests.test_display.TestPlotToFrame testMethod=test_ax_to_frame> | |
def test_ax_to_frame(self): | |
> frame = plot_to_frame(self.axes[0]) | |
[1m[31mpims/tests/test_display.py[0m:52: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31mpims/display.py[0m:702: in plot_to_frame | |
with _fig_size_cntx(fig, fig_size_inches, tight_layout) as fig: | |
[1m[31m/nix/store/0n4y44dnaxafqs7cg625aldrb152x7bx-python3-3.10.10/lib/python3.10/contextlib.py[0m:135: in __enter__ | |
return next(self.gen) | |
[1m[31mpims/display.py[0m:650: in _fig_size_cntx | |
fig.set_tight_layout(tight_layout) | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:199: in wrapper | |
emit_warning() | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:193: in emit_warning | |
warn_deprecated( | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:96: in warn_deprecated | |
warn_external(warning, category=MatplotlibDeprecationWarning) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
message = PendingDeprecationWarning('The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.') | |
category = <class 'matplotlib._api.deprecation.MatplotlibDeprecationWarning'> | |
def warn_external(message, category=None): | |
""" | |
`warnings.warn` wrapper that sets *stacklevel* to "outside Matplotlib". | |
The original emitter of the warning can be obtained by patching this | |
function back to `warnings.warn`, i.e. ``_api.warn_external = | |
warnings.warn`` (or ``functools.partial(warnings.warn, stacklevel=2)``, | |
etc.). | |
""" | |
frame = sys._getframe() | |
for stacklevel in itertools.count(1): # lgtm[py/unused-loop-variable] | |
if frame is None: | |
# when called in embedded context may hit frame is None | |
break | |
if not re.match(r"\A(matplotlib|mpl_toolkits)(\Z|\.(?!tests\.))", | |
# Work around sphinx-gallery not setting __name__. | |
frame.f_globals.get("__name__", "")): | |
break | |
frame = frame.f_back | |
> warnings.warn(message, category, stacklevel) | |
[1m[31mE PendingDeprecationWarning: The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.[0m | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/__init__.py[0m:388: PendingDeprecationWarning | |
[31m[1m______________________ TestPlotToFrame.test_axes_to_frame ______________________[0m | |
self = <pims.tests.test_display.TestPlotToFrame testMethod=test_axes_to_frame> | |
def test_axes_to_frame(self): | |
> frame = plots_to_frame(self.axes) | |
[1m[31mpims/tests/test_display.py[0m:60: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31mpims/display.py[0m:757: in plots_to_frame | |
im = plot_to_frame(fig, width, close_fig, fig_size_inches, bbox_inches) | |
[1m[31mpims/display.py[0m:702: in plot_to_frame | |
with _fig_size_cntx(fig, fig_size_inches, tight_layout) as fig: | |
[1m[31m/nix/store/0n4y44dnaxafqs7cg625aldrb152x7bx-python3-3.10.10/lib/python3.10/contextlib.py[0m:135: in __enter__ | |
return next(self.gen) | |
[1m[31mpims/display.py[0m:650: in _fig_size_cntx | |
fig.set_tight_layout(tight_layout) | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:199: in wrapper | |
emit_warning() | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:193: in emit_warning | |
warn_deprecated( | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:96: in warn_deprecated | |
warn_external(warning, category=MatplotlibDeprecationWarning) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
message = PendingDeprecationWarning('The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.') | |
category = <class 'matplotlib._api.deprecation.MatplotlibDeprecationWarning'> | |
def warn_external(message, category=None): | |
""" | |
`warnings.warn` wrapper that sets *stacklevel* to "outside Matplotlib". | |
The original emitter of the warning can be obtained by patching this | |
function back to `warnings.warn`, i.e. ``_api.warn_external = | |
warnings.warn`` (or ``functools.partial(warnings.warn, stacklevel=2)``, | |
etc.). | |
""" | |
frame = sys._getframe() | |
for stacklevel in itertools.count(1): # lgtm[py/unused-loop-variable] | |
if frame is None: | |
# when called in embedded context may hit frame is None | |
break | |
if not re.match(r"\A(matplotlib|mpl_toolkits)(\Z|\.(?!tests\.))", | |
# Work around sphinx-gallery not setting __name__. | |
frame.f_globals.get("__name__", "")): | |
break | |
frame = frame.f_back | |
> warnings.warn(message, category, stacklevel) | |
[1m[31mE PendingDeprecationWarning: The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.[0m | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/__init__.py[0m:388: PendingDeprecationWarning | |
[31m[1m_______________________ TestPlotToFrame.test_plot_resize _______________________[0m | |
self = <pims.tests.test_display.TestPlotToFrame testMethod=test_plot_resize> | |
def test_plot_resize(self): | |
> frame = plot_to_frame(self.figures[0], fig_size_inches=(4, 4)) | |
[1m[31mpims/tests/test_display.py[0m:91: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31mpims/display.py[0m:702: in plot_to_frame | |
with _fig_size_cntx(fig, fig_size_inches, tight_layout) as fig: | |
[1m[31m/nix/store/0n4y44dnaxafqs7cg625aldrb152x7bx-python3-3.10.10/lib/python3.10/contextlib.py[0m:135: in __enter__ | |
return next(self.gen) | |
[1m[31mpims/display.py[0m:650: in _fig_size_cntx | |
fig.set_tight_layout(tight_layout) | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:199: in wrapper | |
emit_warning() | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:193: in emit_warning | |
warn_deprecated( | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:96: in warn_deprecated | |
warn_external(warning, category=MatplotlibDeprecationWarning) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
message = PendingDeprecationWarning('The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.') | |
category = <class 'matplotlib._api.deprecation.MatplotlibDeprecationWarning'> | |
def warn_external(message, category=None): | |
""" | |
`warnings.warn` wrapper that sets *stacklevel* to "outside Matplotlib". | |
The original emitter of the warning can be obtained by patching this | |
function back to `warnings.warn`, i.e. ``_api.warn_external = | |
warnings.warn`` (or ``functools.partial(warnings.warn, stacklevel=2)``, | |
etc.). | |
""" | |
frame = sys._getframe() | |
for stacklevel in itertools.count(1): # lgtm[py/unused-loop-variable] | |
if frame is None: | |
# when called in embedded context may hit frame is None | |
break | |
if not re.match(r"\A(matplotlib|mpl_toolkits)(\Z|\.(?!tests\.))", | |
# Work around sphinx-gallery not setting __name__. | |
frame.f_globals.get("__name__", "")): | |
break | |
frame = frame.f_back | |
> warnings.warn(message, category, stacklevel) | |
[1m[31mE PendingDeprecationWarning: The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.[0m | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/__init__.py[0m:388: PendingDeprecationWarning | |
[31m[1m_______________________ TestPlotToFrame.test_plot_tight ________________________[0m | |
self = <pims.tests.test_display.TestPlotToFrame testMethod=test_plot_tight> | |
def test_plot_tight(self): | |
fig = self.figures[0] | |
> fig.set_tight_layout(False) # default to standard | |
[1m[31mpims/tests/test_display.py[0m:74: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:199: in wrapper | |
emit_warning() | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:193: in emit_warning | |
warn_deprecated( | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:96: in warn_deprecated | |
warn_external(warning, category=MatplotlibDeprecationWarning) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
message = PendingDeprecationWarning('The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.') | |
category = <class 'matplotlib._api.deprecation.MatplotlibDeprecationWarning'> | |
def warn_external(message, category=None): | |
""" | |
`warnings.warn` wrapper that sets *stacklevel* to "outside Matplotlib". | |
The original emitter of the warning can be obtained by patching this | |
function back to `warnings.warn`, i.e. ``_api.warn_external = | |
warnings.warn`` (or ``functools.partial(warnings.warn, stacklevel=2)``, | |
etc.). | |
""" | |
frame = sys._getframe() | |
for stacklevel in itertools.count(1): # lgtm[py/unused-loop-variable] | |
if frame is None: | |
# when called in embedded context may hit frame is None | |
break | |
if not re.match(r"\A(matplotlib|mpl_toolkits)(\Z|\.(?!tests\.))", | |
# Work around sphinx-gallery not setting __name__. | |
frame.f_globals.get("__name__", "")): | |
break | |
frame = frame.f_back | |
> warnings.warn(message, category, stacklevel) | |
[1m[31mE PendingDeprecationWarning: The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.[0m | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/__init__.py[0m:388: PendingDeprecationWarning | |
[31m[1m______________________ TestPlotToFrame.test_plot_to_frame ______________________[0m | |
self = <pims.tests.test_display.TestPlotToFrame testMethod=test_plot_to_frame> | |
def test_plot_to_frame(self): | |
> frame = plot_to_frame(self.figures[0]) | |
[1m[31mpims/tests/test_display.py[0m:56: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31mpims/display.py[0m:702: in plot_to_frame | |
with _fig_size_cntx(fig, fig_size_inches, tight_layout) as fig: | |
[1m[31m/nix/store/0n4y44dnaxafqs7cg625aldrb152x7bx-python3-3.10.10/lib/python3.10/contextlib.py[0m:135: in __enter__ | |
return next(self.gen) | |
[1m[31mpims/display.py[0m:650: in _fig_size_cntx | |
fig.set_tight_layout(tight_layout) | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:199: in wrapper | |
emit_warning() | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:193: in emit_warning | |
warn_deprecated( | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:96: in warn_deprecated | |
warn_external(warning, category=MatplotlibDeprecationWarning) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
message = PendingDeprecationWarning('The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.') | |
category = <class 'matplotlib._api.deprecation.MatplotlibDeprecationWarning'> | |
def warn_external(message, category=None): | |
""" | |
`warnings.warn` wrapper that sets *stacklevel* to "outside Matplotlib". | |
The original emitter of the warning can be obtained by patching this | |
function back to `warnings.warn`, i.e. ``_api.warn_external = | |
warnings.warn`` (or ``functools.partial(warnings.warn, stacklevel=2)``, | |
etc.). | |
""" | |
frame = sys._getframe() | |
for stacklevel in itertools.count(1): # lgtm[py/unused-loop-variable] | |
if frame is None: | |
# when called in embedded context may hit frame is None | |
break | |
if not re.match(r"\A(matplotlib|mpl_toolkits)(\Z|\.(?!tests\.))", | |
# Work around sphinx-gallery not setting __name__. | |
frame.f_globals.get("__name__", "")): | |
break | |
frame = frame.f_back | |
> warnings.warn(message, category, stacklevel) | |
[1m[31mE PendingDeprecationWarning: The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.[0m | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/__init__.py[0m:388: PendingDeprecationWarning | |
[31m[1m_______________________ TestPlotToFrame.test_plot_width ________________________[0m | |
self = <pims.tests.test_display.TestPlotToFrame testMethod=test_plot_width> | |
def test_plot_width(self): | |
width = np.random.randint(100, 1000) | |
> frame = plot_to_frame(self.figures[0], width) | |
[1m[31mpims/tests/test_display.py[0m:69: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31mpims/display.py[0m:702: in plot_to_frame | |
with _fig_size_cntx(fig, fig_size_inches, tight_layout) as fig: | |
[1m[31m/nix/store/0n4y44dnaxafqs7cg625aldrb152x7bx-python3-3.10.10/lib/python3.10/contextlib.py[0m:135: in __enter__ | |
return next(self.gen) | |
[1m[31mpims/display.py[0m:650: in _fig_size_cntx | |
fig.set_tight_layout(tight_layout) | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:199: in wrapper | |
emit_warning() | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:193: in emit_warning | |
warn_deprecated( | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:96: in warn_deprecated | |
warn_external(warning, category=MatplotlibDeprecationWarning) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
message = PendingDeprecationWarning('The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.') | |
category = <class 'matplotlib._api.deprecation.MatplotlibDeprecationWarning'> | |
def warn_external(message, category=None): | |
""" | |
`warnings.warn` wrapper that sets *stacklevel* to "outside Matplotlib". | |
The original emitter of the warning can be obtained by patching this | |
function back to `warnings.warn`, i.e. ``_api.warn_external = | |
warnings.warn`` (or ``functools.partial(warnings.warn, stacklevel=2)``, | |
etc.). | |
""" | |
frame = sys._getframe() | |
for stacklevel in itertools.count(1): # lgtm[py/unused-loop-variable] | |
if frame is None: | |
# when called in embedded context may hit frame is None | |
break | |
if not re.match(r"\A(matplotlib|mpl_toolkits)(\Z|\.(?!tests\.))", | |
# Work around sphinx-gallery not setting __name__. | |
frame.f_globals.get("__name__", "")): | |
break | |
frame = frame.f_back | |
> warnings.warn(message, category, stacklevel) | |
[1m[31mE PendingDeprecationWarning: The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.[0m | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/__init__.py[0m:388: PendingDeprecationWarning | |
[31m[1m__________________ TestPlotToFrame.test_plots_from_generator ___________________[0m | |
self = <pims.tests.test_display.TestPlotToFrame testMethod=test_plots_from_generator> | |
def test_plots_from_generator(self): | |
> frame = plots_to_frame(iter(self.figures)) | |
[1m[31mpims/tests/test_display.py[0m:104: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31mpims/display.py[0m:757: in plots_to_frame | |
im = plot_to_frame(fig, width, close_fig, fig_size_inches, bbox_inches) | |
[1m[31mpims/display.py[0m:702: in plot_to_frame | |
with _fig_size_cntx(fig, fig_size_inches, tight_layout) as fig: | |
[1m[31m/nix/store/0n4y44dnaxafqs7cg625aldrb152x7bx-python3-3.10.10/lib/python3.10/contextlib.py[0m:135: in __enter__ | |
return next(self.gen) | |
[1m[31mpims/display.py[0m:650: in _fig_size_cntx | |
fig.set_tight_layout(tight_layout) | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:199: in wrapper | |
emit_warning() | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:193: in emit_warning | |
warn_deprecated( | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:96: in warn_deprecated | |
warn_external(warning, category=MatplotlibDeprecationWarning) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
message = PendingDeprecationWarning('The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.') | |
category = <class 'matplotlib._api.deprecation.MatplotlibDeprecationWarning'> | |
def warn_external(message, category=None): | |
""" | |
`warnings.warn` wrapper that sets *stacklevel* to "outside Matplotlib". | |
The original emitter of the warning can be obtained by patching this | |
function back to `warnings.warn`, i.e. ``_api.warn_external = | |
warnings.warn`` (or ``functools.partial(warnings.warn, stacklevel=2)``, | |
etc.). | |
""" | |
frame = sys._getframe() | |
for stacklevel in itertools.count(1): # lgtm[py/unused-loop-variable] | |
if frame is None: | |
# when called in embedded context may hit frame is None | |
break | |
if not re.match(r"\A(matplotlib|mpl_toolkits)(\Z|\.(?!tests\.))", | |
# Work around sphinx-gallery not setting __name__. | |
frame.f_globals.get("__name__", "")): | |
break | |
frame = frame.f_back | |
> warnings.warn(message, category, stacklevel) | |
[1m[31mE PendingDeprecationWarning: The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.[0m | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/__init__.py[0m:388: PendingDeprecationWarning | |
[31m[1m______________________ TestPlotToFrame.test_plots_resize _______________________[0m | |
self = <pims.tests.test_display.TestPlotToFrame testMethod=test_plots_resize> | |
def test_plots_resize(self): | |
> frame = plots_to_frame(self.figures, fig_size_inches=(4, 4)) | |
[1m[31mpims/tests/test_display.py[0m:95: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31mpims/display.py[0m:757: in plots_to_frame | |
im = plot_to_frame(fig, width, close_fig, fig_size_inches, bbox_inches) | |
[1m[31mpims/display.py[0m:702: in plot_to_frame | |
with _fig_size_cntx(fig, fig_size_inches, tight_layout) as fig: | |
[1m[31m/nix/store/0n4y44dnaxafqs7cg625aldrb152x7bx-python3-3.10.10/lib/python3.10/contextlib.py[0m:135: in __enter__ | |
return next(self.gen) | |
[1m[31mpims/display.py[0m:650: in _fig_size_cntx | |
fig.set_tight_layout(tight_layout) | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:199: in wrapper | |
emit_warning() | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:193: in emit_warning | |
warn_deprecated( | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:96: in warn_deprecated | |
warn_external(warning, category=MatplotlibDeprecationWarning) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
message = PendingDeprecationWarning('The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.') | |
category = <class 'matplotlib._api.deprecation.MatplotlibDeprecationWarning'> | |
def warn_external(message, category=None): | |
""" | |
`warnings.warn` wrapper that sets *stacklevel* to "outside Matplotlib". | |
The original emitter of the warning can be obtained by patching this | |
function back to `warnings.warn`, i.e. ``_api.warn_external = | |
warnings.warn`` (or ``functools.partial(warnings.warn, stacklevel=2)``, | |
etc.). | |
""" | |
frame = sys._getframe() | |
for stacklevel in itertools.count(1): # lgtm[py/unused-loop-variable] | |
if frame is None: | |
# when called in embedded context may hit frame is None | |
break | |
if not re.match(r"\A(matplotlib|mpl_toolkits)(\Z|\.(?!tests\.))", | |
# Work around sphinx-gallery not setting __name__. | |
frame.f_globals.get("__name__", "")): | |
break | |
frame = frame.f_back | |
> warnings.warn(message, category, stacklevel) | |
[1m[31mE PendingDeprecationWarning: The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.[0m | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/__init__.py[0m:388: PendingDeprecationWarning | |
[31m[1m_______________________ TestPlotToFrame.test_plots_tight _______________________[0m | |
self = <pims.tests.test_display.TestPlotToFrame testMethod=test_plots_tight> | |
def test_plots_tight(self): | |
> frame = plots_to_frame(self.figures, bbox_inches='tight') | |
[1m[31mpims/tests/test_display.py[0m:87: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31mpims/display.py[0m:757: in plots_to_frame | |
im = plot_to_frame(fig, width, close_fig, fig_size_inches, bbox_inches) | |
[1m[31mpims/display.py[0m:702: in plot_to_frame | |
with _fig_size_cntx(fig, fig_size_inches, tight_layout) as fig: | |
[1m[31m/nix/store/0n4y44dnaxafqs7cg625aldrb152x7bx-python3-3.10.10/lib/python3.10/contextlib.py[0m:135: in __enter__ | |
return next(self.gen) | |
[1m[31mpims/display.py[0m:650: in _fig_size_cntx | |
fig.set_tight_layout(tight_layout) | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:199: in wrapper | |
emit_warning() | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:193: in emit_warning | |
warn_deprecated( | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:96: in warn_deprecated | |
warn_external(warning, category=MatplotlibDeprecationWarning) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
message = PendingDeprecationWarning('The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.') | |
category = <class 'matplotlib._api.deprecation.MatplotlibDeprecationWarning'> | |
def warn_external(message, category=None): | |
""" | |
`warnings.warn` wrapper that sets *stacklevel* to "outside Matplotlib". | |
The original emitter of the warning can be obtained by patching this | |
function back to `warnings.warn`, i.e. ``_api.warn_external = | |
warnings.warn`` (or ``functools.partial(warnings.warn, stacklevel=2)``, | |
etc.). | |
""" | |
frame = sys._getframe() | |
for stacklevel in itertools.count(1): # lgtm[py/unused-loop-variable] | |
if frame is None: | |
# when called in embedded context may hit frame is None | |
break | |
if not re.match(r"\A(matplotlib|mpl_toolkits)(\Z|\.(?!tests\.))", | |
# Work around sphinx-gallery not setting __name__. | |
frame.f_globals.get("__name__", "")): | |
break | |
frame = frame.f_back | |
> warnings.warn(message, category, stacklevel) | |
[1m[31mE PendingDeprecationWarning: The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.[0m | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/__init__.py[0m:388: PendingDeprecationWarning | |
[31m[1m_____________________ TestPlotToFrame.test_plots_to_frame ______________________[0m | |
self = <pims.tests.test_display.TestPlotToFrame testMethod=test_plots_to_frame> | |
def test_plots_to_frame(self): | |
> frame = plots_to_frame(self.figures) | |
[1m[31mpims/tests/test_display.py[0m:64: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31mpims/display.py[0m:757: in plots_to_frame | |
im = plot_to_frame(fig, width, close_fig, fig_size_inches, bbox_inches) | |
[1m[31mpims/display.py[0m:702: in plot_to_frame | |
with _fig_size_cntx(fig, fig_size_inches, tight_layout) as fig: | |
[1m[31m/nix/store/0n4y44dnaxafqs7cg625aldrb152x7bx-python3-3.10.10/lib/python3.10/contextlib.py[0m:135: in __enter__ | |
return next(self.gen) | |
[1m[31mpims/display.py[0m:650: in _fig_size_cntx | |
fig.set_tight_layout(tight_layout) | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:199: in wrapper | |
emit_warning() | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:193: in emit_warning | |
warn_deprecated( | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:96: in warn_deprecated | |
warn_external(warning, category=MatplotlibDeprecationWarning) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
message = PendingDeprecationWarning('The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.') | |
category = <class 'matplotlib._api.deprecation.MatplotlibDeprecationWarning'> | |
def warn_external(message, category=None): | |
""" | |
`warnings.warn` wrapper that sets *stacklevel* to "outside Matplotlib". | |
The original emitter of the warning can be obtained by patching this | |
function back to `warnings.warn`, i.e. ``_api.warn_external = | |
warnings.warn`` (or ``functools.partial(warnings.warn, stacklevel=2)``, | |
etc.). | |
""" | |
frame = sys._getframe() | |
for stacklevel in itertools.count(1): # lgtm[py/unused-loop-variable] | |
if frame is None: | |
# when called in embedded context may hit frame is None | |
break | |
if not re.match(r"\A(matplotlib|mpl_toolkits)(\Z|\.(?!tests\.))", | |
# Work around sphinx-gallery not setting __name__. | |
frame.f_globals.get("__name__", "")): | |
break | |
frame = frame.f_back | |
> warnings.warn(message, category, stacklevel) | |
[1m[31mE PendingDeprecationWarning: The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.[0m | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/__init__.py[0m:388: PendingDeprecationWarning | |
[31m[1m_______________________ TestPlotToFrame.test_plots_width _______________________[0m | |
self = <pims.tests.test_display.TestPlotToFrame testMethod=test_plots_width> | |
def test_plots_width(self): | |
width = np.random.randint(100, 1000) | |
> frame = plots_to_frame(self.figures, width) | |
[1m[31mpims/tests/test_display.py[0m:100: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31mpims/display.py[0m:757: in plots_to_frame | |
im = plot_to_frame(fig, width, close_fig, fig_size_inches, bbox_inches) | |
[1m[31mpims/display.py[0m:702: in plot_to_frame | |
with _fig_size_cntx(fig, fig_size_inches, tight_layout) as fig: | |
[1m[31m/nix/store/0n4y44dnaxafqs7cg625aldrb152x7bx-python3-3.10.10/lib/python3.10/contextlib.py[0m:135: in __enter__ | |
return next(self.gen) | |
[1m[31mpims/display.py[0m:650: in _fig_size_cntx | |
fig.set_tight_layout(tight_layout) | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:199: in wrapper | |
emit_warning() | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:193: in emit_warning | |
warn_deprecated( | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/deprecation.py[0m:96: in warn_deprecated | |
warn_external(warning, category=MatplotlibDeprecationWarning) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
message = PendingDeprecationWarning('The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.') | |
category = <class 'matplotlib._api.deprecation.MatplotlibDeprecationWarning'> | |
def warn_external(message, category=None): | |
""" | |
`warnings.warn` wrapper that sets *stacklevel* to "outside Matplotlib". | |
The original emitter of the warning can be obtained by patching this | |
function back to `warnings.warn`, i.e. ``_api.warn_external = | |
warnings.warn`` (or ``functools.partial(warnings.warn, stacklevel=2)``, | |
etc.). | |
""" | |
frame = sys._getframe() | |
for stacklevel in itertools.count(1): # lgtm[py/unused-loop-variable] | |
if frame is None: | |
# when called in embedded context may hit frame is None | |
break | |
if not re.match(r"\A(matplotlib|mpl_toolkits)(\Z|\.(?!tests\.))", | |
# Work around sphinx-gallery not setting __name__. | |
frame.f_globals.get("__name__", "")): | |
break | |
frame = frame.f_back | |
> warnings.warn(message, category, stacklevel) | |
[1m[31mE PendingDeprecationWarning: The set_tight_layout function will be deprecated in a future version. Use set_layout_engine instead.[0m | |
[1m[31m/nix/store/w19ags7fn0h3vf1whck5pg548xan9afg-python3.10-matplotlib-3.7.0/lib/python3.10/site-packages/matplotlib/_api/__init__.py[0m:388: PendingDeprecationWarning | |
[36m[1m=========================== short test summary info ============================[0m | |
[31mFAILED[0m pims/tests/test_display.py::[1mTestPlotToFrame::test_ax_to_frame[0m - PendingDeprecationWarning: The set_tight_layout function will be deprecated... | |
[31mFAILED[0m pims/tests/test_display.py::[1mTestPlotToFrame::test_axes_to_frame[0m - PendingDeprecationWarning: The set_tight_layout function will be deprecated... | |
[31mFAILED[0m pims/tests/test_display.py::[1mTestPlotToFrame::test_plot_resize[0m - PendingDeprecationWarning: The set_tight_layout function will be deprecated... | |
[31mFAILED[0m pims/tests/test_display.py::[1mTestPlotToFrame::test_plot_tight[0m - PendingDeprecationWarning: The set_tight_layout function will be deprecated... | |
[31mFAILED[0m pims/tests/test_display.py::[1mTestPlotToFrame::test_plot_to_frame[0m - PendingDeprecationWarning: The set_tight_layout function will be deprecated... | |
[31mFAILED[0m pims/tests/test_display.py::[1mTestPlotToFrame::test_plot_width[0m - PendingDeprecationWarning: The set_tight_layout function will be deprecated... | |
[31mFAILED[0m pims/tests/test_display.py::[1mTestPlotToFrame::test_plots_from_generator[0m - PendingDeprecationWarning: The set_tight_layout function will be deprecated... | |
[31mFAILED[0m pims/tests/test_display.py::[1mTestPlotToFrame::test_plots_resize[0m - PendingDeprecationWarning: The set_tight_layout function will be deprecated... | |
[31mFAILED[0m pims/tests/test_display.py::[1mTestPlotToFrame::test_plots_tight[0m - PendingDeprecationWarning: The set_tight_layout function will be deprecated... | |
[31mFAILED[0m pims/tests/test_display.py::[1mTestPlotToFrame::test_plots_to_frame[0m - PendingDeprecationWarning: The set_tight_layout function will be deprecated... | |
[31mFAILED[0m pims/tests/test_display.py::[1mTestPlotToFrame::test_plots_width[0m - PendingDeprecationWarning: The set_tight_layout function will be deprecated... | |
[31m==== [31m[1m11 failed[0m, [32m246 passed[0m, [33m260 skipped[0m, [33m17 deselected[0m[31m in 240.95s (0:04:00)[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