>>> py3-imageio: Building testing/py3-imageio 2.10.3-r2 (using abuild 3.10.0_rc1-r2) started Thu, 24 Nov 2022 01:18:13 +0000 >>> py3-imageio: Checking sanity of /home/buildozer/aports/testing/py3-imageio/APKBUILD... >>> py3-imageio: Analyzing dependencies... >>> py3-imageio: Installing for build: build-base python3 py3-numpy py3-pillow freeimage py3-setuptools py3-pytest py3-psutil py3-imageio-ffmpeg (1/97) Installing libbz2 (1.0.8-r4) (2/97) Installing libffi (3.4.4-r0) (3/97) Installing gdbm (1.23-r0) (4/97) Installing xz-libs (5.2.8-r0) (5/97) Installing mpdecimal (2.5.1-r1) (6/97) Installing readline (8.2.0-r0) (7/97) Installing sqlite-libs (3.40.0-r0) (8/97) Installing python3 (3.11.0-r2) (9/97) Installing libquadmath (12.2.1_git20220924-r4) (10/97) Installing libgfortran (12.2.1_git20220924-r4) (11/97) Installing openblas (0.3.21-r0) (12/97) Installing py3-numpy (1.23.5-r0) (13/97) Installing py3-olefile (0.46-r7) (14/97) Installing libpng (1.6.38-r0) (15/97) Installing freetype (2.12.1-r0) (16/97) Installing libimagequant (4.0.4-r0) (17/97) Installing libjpeg-turbo (2.1.4-r0) (18/97) Installing lcms2 (2.14-r0) (19/97) Installing openjpeg (2.5.0-r0) (20/97) Installing libwebp (1.2.4-r1) (21/97) Installing tiff (4.4.0-r1) (22/97) Installing libxau (1.0.10-r0) (23/97) Installing libmd (1.0.4-r0) (24/97) Installing libbsd (0.11.7-r0) (25/97) Installing libxdmcp (1.1.4-r0) (26/97) Installing libxcb (1.15-r0) (27/97) Installing py3-pillow (9.3.0-r1) (28/97) Installing freeimage (3.18.0-r3) (29/97) Installing py3-parsing (3.0.9-r1) (30/97) Installing py3-packaging (21.3-r3) (31/97) Installing py3-setuptools (65.6.2-r0) (32/97) Installing py3-attrs (22.1.0-r1) (33/97) Installing py3-iniconfig (1.1.1-r4) (34/97) Installing py3-pluggy (1.0.0-r2) (35/97) Installing py3-py (1.11.0-r1) (36/97) Installing py3-pytest (7.2.0-r2) (37/97) Installing py3-psutil (5.9.4-r1) (38/97) Installing sdl2 (2.26.0-r0) (39/97) Installing svt-av1-libs (1.3.0-r0) (40/97) Installing libx11 (1.8.2-r0) (41/97) Installing aom-libs (3.5.0-r0) (42/97) Installing alsa-lib (1.2.8-r0) (43/97) Installing fontconfig (2.14.1-r0) (44/97) Installing fribidi (1.0.12-r0) (45/97) Installing libintl (0.21.1-r1) (46/97) Installing libblkid (2.38.1-r1) (47/97) Installing libmount (2.38.1-r1) (48/97) Installing glib (2.74.1-r2) (49/97) Installing graphite2 (1.3.14-r2) (50/97) Installing harfbuzz (5.3.1-r1) (51/97) Installing libass (0.16.0-r0) (52/97) Installing libdav1d (1.0.0-r2) (53/97) Installing hwdata-pci (0.364-r0) (54/97) Installing libpciaccess (0.17-r0) (55/97) Installing libdrm (2.4.114-r0) (56/97) Installing nettle (3.8.1-r0) (57/97) Installing p11-kit (0.24.1-r1) (58/97) Installing libtasn1 (4.19.0-r0) (59/97) Installing libunistring (1.1-r0) (60/97) Installing gnutls (3.7.8-r2) (61/97) Installing lame (3.100-r2) (62/97) Installing opus (1.3.1-r1) (63/97) Installing libasyncns (0.8-r1) (64/97) Installing dbus-libs (1.14.4-r0) (65/97) Installing libltdl (2.4.7-r0) (66/97) Installing orc (0.4.33-r0) (67/97) Installing libogg (1.3.5-r1) (68/97) Installing flac-libs (1.4.2-r0) (69/97) Installing libvorbis (1.3.7-r0) (70/97) Installing libsndfile (1.1.0-r2) (71/97) Installing soxr (0.1.3-r3) (72/97) Installing speexdsp (1.2.1-r0) (73/97) Installing tdb-libs (1.4.7-r1) (74/97) Installing libpulse (16.1-r5) (75/97) Installing mbedtls (2.28.1-r1) (76/97) Installing librist (0.2.7-r0) (77/97) Installing libsrt (1.5.1-r0) (78/97) Installing libssh (0.10.4-r0) (79/97) Installing libtheora (1.1.1-r16) (80/97) Installing v4l-utils-libs (1.22.1-r2) (81/97) Installing libxext (1.3.5-r0) (82/97) Installing libxfixes (6.0.0-r0) (83/97) Installing wayland-libs-client (1.21.0-r1) (84/97) Installing libva (2.16.0-r0) (85/97) Installing libvdpau (1.5-r0) (86/97) Installing vidstab (1.1.0-r2) (87/97) Installing libvpx (1.12.0-r1) (88/97) Installing x264-libs (0.164_git20220602-r0) (89/97) Installing numactl (2.0.16-r0) (90/97) Installing x265-libs (3.5-r3) (91/97) Installing xvidcore (1.3.7-r1) (92/97) Installing libsodium (1.0.18-r2) (93/97) Installing libzmq (4.3.4-r1) (94/97) Installing ffmpeg-libs (5.1.2-r1) (95/97) Installing ffmpeg (5.1.2-r1) (96/97) Installing py3-imageio-ffmpeg (0.4.7-r1) (97/97) Installing .makedepends-py3-imageio (20221124.011815) Executing busybox-1.35.0-r29.trigger OK: 649 MiB in 195 packages >>> py3-imageio: Cleaning up srcdir >>> py3-imageio: Cleaning up pkgdir >>> py3-imageio: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-imageio-2.10.3.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 3301k 0 32768 0 0 172k 0 0:00:19 --:--:-- 0:00:19 172k 100 3301k 100 3301k 0 0 10.8M 0 --:--:-- --:--:-- --:--:-- 10.8M >>> py3-imageio: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-imageio-2.10.3.tar.gz >>> py3-imageio: Checking sha512sums... py3-imageio-2.10.3.tar.gz: OK >>> py3-imageio: Unpacking /var/cache/distfiles/edge/py3-imageio-2.10.3.tar.gz... running build running build_py creating build creating build/lib creating build/lib/imageio copying imageio/testing.py -> build/lib/imageio copying imageio/__init__.py -> build/lib/imageio copying imageio/freeze.py -> build/lib/imageio copying imageio/__main__.py -> build/lib/imageio creating build/lib/imageio/core copying imageio/core/functions.py -> build/lib/imageio/core copying imageio/core/imopen.py -> build/lib/imageio/core copying imageio/core/util.py -> build/lib/imageio/core copying imageio/core/findlib.py -> build/lib/imageio/core copying imageio/core/__init__.py -> build/lib/imageio/core copying imageio/core/v3_api.py -> build/lib/imageio/core copying imageio/core/fetching.py -> build/lib/imageio/core copying imageio/core/format.py -> build/lib/imageio/core copying imageio/core/request.py -> build/lib/imageio/core creating build/lib/imageio/plugins copying imageio/plugins/ffmpeg.py -> build/lib/imageio/plugins copying imageio/plugins/npz.py -> build/lib/imageio/plugins copying imageio/plugins/pillow_info.py -> build/lib/imageio/plugins copying imageio/plugins/gdal.py -> build/lib/imageio/plugins copying imageio/plugins/_bsdf.py -> build/lib/imageio/plugins copying imageio/plugins/pillowmulti.py -> build/lib/imageio/plugins copying imageio/plugins/freeimagemulti.py -> build/lib/imageio/plugins copying imageio/plugins/swf.py -> build/lib/imageio/plugins copying imageio/plugins/pillow.py -> build/lib/imageio/plugins copying imageio/plugins/bsdf.py -> build/lib/imageio/plugins copying imageio/plugins/simpleitk.py -> build/lib/imageio/plugins copying imageio/plugins/grab.py -> build/lib/imageio/plugins copying imageio/plugins/dicom.py -> build/lib/imageio/plugins copying imageio/plugins/spe.py -> build/lib/imageio/plugins copying imageio/plugins/__init__.py -> build/lib/imageio/plugins copying imageio/plugins/example.py -> build/lib/imageio/plugins copying imageio/plugins/_dicom.py -> build/lib/imageio/plugins copying imageio/plugins/fits.py -> build/lib/imageio/plugins copying imageio/plugins/_swf.py -> build/lib/imageio/plugins copying imageio/plugins/pillow_legacy.py -> build/lib/imageio/plugins copying imageio/plugins/feisem.py -> build/lib/imageio/plugins copying imageio/plugins/lytro.py -> build/lib/imageio/plugins copying imageio/plugins/freeimage.py -> build/lib/imageio/plugins copying imageio/plugins/tifffile.py -> build/lib/imageio/plugins copying imageio/plugins/_freeimage.py -> build/lib/imageio/plugins copying imageio/plugins/_tifffile.py -> build/lib/imageio/plugins creating build/lib/imageio/config copying imageio/config/__init__.py -> build/lib/imageio/config copying imageio/config/extensions.py -> build/lib/imageio/config copying imageio/config/plugins.py -> build/lib/imageio/config creating build/lib/imageio/resources copying imageio/resources/shipped_resources_go_here -> build/lib/imageio/resources creating build/lib/imageio/resources/images copying imageio/resources/images/chelsea.png -> build/lib/imageio/resources/images copying imageio/resources/images/stent.npz -> build/lib/imageio/resources/images copying imageio/resources/images/chelsea.zip -> build/lib/imageio/resources/images copying imageio/resources/images/astronaut.png -> build/lib/imageio/resources/images copying imageio/resources/images/newtonscradle.gif -> build/lib/imageio/resources/images copying imageio/resources/images/cockatoo.mp4 -> build/lib/imageio/resources/images copying imageio/resources/images/realshort.mp4 -> build/lib/imageio/resources/images ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.2.0, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /home/buildozer/aports/testing/py3-imageio/src/imageio-2.10.3 collecting ... collected 182 items tests/test_bsdf.py::test_select SKIPPED (No internet) [ 0%] tests/test_bsdf.py::test_not_an_image PASSED [ 1%] tests/test_bsdf.py::test_singleton PASSED [ 1%] tests/test_bsdf.py::test_series PASSED [ 2%] tests/test_bsdf.py::test_series_unclosed PASSED [ 2%] tests/test_bsdf.py::test_random_access PASSED [ 3%] tests/test_bsdf.py::test_volume PASSED [ 3%] tests/test_bsdf.py::test_from_url SKIPPED (No internet) [ 4%] tests/test_core.py::test_fetching SKIPPED (No internet) [ 4%] tests/test_core.py::test_findlib1 SKIPPED (always skip, is tested im...) [ 5%] tests/test_core.py::test_findlib2 SKIPPED (No internet) [ 6%] tests/test_core.py::test_request PASSED [ 6%] tests/test_core.py::test_request_read_sources PASSED [ 7%] tests/test_core.py::test_request_save_sources PASSED [ 7%] tests/test_core.py::test_request_seekable_file_object PASSED [ 8%] tests/test_core.py::test_request_file_no_seek PASSED [ 8%] tests/test_core.py::test_util_image PASSED [ 9%] tests/test_core.py::test_util_dict PASSED [ 9%] tests/test_core.py::test_util_get_platform PASSED [ 10%] tests/test_core.py::test_util_asarray PASSED [ 10%] tests/test_core.py::test_util_progres_bar PASSED [ 11%] tests/test_core.py::test_util_image_as_uint PASSED [ 12%] tests/test_core.py::test_util_has_has_module PASSED [ 12%] tests/test_core.py::test_functions FAILED [ 13%] tests/test_core.py::test_to_nbytes_correct[1-10] PASSED [ 13%] tests/test_core.py::test_to_nbytes_correct[1-11] PASSED [ 14%] tests/test_core.py::test_to_nbytes_correct[8B-8] PASSED [ 14%] tests/test_core.py::test_to_nbytes_correct[1MB-1000000] PASSED [ 15%] tests/test_core.py::test_to_nbytes_correct[1M-1000000] PASSED [ 15%] tests/test_core.py::test_to_nbytes_correct[1GiB-1073741824] PASSED [ 16%] tests/test_core.py::test_to_nbytes_correct[1.5TB-1500000000000.0] PASSED [ 17%] tests/test_core.py::test_to_nbytes_incorrect[1mb] PASSED [ 17%] tests/test_core.py::test_to_nbytes_incorrect[1Giib] PASSED [ 18%] tests/test_core.py::test_to_nbytes_incorrect[GB] PASSED [ 18%] tests/test_core.py::test_to_nbytes_incorrect[1.3.2TB] PASSED [ 19%] tests/test_core.py::test_to_nbytes_incorrect[8b] PASSED [ 19%] tests/test_core.py::test_memtest FAILED [ 20%] tests/test_core.py::test_example_plugin PASSED [ 20%] tests/test_core.py::test_imwrite_not_subclass PASSED [ 21%] tests/test_core.py::test_imwrite_not_array_like PASSED [ 21%] tests/test_core.py::test_imwrite_symbol_name PASSED [ 22%] tests/test_core.py::test_legacy_empty_image PASSED [ 23%] tests/test_core.py::test_imopen_unsupported_iomode PASSED [ 23%] tests/test_core.py::test_imopen_no_plugin_found PASSED [ 24%] tests/test_core.py::test_imopen_unregistered_plugin[.jpg] PASSED [ 24%] tests/test_core.py::test_plugin_selection_failure PASSED [ 25%] tests/test_core.py::test_plugin_selection_success[.jpg] PASSED [ 25%] tests/test_core.py::test_legacy_object_image_writing PASSED [ 26%] tests/test_core.py::test_imiter ERROR [ 26%] tests/test_core.py::test_request_mode_backwards_compatibility PASSED [ 27%] tests/test_core.py::test_faulty_legacy_mode_access PASSED [ 28%] tests/test_core.py::test_mvolread_out_of_bytes PASSED [ 28%] tests/test_core.py::test_invalid_explicit_plugin PASSED [ 29%] tests/test_dicom.py::test_read_empty_dir PASSED [ 29%] tests/test_dicom.py::test_dcmtk PASSED [ 30%] tests/test_dicom.py::test_selection SKIPPED (No internet) [ 30%] tests/test_dicom.py::test_progress SKIPPED (No internet) [ 31%] tests/test_dicom.py::test_different_read_modes SKIPPED (No internet) [ 31%] tests/test_dicom.py::test_different_read_modes_with_readers SKIPPED [ 32%] tests/test_fei_tiff.py::test_fei_file_reading SKIPPED (No internet) [ 32%] tests/test_fei_tiff.py::test_fei_file_fail PASSED [ 33%] tests/test_ffmpeg.py::test_get_exe_installed PASSED [ 34%] tests/test_ffmpeg.py::test_get_exe_env PASSED [ 34%] tests/test_ffmpeg.py::test_select PASSED [ 35%] tests/test_ffmpeg.py::test_integer_reader_length PASSED [ 35%] tests/test_ffmpeg.py::test_read_and_write PASSED [ 36%] tests/test_ffmpeg.py::test_write_not_contiguous PASSED [ 36%] tests/test_ffmpeg.py::test_reader_more PASSED [ 37%] tests/test_ffmpeg.py::test_writer_more PASSED [ 37%] tests/test_ffmpeg.py::test_writer_file_properly_closed PASSED [ 38%] tests/test_ffmpeg.py::test_writer_pixelformat_size_verbose FAILED [ 39%] tests/test_ffmpeg.py::test_writer_ffmpeg_params PASSED [ 39%] tests/test_ffmpeg.py::test_writer_wmv PASSED [ 40%] tests/test_ffmpeg.py::test_framecatcher PASSED [ 40%] tests/test_ffmpeg.py::test_webcam PASSED [ 41%] tests/test_ffmpeg.py::test_webcam_get_next_data SKIPPED (no webcam) [ 41%] tests/test_ffmpeg.py::test_process_termination PASSED [ 42%] tests/test_ffmpeg.py::test_webcam_process_termination SKIPPED (no we...) [ 42%] tests/test_ffmpeg.py::test_reverse_read PASSED [ 43%] tests/test_ffmpeg_info.py::test_webcam_parse_device_names PASSED [ 43%] tests/test_ffmpeg_info.py::test_overload_fps SKIPPED (No internet) [ 44%] tests/test_fits.py::test_fits_format SKIPPED (condition: astropy is ...) [ 45%] tests/test_fits.py::test_fits_reading SKIPPED (condition: astropy is...) [ 45%] tests/test_fits.py::test_fits_get_reader SKIPPED (condition: astropy...) [ 46%] tests/test_format.py::test_format PASSED [ 46%] tests/test_format.py::test_reader_and_writer PASSED [ 47%] tests/test_format.py::test_default_can_read_and_can_write PASSED [ 47%] tests/test_format.py::test_format_selection PASSED [ 48%] tests/test_format.py::test_format_manager PASSED [ 48%] tests/test_format.py::test_sorting_errors PASSED [ 49%] tests/test_format.py::test_default_order PASSED [ 50%] tests/test_format.py::test_preferring_fi PASSED [ 50%] tests/test_format.py::test_preferring_arbitrary PASSED [ 51%] tests/test_freeimage.py::test_get_ref_im SKIPPED (No internet) [ 51%] tests/test_freeimage.py::test_get_fi_lib SKIPPED (No internet) [ 52%] tests/test_freeimage.py::test_freeimage_format SKIPPED (No internet) [ 52%] tests/test_freeimage.py::test_freeimage_lib SKIPPED (No internet) [ 53%] tests/test_freeimage.py::test_png SKIPPED (No internet) [ 53%] tests/test_freeimage.py::test_png_dtypes SKIPPED (No internet) [ 54%] tests/test_freeimage.py::test_jpg SKIPPED (No internet) [ 54%] tests/test_freeimage.py::test_jpg_more SKIPPED (No internet) [ 55%] tests/test_freeimage.py::test_bmp SKIPPED (No internet) [ 56%] tests/test_freeimage.py::test_gif SKIPPED (No internet) [ 56%] tests/test_freeimage.py::test_animated_gif SKIPPED (No internet) [ 57%] tests/test_freeimage.py::test_ico SKIPPED (No internet) [ 57%] tests/test_freeimage.py::test_mng SKIPPED (No internet) [ 58%] tests/test_freeimage.py::test_pnm SKIPPED (No internet) [ 58%] tests/test_freeimage.py::test_other SKIPPED (No internet) [ 59%] tests/test_freeimage.py::test_gamma_correction SKIPPED (No internet) [ 59%] tests/test_gdal.py::test_gdal_reading SKIPPED (condition: gdal is None) [ 60%] tests/test_grab.py::test_grab_plugin_load PASSED [ 60%] tests/test_grab.py::test_grab_simulated PASSED [ 61%] tests/test_lytro.py::test_lytro_lfr_format SKIPPED (No internet) [ 62%] tests/test_lytro.py::test_lytro_illum_raw_format SKIPPED (No internet) [ 62%] tests/test_lytro.py::test_lytro_f01_raw_format SKIPPED (No internet) [ 63%] tests/test_lytro.py::test_lytro_lfp_format SKIPPED (No internet) [ 63%] tests/test_lytro.py::test_lytro_lfr_reading SKIPPED (No internet) [ 64%] tests/test_lytro.py::test_lytro_lfp_reading SKIPPED (No internet) [ 64%] tests/test_lytro.py::test_lytro_raw_illum_reading SKIPPED (No internet) [ 65%] tests/test_lytro.py::test_lytro_raw_f0_reading SKIPPED (No internet) [ 65%] tests/test_meta.py::test_namespace PASSED [ 66%] tests/test_meta.py::test_import_nothing PASSED [ 67%] tests/test_meta.py::test_import_modules PASSED [ 67%] tests/test_npz.py::test_npz_format PASSED [ 68%] tests/test_npz.py::test_npz_reading_writing PASSED [ 68%] tests/test_pillow.py::test_write_single_frame[chelsea.npy-iio.png-pil.png] ERROR [ 69%] tests/test_pillow.py::test_write_single_frame[chelsea.npy-iio.jpg-pil.jpg] ERROR [ 69%] tests/test_pillow.py::test_write_single_frame[chelsea.npy-iio.jpeg-pil.jpg] ERROR [ 70%] tests/test_pillow.py::test_write_single_frame[chelsea.npy-iio.bmp-pil.bmp] ERROR [ 70%] tests/test_pillow.py::test_write_multiframe[newtonscradle_rgb.npy-iio.gif-pil.gif] ERROR [ 71%] tests/test_pillow.py::test_read[chelsea.png-RGB] ERROR [ 71%] tests/test_pillow.py::test_read[chelsea.jpg-RGB] ERROR [ 72%] tests/test_pillow.py::test_read[chelsea.bmp-RGB] ERROR [ 73%] tests/test_pillow.py::test_read[newtonscradle.gif-RGB] ERROR [ 73%] tests/test_pillow.py::test_read[newtonscradle.gif-RGBA] ERROR [ 74%] tests/test_pillow.py::test_gif_legacy_pillow[newtonscradle.gif-RGB] ERROR [ 74%] tests/test_pillow.py::test_gif_legacy_pillow[newtonscradle.gif-RGBA] ERROR [ 75%] tests/test_pillow.py::test_png_compression ERROR [ 75%] tests/test_pillow.py::test_png_quantization ERROR [ 76%] tests/test_pillow.py::test_png_16bit ERROR [ 76%] tests/test_pillow.py::test_png_remote FAILED [ 77%] tests/test_pillow.py::test_png_transparent_pixel ERROR [ 78%] tests/test_pillow.py::test_png_gamma_correction ERROR [ 78%] tests/test_pillow.py::test_jpg_compression ERROR [ 79%] tests/test_pillow.py::test_exif_orientation ERROR [ 79%] tests/test_pillow.py::test_gif_rgb_vs_rgba ERROR [ 80%] tests/test_pillow.py::test_gif_gray ERROR [ 80%] tests/test_pillow.py::test_gif_irregular_duration ERROR [ 81%] tests/test_pillow.py::test_gif_palletsize ERROR [ 81%] tests/test_pillow.py::test_gif_loop_and_fps ERROR [ 82%] tests/test_pillow.py::test_gif_indexed_read ERROR [ 82%] tests/test_pillow.py::test_unknown_image ERROR [ 83%] tests/test_pillow.py::test_gif_transparent_pixel ERROR [ 84%] tests/test_pillow.py::test_legacy_exif_orientation ERROR [ 84%] tests/test_pillow.py::test_incomatible_write_format PASSED [ 85%] tests/test_pillow.py::test_write_to_bytes PASSED [ 85%] tests/test_pillow.py::test_write_to_bytes_rgba PASSED [ 86%] tests/test_pillow.py::test_write_to_bytes_imwrite PASSED [ 86%] tests/test_pillow.py::test_write_to_bytes_jpg PASSED [ 87%] tests/test_pillow_legacy.py::test_pillow_format PASSED [ 87%] tests/test_pillow_legacy.py::test_png FAILED [ 88%] tests/test_pillow_legacy.py::test_png_remote SKIPPED (No internet) [ 89%] tests/test_pillow_legacy.py::test_jpg PASSED [ 89%] tests/test_pillow_legacy.py::test_jpg_more SKIPPED (No internet) [ 90%] tests/test_pillow_legacy.py::test_gif PASSED [ 90%] tests/test_pillow_legacy.py::test_animated_gif FAILED [ 91%] tests/test_pillow_legacy.py::test_images_with_transparency SKIPPED (...) [ 91%] tests/test_pillow_legacy.py::test_gamma_correction SKIPPED (No internet) [ 92%] tests/test_pillow_legacy.py::test_inside_zipfile SKIPPED (No internet) [ 92%] tests/test_pillow_legacy.py::test_bmp SKIPPED (No internet) [ 93%] tests/test_pillow_legacy.py::test_scipy_imread_compat PASSED [ 93%] tests/test_simpleitk.py::test_simpleitk_reading_writing SKIPPED (con...) [ 94%] tests/test_spe.py::test_spe_format PASSED [ 95%] tests/test_spe.py::test_spe_reading SKIPPED (No internet) [ 95%] tests/test_swf.py::test_format_selection SKIPPED (No internet) [ 96%] tests/test_swf.py::test_reading_saving SKIPPED (No internet) [ 96%] tests/test_swf.py::test_read_from_url SKIPPED (No internet) [ 97%] tests/test_swf.py::test_invalid SKIPPED (No internet) [ 97%] tests/test_swf.py::test_lowlevel SKIPPED (No internet) [ 98%] tests/test_swf.py::test_types SKIPPED (No internet) [ 98%] tests/test_tifffile.py::test_tifffile_format PASSED [ 99%] tests/test_tifffile.py::test_tifffile_reading_writing SKIPPED (No in...) [100%] ==================================== ERRORS ==================================== ________________________ ERROR at setup of test_imiter _________________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ---------------------------- Captured stderr setup ----------------------------- Cloning into '.'... ____ ERROR at setup of test_write_single_frame[chelsea.npy-iio.png-pil.png] ____ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ____ ERROR at setup of test_write_single_frame[chelsea.npy-iio.jpg-pil.jpg] ____ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ___ ERROR at setup of test_write_single_frame[chelsea.npy-iio.jpeg-pil.jpg] ____ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ____ ERROR at setup of test_write_single_frame[chelsea.npy-iio.bmp-pil.bmp] ____ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _ ERROR at setup of test_write_multiframe[newtonscradle_rgb.npy-iio.gif-pil.gif] _ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _________________ ERROR at setup of test_read[chelsea.png-RGB] _________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _________________ ERROR at setup of test_read[chelsea.jpg-RGB] _________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _________________ ERROR at setup of test_read[chelsea.bmp-RGB] _________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ______________ ERROR at setup of test_read[newtonscradle.gif-RGB] ______________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _____________ ERROR at setup of test_read[newtonscradle.gif-RGBA] ______________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _______ ERROR at setup of test_gif_legacy_pillow[newtonscradle.gif-RGB] ________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _______ ERROR at setup of test_gif_legacy_pillow[newtonscradle.gif-RGBA] _______ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ____________________ ERROR at setup of test_png_compression ____________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ___________________ ERROR at setup of test_png_quantization ____________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _______________________ ERROR at setup of test_png_16bit _______________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _________________ ERROR at setup of test_png_transparent_pixel _________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _________________ ERROR at setup of test_png_gamma_correction __________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ____________________ ERROR at setup of test_jpg_compression ____________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ___________________ ERROR at setup of test_exif_orientation ____________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ____________________ ERROR at setup of test_gif_rgb_vs_rgba ____________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _______________________ ERROR at setup of test_gif_gray ________________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ________________ ERROR at setup of test_gif_irregular_duration _________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ____________________ ERROR at setup of test_gif_palletsize _____________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ___________________ ERROR at setup of test_gif_loop_and_fps ____________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ___________________ ERROR at setup of test_gif_indexed_read ____________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _____________________ ERROR at setup of test_unknown_image _____________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError _________________ ERROR at setup of test_gif_transparent_pixel _________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError ________________ ERROR at setup of test_legacy_exif_orientation ________________ tmp_dir = PosixPath('/tmp/pytest-of-buildozer/pytest-528') @pytest.fixture def image_files(tmp_dir): # create a copy of the test images for the actual tests # not avoid interaction between tests image_dir = tmp_dir / "image_cache" / "test-images" data_dir = tmp_dir / "data" data_dir.mkdir(exist_ok=True) > for item in image_dir.iterdir(): tests/conftest.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images') def iterdir(self): """Iterate over the files in this directory. Does not yield any result for the special paths '.' and '..'. """ > for name in os.listdir(self): E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-buildozer/pytest-528/image_cache/test-images' /usr/lib/python3.11/pathlib.py:931: FileNotFoundError =================================== FAILURES =================================== ________________________________ test_functions ________________________________ def test_functions(): """Test the user-facing API functions""" # Test help(), it prints stuff, so we just check whether that goes ok imageio.help() # should print overview imageio.help("PNG") # should print about PNG fname1 = get_remote_file("images/chelsea.png", test_dir) fname2 = fname1[:-3] + "jpg" fname3 = fname1[:-3] + "notavalidext" open(fname3, "wb") # Test read() R1 = imageio.read(fname1) R2 = imageio.read(fname1, "png") assert R1.format is R2.format # Fail raises(ValueError, imageio.read, fname3) # existing but not readable raises(FileNotFoundError, imageio.read, "notexisting.barf") raises(IndexError, imageio.read, fname1, "notexistingformat") # Test save() W1 = imageio.save(fname2) W2 = imageio.save(fname2, "JPG") W1.close() W2.close() assert W1.format is W2.format # Fail raises(FileNotFoundError, imageio.save, "~/dirdoesnotexist/wtf.notexistingfile") # Test imread() im1 = imageio.imread(fname1) im2 = imageio.imread(fname1, "png") assert im1.shape[2] == 3 assert np.all(im1 == im2) # Test imsave() if os.path.isfile(fname2): os.remove(fname2) assert not os.path.isfile(fname2) imageio.imsave(fname2, im1[:, :, 0]) imageio.imsave(fname2, im1) assert os.path.isfile(fname2) # Test mimread() fname3 = get_remote_file("images/newtonscradle.gif", test_dir) > ims = imageio.mimread(fname3) tests/test_core.py:636: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib/imageio/core/functions.py:247: in mimread for image in file.iter(**kwargs): build/lib/imageio/core/imopen.py:350: in iter reader = self.legacy_get_reader(**kwargs) build/lib/imageio/core/imopen.py:242: in legacy_get_reader return self._plugin.get_reader(req) build/lib/imageio/core/format.py:163: in get_reader return self.Reader(self, request) build/lib/imageio/core/format.py:213: in __init__ self._open(**self.request.kwargs.copy()) build/lib/imageio/plugins/pillow_legacy.py:300: in _open as_gray=as_gray, is_gray=_palette_is_grayscale(self._im) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pil_image = def _palette_is_grayscale(pil_image): if pil_image.mode != "P": return False elif pil_image.info.get("transparency", None): # see issue #475 return False # get palette as an array with R, G, B columns > palette = np.asarray(pil_image.getpalette()).reshape((256, 3)) E ValueError: cannot reshape array of size 384 into shape (256,3) build/lib/imageio/plugins/pillow_legacy.py:671: ValueError ----------------------------- Captured stdout call ----------------------------- TIFF - TIFF format [.tif, .tiff, .stk, .lsm] FITS - Flexible Image Transport System (FITS) format [.fits, .fit, .fts, .fz] BMP-PIL - Windows Bitmap [.bmp] BUFR-PIL - BUFR [.bufr] CUR-PIL - Windows Cursor [.cur] DCX-PIL - Intel DCX [.dcx] DDS-PIL - DirectDraw Surface [.dds] DIB-PIL - Windows Bitmap [] EPS-PIL - Encapsulated Postscript [.ps, .eps] FITS-PIL - FITS [.fit, .fits] FLI-PIL - Autodesk FLI/FLC Animation [.fli, .flc] FPX-PIL - FlashPix [.fpx] FTEX-PIL - Texture File Format (IW2:EOC) [.ftc, .ftu] GBR-PIL - GIMP brush file [.gbr] GIF-PIL - Static and animated gif (Pillow) [.gif] GRIB-PIL - GRIB [.grib] HDF5-PIL - HDF5 [.h5, .hdf] ICNS-PIL - Mac OS icns resource [.icns] ICO-PIL - Windows Icon [.ico] IM-PIL - IFUNC Image Memory [.im] IMT-PIL - IM Tools [] IPTC-PIL - IPTC/NAA [.iim] JPEG-PIL - JPEG (ISO 10918) [.jfif, .jpe, .jpg, .jpeg] JPEG2000-PIL - JPEG 2000 (ISO 15444) [.jp2, .j2k, .jpc, .jpf, .jpx, .j2c] MCIDAS-PIL - McIdas area file [] MIC-PIL - Microsoft Image Composer [.mic] MPO-PIL - MPO (CIPA DC-007) [.mpo] MSP-PIL - Windows Paint [.msp] PCD-PIL - Kodak PhotoCD [.pcd] PCX-PIL - Paintbrush [.pcx] PIXAR-PIL - PIXAR raster image [.pxr] PNG-PIL - Portable network graphics [.png] PPM-PIL - Pbmplus image [.pbm, .pgm, .ppm] PSD-PIL - Adobe Photoshop [.psd] SGI-PIL - SGI Image File Format [.bw, .rgb, .rgba, .sgi] SPIDER-PIL - Spider 2D image [] SUN-PIL - Sun Raster File [.ras] TGA-PIL - Targa [.tga] TIFF-PIL - TIFF format (Pillow) [.tif, .tiff] WMF-PIL - Windows Metafile [.wmf, .emf] XBM-PIL - X11 Bitmap [.xbm] XPM-PIL - X11 Pixel Map [.xpm] XVTHUMB-PIL - XV thumbnail image [] SCREENGRAB - Grab screenshots (Windows and OS X only) [] CLIPBOARDGRAB - Grab from clipboard (Windows only) [] BMP-FI - Windows or OS/2 Bitmap [.bmp] CUT-FI - Dr. Halo [.cut] DDS-FI - DirectX Surface [.dds] EXR-FI - ILM OpenEXR [.exr] G3-FI - Raw fax format CCITT G.3 [.g3] HDR-FI - High Dynamic Range Image [.hdr] IFF-FI - IFF Interleaved Bitmap [.iff, .lbm] J2K-FI - JPEG-2000 codestream [.j2k, .j2c] JNG-FI - JPEG Network Graphics [.jng] JP2-FI - JPEG-2000 File Format [.jp2] JPEG-FI - JPEG - JFIF Compliant [.jpg, .jif, .jpeg, .jpe] JPEG-XR-FI - JPEG XR image format [.jxr, .wdp, .hdp] KOALA-FI - C64 Koala Graphics [.koa] PBM-FI - Portable Bitmap (ASCII) [.pbm] PBMRAW-FI - Portable Bitmap (RAW) [.pbm] PCD-FI - Kodak PhotoCD [.pcd] PCX-FI - Zsoft Paintbrush [.pcx] PFM-FI - Portable floatmap [.pfm] PGM-FI - Portable Greymap (ASCII) [.pgm] PGMRAW-FI - Portable Greymap (RAW) [.pgm] PICT-FI - Macintosh PICT [.pct, .pict, .pic] PNG-FI - Portable Network Graphics [.png] PPM-FI - Portable Pixelmap (ASCII) [.ppm] PPMRAW-FI - Portable Pixelmap (RAW) [.ppm] PSD-FI - Adobe Photoshop [.psd] RAS-FI - Sun Raster Image [.ras] RAW-FI - RAW camera image [.3fr, .arw, .bay, .bmq, .cap, .cine, .cr2, .crw, .cs1, .dc2, .dcr, .drf, .dsc, .dng, .erf, .fff, .ia, .iiq, .k25, .kc2, .kdc, .mdc, .mef, .mos, .mrw, .nef, .nrw, .orf, .pef, .ptx, .pxn, .qtk, .raf, .raw, .rdc, .rw2, .rwl, .rwz, .sr2, .srf, .srw, .sti] SGI-FI - SGI Image Format [.sgi, .rgb, .rgba, .bw] TARGA-FI - Truevision Targa [.tga, .targa] TIFF-FI - Tagged Image File Format [.tif, .tiff] WBMP-FI - Wireless Bitmap [.wap, .wbmp, .wbm] WEBP-FI - Google WebP image format [.webp] XBM-FI - X11 Bitmap Format [.xbm] XPM-FI - X11 Pixmap Format [.xpm] ICO-FI - Windows icon [.ico] GIF-FI - Static and animated gif (FreeImage) [.gif] FFMPEG - Many video formats and cameras (via ffmpeg) [.mov, .avi, .mpg, .mpeg, .mp4, .mkv, .webm, .wmv] BSDF - Format based on the Binary Structured Data Format [.bsdf] DICOM - Digital Imaging and Communications in Medicine [.dcm, .ct, .mri] NPZ - Numpy's compressed array format [.npz] SWF - Shockwave flash [.swf] FEI - FEI-SEM TIFF format [.tif, .tiff] ITK - Insight Segmentation and Registration Toolkit (ITK) format [.gipl, .ipl, .mha, .mhd, .nhdr, .nia, .hdr, .nrrd, .nii, .nii.gz, .img, .img.gz, .vtk, .hdf5, .lsm, .mnc, .mnc2, .mgh, .mnc, .pic, .bmp, .jpeg, .jpg, .png, .tiff, .tif, .dicom, .dcm, .gdcm] GDAL - Geospatial Data Abstraction Library [.tiff, .tif, .img, .ecw, .jpg, .jpeg] LYTRO-LFR - Lytro Illum lfr image file [.lfr] LYTRO-ILLUM-RAW - Lytro Illum raw image file [.raw] LYTRO-LFP - Lytro F01 lfp image file [.lfp] LYTRO-F01-RAW - Lytro F01 raw image file [.raw] SPE - SPE file format [.spe] DUMMY - An example format that does nothing. [.foobar, .nonexistentext] PNG-PIL - Portable network graphics See :mod:`imageio.plugins.pillow_legacy` _________________________________ test_memtest _________________________________ def test_memtest(): fname3 = get_remote_file("images/newtonscradle.gif", test_dir) > imageio.mimread(fname3) # trivial case tests/test_core.py:725: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib/imageio/core/functions.py:247: in mimread for image in file.iter(**kwargs): build/lib/imageio/core/imopen.py:350: in iter reader = self.legacy_get_reader(**kwargs) build/lib/imageio/core/imopen.py:242: in legacy_get_reader return self._plugin.get_reader(req) build/lib/imageio/core/format.py:163: in get_reader return self.Reader(self, request) build/lib/imageio/core/format.py:213: in __init__ self._open(**self.request.kwargs.copy()) build/lib/imageio/plugins/pillow_legacy.py:300: in _open as_gray=as_gray, is_gray=_palette_is_grayscale(self._im) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pil_image = def _palette_is_grayscale(pil_image): if pil_image.mode != "P": return False elif pil_image.info.get("transparency", None): # see issue #475 return False # get palette as an array with R, G, B columns > palette = np.asarray(pil_image.getpalette()).reshape((256, 3)) E ValueError: cannot reshape array of size 384 into shape (256,3) build/lib/imageio/plugins/pillow_legacy.py:671: ValueError _____________________ test_writer_pixelformat_size_verbose _____________________ tmpdir = local('/tmp/pytest-of-buildozer/pytest-528/test_writer_pixelformat_size_v0') def test_writer_pixelformat_size_verbose(tmpdir): # Check that video pixel format and size get written as expected. # Make sure verbose option works and that default pixelformat is yuv420p tmpf = tmpdir.join("test.mp4") W = imageio.get_writer(str(tmpf), ffmpeg_log_level="warning") nframes = 4 # Number of frames in video for i in range(nframes): # Use size divisible by 16 or it gets changed. W.append_data(np.zeros((64, 64, 3), np.uint8)) W.close() # Check that video is correct size & default output video pixel format # is correct W = imageio.get_reader(str(tmpf)) assert W.count_frames() == nframes assert W._meta["size"] == (64, 64) > assert "yuv420p" == W._meta["pix_fmt"] E AssertionError: assert 'yuv420p' == 'yuv420p(progressive)' E - yuv420p(progressive) E + yuv420p tests/test_ffmpeg.py:341: AssertionError _______________________________ test_png_remote ________________________________ def test_png_remote(): # issue #202 url = "https://github.com/imageio/imageio-binaries/blob/master/test-images/chelsea.png?raw=true" > im = iio.v3.imread(url, plugin="pillow") tests/test_pillow.py:186: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib/imageio/core/v3_api.py:39: in imread with imopen_core()(uri, "r", **plugin_kwargs) as img_file: build/lib/imageio/core/imopen.py:92: in __call__ plugin_instance = candidate_plugin(request, **kwargs) build/lib/imageio/plugins/pillow.py:122: in __init__ with Image.open(request.get_file()): build/lib/imageio/core/request.py:473: in get_file self._file = urlopen(self.filename, timeout=float(timeout)) build/lib/imageio/core/util.py:34: in urlopen return urlopen(*args, **kwargs) /usr/lib/python3.11/urllib/request.py:216: in urlopen return opener.open(url, data, timeout) /usr/lib/python3.11/urllib/request.py:525: in open response = meth(req, response) /usr/lib/python3.11/urllib/request.py:634: in http_response response = self.parent.error( /usr/lib/python3.11/urllib/request.py:563: in error return self._call_chain(*args) /usr/lib/python3.11/urllib/request.py:496: in _call_chain result = func(*args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = req = fp = , code = 404 msg = 'Not Found', hdrs = def http_error_default(self, req, fp, code, msg, hdrs): > raise HTTPError(req.full_url, code, msg, hdrs, fp) E urllib.error.HTTPError: HTTP Error 404: Not Found /usr/lib/python3.11/urllib/request.py:643: HTTPError ___________________________________ test_png ___________________________________ def test_png(): for isfloat in (False, True): for crop in (0, 1, 2): for colors in (0, 1, 3, 4): fname = fnamebase + "%i.%i.%i.png" % (isfloat, crop, colors) rim = get_ref_im(colors, crop, isfloat) imageio.imsave(fname, rim) im = imageio.imread(fname) mul = 255 if isfloat else 1 assert_close(rim * mul, im, 0.1) # lossless # Parameters im = imageio.imread("imageio:chelsea.png", ignoregamma=True) imageio.imsave(fnamebase + ".png", im, interlaced=True) # Parameter fail raises(TypeError, imageio.imread, "imageio:chelsea.png", notavalidk=True) raises(TypeError, imageio.imsave, fnamebase + ".png", im, notavalidk=True) # Compression imageio.imsave(fnamebase + "1.png", im, compression=0) imageio.imsave(fnamebase + "2.png", im, compression=9) s1 = os.stat(fnamebase + "1.png").st_size s2 = os.stat(fnamebase + "2.png").st_size assert s2 < s1 # Fail raises(ValueError, imageio.imsave, fnamebase + ".png", im, compression=12) # Quantize imageio.imsave(fnamebase + "1.png", im, quantize=256) imageio.imsave(fnamebase + "2.png", im, quantize=4) > im = imageio.imread(fnamebase + "2.png") # touch palette read code tests/test_pillow_legacy.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib/imageio/core/functions.py:159: in imread return file.read(index=0, **kwargs) build/lib/imageio/core/imopen.py:263: in read reader = self.legacy_get_reader(**kwargs) build/lib/imageio/core/imopen.py:242: in legacy_get_reader return self._plugin.get_reader(req) build/lib/imageio/core/format.py:163: in get_reader return self.Reader(self, request) build/lib/imageio/core/format.py:213: in __init__ self._open(**self.request.kwargs.copy()) build/lib/imageio/plugins/pillow_legacy.py:391: in _open return PillowFormat.Reader._open(self, pilmode=pilmode, as_gray=as_gray) build/lib/imageio/plugins/pillow_legacy.py:300: in _open as_gray=as_gray, is_gray=_palette_is_grayscale(self._im) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pil_image = def _palette_is_grayscale(pil_image): if pil_image.mode != "P": return False elif pil_image.info.get("transparency", None): # see issue #475 return False # get palette as an array with R, G, B columns > palette = np.asarray(pil_image.getpalette()).reshape((256, 3)) E ValueError: cannot reshape array of size 12 into shape (256,3) build/lib/imageio/plugins/pillow_legacy.py:671: ValueError ------------------------------ Captured log call ------------------------------- WARNING imageio:util.py:42 Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. WARNING imageio:util.py:42 Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. WARNING imageio:util.py:42 Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. WARNING imageio:util.py:42 Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. WARNING imageio:util.py:42 Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. WARNING imageio:util.py:42 Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. WARNING imageio:util.py:42 Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. WARNING imageio:util.py:42 Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. WARNING imageio:util.py:42 Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. WARNING imageio:util.py:42 Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. WARNING imageio:util.py:42 Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. WARNING imageio:util.py:42 Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning. WARNING imageio.plugins.pillow_legacy:pillow_legacy.py:432 PIL PNG writer cannot produce interlaced images. ______________________________ test_animated_gif _______________________________ def test_animated_gif(): # Read newton's cradle > ims = imageio.mimread("imageio:newtonscradle.gif") tests/test_pillow_legacy.py:265: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build/lib/imageio/core/functions.py:247: in mimread for image in file.iter(**kwargs): build/lib/imageio/core/imopen.py:350: in iter reader = self.legacy_get_reader(**kwargs) build/lib/imageio/core/imopen.py:242: in legacy_get_reader return self._plugin.get_reader(req) build/lib/imageio/core/format.py:163: in get_reader return self.Reader(self, request) build/lib/imageio/core/format.py:213: in __init__ self._open(**self.request.kwargs.copy()) build/lib/imageio/plugins/pillow_legacy.py:300: in _open as_gray=as_gray, is_gray=_palette_is_grayscale(self._im) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pil_image = def _palette_is_grayscale(pil_image): if pil_image.mode != "P": return False elif pil_image.info.get("transparency", None): # see issue #475 return False # get palette as an array with R, G, B columns > palette = np.asarray(pil_image.getpalette()).reshape((256, 3)) E ValueError: cannot reshape array of size 384 into shape (256,3) build/lib/imageio/plugins/pillow_legacy.py:671: ValueError =============================== warnings summary =============================== tests/test_ffmpeg.py::test_framecatcher /home/buildozer/aports/testing/py3-imageio/src/imageio-2.10.3/build/lib/imageio/plugins/ffmpeg.py:644: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self.setDaemon(True) # do not let this thread hold up Python shutdown -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_core.py::test_functions - ValueError: cannot reshape array ... FAILED tests/test_core.py::test_memtest - ValueError: cannot reshape array of... FAILED tests/test_ffmpeg.py::test_writer_pixelformat_size_verbose - Assertion... FAILED tests/test_pillow.py::test_png_remote - urllib.error.HTTPError: HTTP E... FAILED tests/test_pillow_legacy.py::test_png - ValueError: cannot reshape arr... FAILED tests/test_pillow_legacy.py::test_animated_gif - ValueError: cannot re... ERROR tests/test_core.py::test_imiter - FileNotFoundError: [Errno 2] No such ... ERROR tests/test_pillow.py::test_write_single_frame[chelsea.npy-iio.png-pil.png] ERROR tests/test_pillow.py::test_write_single_frame[chelsea.npy-iio.jpg-pil.jpg] ERROR tests/test_pillow.py::test_write_single_frame[chelsea.npy-iio.jpeg-pil.jpg] ERROR tests/test_pillow.py::test_write_single_frame[chelsea.npy-iio.bmp-pil.bmp] ERROR tests/test_pillow.py::test_write_multiframe[newtonscradle_rgb.npy-iio.gif-pil.gif] ERROR tests/test_pillow.py::test_read[chelsea.png-RGB] - FileNotFoundError: [... ERROR tests/test_pillow.py::test_read[chelsea.jpg-RGB] - FileNotFoundError: [... ERROR tests/test_pillow.py::test_read[chelsea.bmp-RGB] - FileNotFoundError: [... ERROR tests/test_pillow.py::test_read[newtonscradle.gif-RGB] - FileNotFoundEr... ERROR tests/test_pillow.py::test_read[newtonscradle.gif-RGBA] - FileNotFoundE... ERROR tests/test_pillow.py::test_gif_legacy_pillow[newtonscradle.gif-RGB] - F... ERROR tests/test_pillow.py::test_gif_legacy_pillow[newtonscradle.gif-RGBA] - ... ERROR tests/test_pillow.py::test_png_compression - FileNotFoundError: [Errno ... ERROR tests/test_pillow.py::test_png_quantization - FileNotFoundError: [Errno... ERROR tests/test_pillow.py::test_png_16bit - FileNotFoundError: [Errno 2] No ... ERROR tests/test_pillow.py::test_png_transparent_pixel - FileNotFoundError: [... ERROR tests/test_pillow.py::test_png_gamma_correction - FileNotFoundError: [E... ERROR tests/test_pillow.py::test_jpg_compression - FileNotFoundError: [Errno ... ERROR tests/test_pillow.py::test_exif_orientation - FileNotFoundError: [Errno... ERROR tests/test_pillow.py::test_gif_rgb_vs_rgba - FileNotFoundError: [Errno ... ERROR tests/test_pillow.py::test_gif_gray - FileNotFoundError: [Errno 2] No s... ERROR tests/test_pillow.py::test_gif_irregular_duration - FileNotFoundError: ... ERROR tests/test_pillow.py::test_gif_palletsize - FileNotFoundError: [Errno 2... ERROR tests/test_pillow.py::test_gif_loop_and_fps - FileNotFoundError: [Errno... ERROR tests/test_pillow.py::test_gif_indexed_read - FileNotFoundError: [Errno... ERROR tests/test_pillow.py::test_unknown_image - FileNotFoundError: [Errno 2]... ERROR tests/test_pillow.py::test_gif_transparent_pixel - FileNotFoundError: [... ERROR tests/test_pillow.py::test_legacy_exif_orientation - FileNotFoundError:... ======= 6 failed, 91 passed, 56 skipped, 1 warning, 29 errors in 49.80s ======== >>> ERROR: py3-imageio: check failed >>> py3-imageio: Uninstalling dependencies... (1/97) Purging .makedepends-py3-imageio (20221124.011815) (2/97) Purging py3-numpy (1.23.5-r0) (3/97) Purging py3-pillow (9.3.0-r1) (4/97) Purging py3-olefile (0.46-r7) (5/97) Purging freeimage (3.18.0-r3) (6/97) Purging py3-pytest (7.2.0-r2) (7/97) Purging py3-attrs (22.1.0-r1) (8/97) Purging py3-iniconfig (1.1.1-r4) (9/97) Purging py3-pluggy (1.0.0-r2) (10/97) Purging py3-py (1.11.0-r1) (11/97) Purging py3-psutil (5.9.4-r1) (12/97) Purging py3-imageio-ffmpeg (0.4.7-r1) (13/97) Purging ffmpeg (5.1.2-r1) (14/97) Purging py3-setuptools (65.6.2-r0) (15/97) Purging py3-packaging (21.3-r3) (16/97) Purging py3-parsing (3.0.9-r1) (17/97) Purging python3 (3.11.0-r2) (18/97) Purging ffmpeg-libs (5.1.2-r1) (19/97) Purging libass (0.16.0-r0) (20/97) Purging harfbuzz (5.3.1-r1) (21/97) Purging fontconfig (2.14.1-r0) (22/97) Purging freetype (2.12.1-r0) (23/97) Purging libbz2 (1.0.8-r4) (24/97) Purging glib (2.74.1-r2) (25/97) Purging libva (2.16.0-r0) (26/97) Purging wayland-libs-client (1.21.0-r1) (27/97) Purging gnutls (3.7.8-r2) (28/97) Purging p11-kit (0.24.1-r1) (29/97) Purging libffi (3.4.4-r0) (30/97) Purging gdbm (1.23-r0) (31/97) Purging tiff (4.4.0-r1) (32/97) Purging xz-libs (5.2.8-r0) (33/97) Purging mpdecimal (2.5.1-r1) (34/97) Purging readline (8.2.0-r0) (35/97) Purging sqlite-libs (3.40.0-r0) (36/97) Purging openblas (0.3.21-r0) (37/97) Purging libgfortran (12.2.1_git20220924-r4) (38/97) Purging libquadmath (12.2.1_git20220924-r4) (39/97) Purging libpng (1.6.38-r0) (40/97) Purging libimagequant (4.0.4-r0) (41/97) Purging v4l-utils-libs (1.22.1-r2) (42/97) Purging libjpeg-turbo (2.1.4-r0) (43/97) Purging lcms2 (2.14-r0) (44/97) Purging openjpeg (2.5.0-r0) (45/97) Purging libwebp (1.2.4-r1) (46/97) Purging libpulse (16.1-r5) (47/97) Purging libvdpau (1.5-r0) (48/97) Purging libxext (1.3.5-r0) (49/97) Purging libxfixes (6.0.0-r0) (50/97) Purging libx11 (1.8.2-r0) (51/97) Purging libxcb (1.15-r0) (52/97) Purging libxau (1.0.10-r0) (53/97) Purging libxdmcp (1.1.4-r0) (54/97) Purging libbsd (0.11.7-r0) (55/97) Purging libmd (1.0.4-r0) (56/97) Purging sdl2 (2.26.0-r0) (57/97) Purging svt-av1-libs (1.3.0-r0) (58/97) Purging aom-libs (3.5.0-r0) (59/97) Purging libsndfile (1.1.0-r2) (60/97) Purging alsa-lib (1.2.8-r0) (61/97) Purging fribidi (1.0.12-r0) (62/97) Purging libintl (0.21.1-r1) (63/97) Purging libmount (2.38.1-r1) (64/97) Purging libblkid (2.38.1-r1) (65/97) Purging graphite2 (1.3.14-r2) (66/97) Purging libdav1d (1.0.0-r2) (67/97) Purging libdrm (2.4.114-r0) (68/97) Purging libpciaccess (0.17-r0) (69/97) Purging hwdata-pci (0.364-r0) (70/97) Purging nettle (3.8.1-r0) (71/97) Purging libtasn1 (4.19.0-r0) (72/97) Purging libunistring (1.1-r0) (73/97) Purging lame (3.100-r2) (74/97) Purging opus (1.3.1-r1) (75/97) Purging libasyncns (0.8-r1) (76/97) Purging dbus-libs (1.14.4-r0) (77/97) Purging libltdl (2.4.7-r0) (78/97) Purging orc (0.4.33-r0) (79/97) Purging libtheora (1.1.1-r16) (80/97) Purging libvorbis (1.3.7-r0) (81/97) Purging flac-libs (1.4.2-r0) (82/97) Purging libogg (1.3.5-r1) (83/97) Purging soxr (0.1.3-r3) (84/97) Purging speexdsp (1.2.1-r0) (85/97) Purging tdb-libs (1.4.7-r1) (86/97) Purging librist (0.2.7-r0) (87/97) Purging mbedtls (2.28.1-r1) (88/97) Purging libsrt (1.5.1-r0) (89/97) Purging libssh (0.10.4-r0) (90/97) Purging vidstab (1.1.0-r2) (91/97) Purging libvpx (1.12.0-r1) (92/97) Purging x264-libs (0.164_git20220602-r0) (93/97) Purging x265-libs (3.5-r3) (94/97) Purging numactl (2.0.16-r0) (95/97) Purging xvidcore (1.3.7-r1) (96/97) Purging libzmq (4.3.4-r1) (97/97) Purging libsodium (1.0.18-r2) Executing busybox-1.35.0-r29.trigger OK: 393 MiB in 98 packages