>>> py3-zimscraperlib: Building testing/py3-zimscraperlib 3.4.0-r0 (using abuild 3.14.1-r1) started Wed, 06 Nov 2024 09:41:06 +0000 >>> py3-zimscraperlib: Validating /home/buildozer/aports/testing/py3-zimscraperlib/APKBUILD... >>> py3-zimscraperlib: Analyzing dependencies... >>> py3-zimscraperlib: Installing for build: build-base ffmpeg gifsicle py3-iso639-lang py3-pillow py3-six wget py3-gpep517 py3-hatch-openzim py3-hatchling py3-wheel py3-babel py3-beautifulsoup4 py3-colorthief py3-libzim py3-lxml py3-magic py3-optimize-images py3-piexif py3-pytest py3-pytest-cov py3-pytest-httpbin py3-resizeimage py3-requests py3-wsgiprox yt-dlp-core (1/249) Installing libSvtAv1Enc (2.2.1-r0) (2/249) Installing aom-libs (3.10.0-r0) (3/249) Installing libxau (1.0.11-r4) (4/249) Installing libmd (1.1.0-r0) (5/249) Installing libbsd (0.12.2-r0) (6/249) Installing libxdmcp (1.1.5-r1) (7/249) Installing libxcb (1.16.1-r0) (8/249) Installing libx11 (1.8.10-r0) (9/249) Installing hwdata-pci (0.388-r0) (10/249) Installing libpciaccess (0.18.1-r0) (11/249) Installing libdrm (2.4.123-r1) (12/249) Installing libxext (1.3.6-r2) (13/249) Installing libxfixes (6.0.1-r4) (14/249) Installing libffi (3.4.6-r0) (15/249) Installing wayland-libs-client (1.23.1-r0) (16/249) Installing libva (2.22.0-r1) (17/249) Installing libvdpau (1.5-r4) (18/249) Installing ffmpeg-libavutil (6.1.1-r10) (19/249) Installing libdav1d (1.5.0-r0) (20/249) Installing lame-libs (3.100-r5) (21/249) Installing opus (1.5.2-r1) (22/249) Installing rav1e-libs (0.7.1-r0) (23/249) Installing soxr (0.1.3-r7) (24/249) Installing ffmpeg-libswresample (6.1.1-r10) (25/249) Installing libogg (1.3.5-r5) (26/249) Installing libtheora (1.1.1-r18) (27/249) Installing libvorbis (1.3.7-r2) (28/249) Installing libvpx (1.14.1-r0) (29/249) Installing libsharpyuv (1.4.0-r0) (30/249) Installing libwebp (1.4.0-r0) (31/249) Installing libwebpmux (1.4.0-r0) (32/249) Installing x264-libs (0.164.3108-r0) (33/249) Installing numactl (2.0.18-r0) (34/249) Installing x265-libs (3.6-r0) (35/249) Installing xvidcore (1.3.7-r2) (36/249) Installing ffmpeg-libavcodec (6.1.1-r10) (37/249) Installing sdl2 (2.30.9-r0) (38/249) Installing alsa-lib (1.2.12-r0) (39/249) Installing libbz2 (1.0.8-r6) (40/249) Installing libpng (1.6.44-r0) (41/249) Installing freetype (2.13.3-r0) (42/249) Installing fontconfig (2.15.0-r1) (43/249) Installing fribidi (1.0.16-r0) (44/249) Installing libintl (0.22.5-r0) (45/249) Installing libeconf (0.6.3-r0) (46/249) Installing libblkid (2.40.2-r3) (47/249) Installing libmount (2.40.2-r3) (48/249) Installing glib (2.82.2-r0) (49/249) Installing graphite2 (1.3.14-r6) (50/249) Installing harfbuzz (9.0.0-r1) (51/249) Installing libunibreak (6.1-r0) (52/249) Installing libass (0.17.3-r0) (53/249) Installing libbluray (1.3.4-r1) (54/249) Installing mpg123-libs (1.32.9-r0) (55/249) Installing libopenmpt (0.7.10-r0) (56/249) Installing mbedtls (3.6.2-r0) (57/249) Installing librist (0.2.10-r1) (58/249) Installing libsrt (1.5.3-r0) (59/249) Installing libssh (0.11.1-r0) (60/249) Installing xz-libs (5.6.3-r0) (61/249) Installing libxml2 (2.13.4-r3) (62/249) Installing libsodium (1.0.20-r0) (63/249) Installing libzmq (4.3.5-r2) (64/249) Installing ffmpeg-libavformat (6.1.1-r10) (65/249) Installing serd-libs (0.32.2-r0) (66/249) Installing zix-libs (0.4.2-r0) (67/249) Installing sord-libs (0.16.16-r0) (68/249) Installing sratom (0.6.16-r0) (69/249) Installing lilv-libs (0.24.24-r1) (70/249) Installing libdovi (3.3.1-r0) (71/249) Installing spirv-tools (1.3.290.0-r0) (72/249) Installing glslang-libs (1.3.296.0-r0) (73/249) Installing lcms2 (2.16-r0) (74/249) Installing shaderc (2024.0-r2) (75/249) Installing vulkan-loader (1.3.296.0-r0) (76/249) Installing libplacebo (6.338.2-r3) (77/249) Installing ffmpeg-libpostproc (6.1.1-r10) (78/249) Installing ffmpeg-libswscale (6.1.1-r10) (79/249) Installing vidstab (1.1.1-r0) (80/249) Installing zimg (3.0.5-r2) (81/249) Installing ffmpeg-libavfilter (6.1.1-r10) (82/249) Installing libasyncns (0.8-r4) (83/249) Installing dbus-libs (1.14.10-r4) (84/249) Installing libltdl (2.4.7-r3) (85/249) Installing orc (0.4.40-r1) (86/249) Installing libflac (1.4.3-r1) (87/249) Installing libsndfile (1.2.2-r0) (88/249) Installing speexdsp (1.2.1-r2) (89/249) Installing tdb-libs (1.4.10-r0) (90/249) Installing libpulse (17.0-r4) (91/249) Installing libjpeg-turbo (3.0.4-r0) (92/249) Installing v4l-utils-libs (1.28.1-r1) (93/249) Installing ffmpeg-libavdevice (6.1.1-r10) (94/249) Installing ffmpeg (6.1.1-r10) (95/249) Installing gifsicle (1.95-r0) (96/249) Installing gdbm (1.24-r0) (97/249) Installing mpdecimal (4.0.0-r0) (98/249) Installing libpanelw (6.5_p20241006-r2) (99/249) Installing sqlite-libs (3.47.0-r0) (100/249) Installing python3 (3.12.7-r1) (101/249) Installing python3-pycache-pyc0 (3.12.7-r1) (102/249) Installing pyc (3.12.7-r1) (103/249) Installing py3-iso639-lang-pyc (2.2.3-r0) (104/249) Installing python3-pyc (3.12.7-r1) (105/249) Installing py3-iso639-lang (2.2.3-r0) (106/249) Installing libimagequant (4.2.2-r0) (107/249) Installing openjpeg (2.5.2-r0) (108/249) Installing tiff (4.7.0-r0) (109/249) Installing libwebpdemux (1.4.0-r0) (110/249) Installing py3-pillow (11.0.0-r0) (111/249) Installing py3-pillow-pyc (11.0.0-r0) (112/249) Installing py3-six (1.16.0-r9) (113/249) Installing py3-six-pyc (1.16.0-r9) (114/249) Installing wget (1.24.5-r0) (115/249) Installing py3-installer (0.7.0-r2) (116/249) Installing py3-installer-pyc (0.7.0-r2) (117/249) Installing py3-gpep517 (16-r0) (118/249) Installing py3-gpep517-pyc (16-r0) (119/249) Installing py3-hatch-openzim (0.2.0-r0) (120/249) Installing py3-hatch-openzim-pyc (0.2.0-r0) (121/249) Installing py3-editables (0.5-r2) (122/249) Installing py3-editables-pyc (0.5-r2) (123/249) Installing py3-parsing (3.1.4-r0) (124/249) Installing py3-parsing-pyc (3.1.4-r0) (125/249) Installing py3-packaging (24.1-r0) (126/249) Installing py3-packaging-pyc (24.1-r0) (127/249) Installing py3-pathspec (0.12.1-r2) (128/249) Installing py3-pathspec-pyc (0.12.1-r2) (129/249) Installing py3-pluggy (1.5.0-r0) (130/249) Installing py3-pluggy-pyc (1.5.0-r0) (131/249) Installing py3-trove-classifiers (2024.10.21.16-r0) (132/249) Installing py3-trove-classifiers-pyc (2024.10.21.16-r0) (133/249) Installing py3-hatchling (1.25.0-r0) (134/249) Installing py3-hatchling-pyc (1.25.0-r0) (135/249) Installing py3-wheel (0.43.0-r0) (136/249) Installing py3-wheel-pyc (0.43.0-r0) (137/249) Installing py3-tz (2024.2-r0) (138/249) Installing py3-tz-pyc (2024.2-r0) (139/249) Installing py3-setuptools (70.3.0-r0) (140/249) Installing py3-setuptools-pyc (70.3.0-r0) (141/249) Installing py3-babel (2.14.0-r2) (142/249) Installing py3-babel-pyc (2.14.0-r2) (143/249) Installing py3-soupsieve (2.6-r0) (144/249) Installing py3-soupsieve-pyc (2.6-r0) (145/249) Installing py3-beautifulsoup4 (4.12.3-r3) (146/249) Installing py3-beautifulsoup4-pyc (4.12.3-r3) (147/249) Installing py3-colorthief (0.2.1-r1) (148/249) Installing py3-colorthief-pyc (0.2.1-r1) (149/249) Installing icu-data-en (74.2-r0) Executing icu-data-en-74.2-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (150/249) Installing icu-libs (74.2-r0) (151/249) Installing libuuid (2.40.2-r3) (152/249) Installing libxapian (1.4.26-r0) (153/249) Installing libzim (9.1.0-r1) (154/249) Installing py3-libzim (3.4.0-r1) (155/249) Installing libgpg-error (1.50-r0) (156/249) Installing libgcrypt (1.10.3-r1) (157/249) Installing libxslt (1.1.42-r1) (158/249) Installing py3-lxml (5.3.0-r0) (159/249) Installing py3-lxml-pyc (5.3.0-r0) (160/249) Installing py3-magic (0.4.27-r3) (161/249) Installing py3-magic-pyc (0.4.27-r3) (162/249) Installing py3-piexif (1.1.3-r7) (163/249) Installing py3-piexif-pyc (1.1.3-r7) (164/249) Installing yaml (0.2.5-r2) (165/249) Installing py3-yaml (6.0.2-r0) (166/249) Installing py3-yaml-pyc (6.0.2-r0) (167/249) Installing py3-watchdog (4.0.0-r1) (168/249) Installing py3-watchdog-pyc (4.0.0-r1) (169/249) Installing py3-optimize-images (1.5.1-r1) (170/249) Installing py3-optimize-images-pyc (1.5.1-r1) (171/249) Installing py3-iniconfig (2.0.0-r1) (172/249) Installing py3-iniconfig-pyc (2.0.0-r1) (173/249) Installing py3-py (1.11.0-r4) (174/249) Installing py3-py-pyc (1.11.0-r4) (175/249) Installing py3-pytest (8.3.3-r0) (176/249) Installing py3-pytest-pyc (8.3.3-r0) (177/249) Installing py3-coverage (7.5.1-r0) (178/249) Installing py3-coverage-pyc (7.5.1-r0) (179/249) Installing py3-pytest-cov (5.0.0-r0) (180/249) Installing py3-pytest-cov-pyc (5.0.0-r0) (181/249) Installing py3-blinker (1.8.2-r0) (182/249) Installing py3-blinker-pyc (1.8.2-r0) (183/249) Installing py3-click (8.1.7-r2) (184/249) Installing py3-click-pyc (8.1.7-r2) (185/249) Installing py3-itsdangerous (2.2.0-r0) (186/249) Installing py3-itsdangerous-pyc (2.2.0-r0) (187/249) Installing py3-markupsafe (3.0.2-r0) (188/249) Installing py3-markupsafe-pyc (3.0.2-r0) (189/249) Installing py3-jinja2 (3.1.4-r0) (190/249) Installing py3-jinja2-pyc (3.1.4-r0) (191/249) Installing py3-werkzeug (3.0.6-r0) (192/249) Installing py3-werkzeug-pyc (3.0.6-r0) (193/249) Installing py3-flask (3.0.3-r0) (194/249) Installing py3-flask-pyc (3.0.3-r0) (195/249) Installing py3-raven (6.10.0-r7) (196/249) Installing py3-raven-pyc (6.10.0-r7) (197/249) Installing py3-brotli (1.1.0-r2) (198/249) Installing py3-brotli-pyc (1.1.0-r2) (199/249) Installing py3-decorator (5.1.1-r4) (200/249) Installing py3-decorator-pyc (5.1.1-r4) (201/249) Installing py3-httpbin (0.10.2-r3) (202/249) Installing py3-httpbin-pyc (0.10.2-r3) (203/249) Installing py3-pytest-httpbin (2.1.0-r0) (204/249) Installing py3-pytest-httpbin-pyc (2.1.0-r0) (205/249) Installing py3-certifi (2024.8.30-r0) (206/249) Installing py3-certifi-pyc (2024.8.30-r0) (207/249) Installing py3-charset-normalizer (3.4.0-r0) (208/249) Installing py3-charset-normalizer-pyc (3.4.0-r0) (209/249) Installing py3-idna (3.10-r0) (210/249) Installing py3-idna-pyc (3.10-r0) (211/249) Installing py3-urllib3 (1.26.20-r0) (212/249) Installing py3-urllib3-pyc (1.26.20-r0) (213/249) Installing py3-requests (2.32.3-r0) (214/249) Installing py3-requests-pyc (2.32.3-r0) (215/249) Installing py3-resizeimage (1.1.20-r1) (216/249) Installing py3-resizeimage-pyc (1.1.20-r1) (217/249) Installing py3-cparser (2.22-r1) (218/249) Installing py3-cparser-pyc (2.22-r1) (219/249) Installing py3-cffi (1.17.1-r1) (220/249) Installing py3-cffi-pyc (1.17.1-r1) (221/249) Installing py3-cryptography (43.0.3-r0) (222/249) Installing py3-cryptography-pyc (43.0.3-r0) (223/249) Installing py3-openssl (24.1.0-r1) (224/249) Installing py3-openssl-pyc (24.1.0-r1) (225/249) Installing py3-requests-file (2.1.0-r0) (226/249) Installing py3-requests-file-pyc (2.1.0-r0) (227/249) Installing py3-filelock (3.13.1-r1) (228/249) Installing py3-filelock-pyc (3.13.1-r1) (229/249) Installing py3-tldextract (5.1.2-r1) (230/249) Installing py3-tldextract-pyc (5.1.2-r1) (231/249) Installing py3-certauth (1.3.0-r1) (232/249) Installing py3-certauth-pyc (1.3.0-r1) (233/249) Installing py3-greenlet (3.0.3-r1) (234/249) Installing py3-greenlet-pyc (3.0.3-r1) (235/249) Installing py3-zope-event (5.0-r1) (236/249) Installing py3-zope-event-pyc (5.0-r1) (237/249) Installing py3-zope-interface (6.0-r1) (238/249) Installing py3-zope-interface-pyc (6.0-r1) (239/249) Installing libev (4.33-r1) (240/249) Installing libuv (1.49.2-r0) (241/249) Installing py3-gevent (23.9.1-r1) (242/249) Installing py3-gevent-pyc (23.9.1-r1) (243/249) Installing py3-gevent-websocket (0.10.1-r8) (244/249) Installing py3-gevent-websocket-pyc (0.10.1-r8) (245/249) Installing py3-wsgiprox (1.5.2-r1) (246/249) Installing py3-wsgiprox-pyc (1.5.2-r1) (247/249) Installing yt-dlp-core (2024.11.04-r0) (248/249) Installing yt-dlp-core-pyc (2024.11.04-r0) (249/249) Installing .makedepends-py3-zimscraperlib (20241106.094108) Executing busybox-1.37.0-r6.trigger Executing glib-2.82.2-r0.trigger OK: 644 MiB in 354 packages >>> py3-zimscraperlib: Cleaning up srcdir >>> py3-zimscraperlib: Cleaning up pkgdir >>> py3-zimscraperlib: Cleaning up tmpdir >>> py3-zimscraperlib: Fetching https://distfiles.alpinelinux.org/distfiles/edge//py3-zimscraperlib-3.4.0.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 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> py3-zimscraperlib: Fetching py3-zimscraperlib-3.4.0.tar.gz::https://github.com/openzim/python-scraperlib/archive/refs/tags/v3.4.0.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 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 66 3127k 66 2073k 0 0 1659k 0 0:00:01 0:00:01 --:--:-- 1659k 100 3127k 100 3127k 0 0 2429k 0 0:00:01 0:00:01 --:--:-- 27.8M >>> py3-zimscraperlib: Fetching https://distfiles.alpinelinux.org/distfiles/edge//py3-zimscraperlib-3.4.0.tar.gz >>> py3-zimscraperlib: Checking sha512sums... py3-zimscraperlib-3.4.0.tar.gz: OK >>> py3-zimscraperlib: Unpacking /var/cache/distfiles/edge/py3-zimscraperlib-3.4.0.tar.gz... 2024-11-06 09:41:14,217 gpep517 INFO Building wheel via backend hatchling.build 2024-11-06 09:41:14,352 gpep517 INFO The backend produced .dist/zimscraperlib-3.4.0-py3-none-any.whl zimscraperlib-3.4.0-py3-none-any.whl ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /home/buildozer/aports/testing/py3-zimscraperlib/src/python-scraperlib-3.4.0 configfile: pyproject.toml testpaths: tests plugins: cov-5.0.0, httpbin-2.1.0 collected 357 items / 5 deselected / 352 selected tests/filesystem/test_filesystem.py ...... [ 1%] tests/html/test_html.py ...... [ 3%] tests/i18n/test_i18n.py ........................ [ 10%] tests/image/test_image.py .............................................. [ 23%] ................................ [ 32%] tests/inputs/test_inputs.py ...................... [ 38%] tests/logging/test_logging.py ................. [ 43%] tests/misc/test_misc.py .... [ 44%] tests/ogvjs/test_ogvjs.py .. [ 45%] tests/types/test_types.py .............. [ 49%] tests/uri/test_uri.py .............. [ 53%] tests/video/test_encoding.py .... [ 54%] tests/video/test_video.py ..................... [ 60%] tests/zim/test_archive.py ........... [ 63%] tests/zim/test_fs.py ............... [ 67%] tests/zim/test_libkiwix.py ................. [ 72%] tests/zim/test_metadata.py ....... [ 74%] tests/zim/test_zim_creator.py .......................................... [ 86%] ................................................/usr/lib/python3.12/site-packages/coverage/inorout.py:519: CoverageWarning: Module zimscraperlib was previously imported, but not measured (module-not-measured) self.warn(msg, slug="module-not-measured") [100%] ---------- coverage: platform linux, python 3.12.7-final-0 ----------- Name Stmts Miss Branch BrPart Cover Missing ------------------------------------------------------------------------------------------------------------------------- .testenv/lib/python3.12/site-packages/zimscraperlib/__about__.py 1 0 0 0 100% .testenv/lib/python3.12/site-packages/zimscraperlib/__init__.py 6 0 0 0 100% .testenv/lib/python3.12/site-packages/zimscraperlib/constants.py 18 0 0 0 100% .testenv/lib/python3.12/site-packages/zimscraperlib/download.py 83 53 28 0 29% 25, 28, 31, 35, 38-39, 55-64, 84-86, 95-108, 127, 147-164, 169-171, 199-232 .testenv/lib/python3.12/site-packages/zimscraperlib/filesystem.py 21 5 4 0 72% 42-43, 54-58 .testenv/lib/python3.12/site-packages/zimscraperlib/fix_ogvjs_dist.py 24 24 6 0 0% 5-46 .testenv/lib/python3.12/site-packages/zimscraperlib/html.py 40 25 18 1 31% 21-24, 32-33, 40-57, 62-66 .testenv/lib/python3.12/site-packages/zimscraperlib/i18n.py 105 44 37 6 54% 31-47, 52, 59, 74-78, 84, 91-93, 108, 120, 126-139, 145-147, 174-185, 189-192 .testenv/lib/python3.12/site-packages/zimscraperlib/image/__init__.py 5 0 0 0 100% .testenv/lib/python3.12/site-packages/zimscraperlib/image/convertion.py 28 18 10 0 26% 31-40, 45-57 .testenv/lib/python3.12/site-packages/zimscraperlib/image/optimization.py 94 74 40 0 15% 49-50, 79-97, 117-167, 191-210, 239-263, 282-300 .testenv/lib/python3.12/site-packages/zimscraperlib/image/presets.py 64 64 0 0 0% 4-242 .testenv/lib/python3.12/site-packages/zimscraperlib/image/probing.py 44 26 14 3 36% 20-46, 51, 59-67, 78->80, 83, 85-87 .testenv/lib/python3.12/site-packages/zimscraperlib/image/transformation.py 27 19 16 0 19% 29-62 .testenv/lib/python3.12/site-packages/zimscraperlib/image/utils.py 8 3 0 0 62% 18-20 .testenv/lib/python3.12/site-packages/zimscraperlib/inputs.py 40 40 22 0 0% 4-113 .testenv/lib/python3.12/site-packages/zimscraperlib/logging.py 34 8 10 3 70% 44->48, 59->65, 66-73, 80-83 .testenv/lib/python3.12/site-packages/zimscraperlib/misc.py 3 3 2 0 0% 3-8 .testenv/lib/python3.12/site-packages/zimscraperlib/types.py 19 7 4 0 61% 50-58 .testenv/lib/python3.12/site-packages/zimscraperlib/uri.py 17 17 2 0 0% 3-56 .testenv/lib/python3.12/site-packages/zimscraperlib/video/__init__.py 3 3 0 0 0% 5-9 .testenv/lib/python3.12/site-packages/zimscraperlib/video/config.py 94 94 50 0 0% 4-176 .testenv/lib/python3.12/site-packages/zimscraperlib/video/encoding.py 32 32 14 0 0% 4-88 .testenv/lib/python3.12/site-packages/zimscraperlib/video/presets.py 29 29 0 0 0% 4-122 .testenv/lib/python3.12/site-packages/zimscraperlib/video/probing.py 9 9 0 0 0% 5-39 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/__init__.py 8 0 0 0 100% .testenv/lib/python3.12/site-packages/zimscraperlib/zim/_libkiwix.py 78 67 40 0 9% 32-42, 51-60, 65-73, 80-89, 94-125 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/archive.py 53 27 12 0 49% 26, 29, 34, 42, 46-54, 58, 62, 66, 70, 76-79, 83-84, 90-95, 99-102, 106-107 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/creator.py 171 71 63 10 54% 76-89, 130, 148, 166-167, 176-189, 194-195, 204, 206->211, 212->215, 253->255, 263, 311-313, 345-379, 393-396, 402-408, 422-437, 443-446, 449-450, 453 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/filesystem.py 95 27 32 8 65% 60, 100->102, 103, 105->exit, 107-113, 153, 157, 199->213, 264-296 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/items.py 101 52 38 11 46% 39, 41, 43, 45, 47, 51, 54, 57, 86, 88, 90, 99-101, 106, 117, 136-147, 159-201, 204, 207, 210, 217-220 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/metadata.py 51 15 33 13 67% 22, 41, 47, 54, 56-65, 71->73, 75, 81, 87, 96, 101->exit, 105, 120 .testenv/lib/python3.12/site-packages/zimscraperlib/zim/providers.py 46 24 4 0 48% 36-37, 52-59, 62, 76-84, 88-92, 95 src/zimscraperlib/__init__.py 6 0 0 0 100% src/zimscraperlib/constants.py 18 0 0 0 100% src/zimscraperlib/download.py 83 28 28 2 60% 25, 28, 31, 35, 38-39, 55-64, 84-86, 95-108, 200, 202->204 src/zimscraperlib/filesystem.py 21 0 4 0 100% src/zimscraperlib/fix_ogvjs_dist.py 24 0 6 0 100% src/zimscraperlib/html.py 40 0 18 0 100% src/zimscraperlib/i18n.py 105 0 37 0 100% src/zimscraperlib/image/__init__.py 5 0 0 0 100% src/zimscraperlib/image/convertion.py 28 0 10 0 100% src/zimscraperlib/image/optimization.py 94 0 40 0 100% src/zimscraperlib/image/presets.py 64 0 0 0 100% src/zimscraperlib/image/probing.py 44 0 14 0 100% src/zimscraperlib/image/transformation.py 27 0 16 0 100% src/zimscraperlib/image/utils.py 8 0 0 0 100% src/zimscraperlib/inputs.py 40 0 22 0 100% src/zimscraperlib/logging.py 34 0 10 0 100% src/zimscraperlib/misc.py 3 0 2 0 100% src/zimscraperlib/types.py 19 0 4 0 100% src/zimscraperlib/uri.py 17 0 2 0 100% src/zimscraperlib/video/__init__.py 3 0 0 0 100% src/zimscraperlib/video/config.py 94 0 50 0 100% src/zimscraperlib/video/encoding.py 32 0 14 0 100% src/zimscraperlib/video/presets.py 29 0 0 0 100% src/zimscraperlib/video/probing.py 9 0 0 0 100% src/zimscraperlib/zim/__init__.py 8 0 0 0 100% src/zimscraperlib/zim/_libkiwix.py 78 0 40 0 100% src/zimscraperlib/zim/archive.py 53 0 12 0 100% src/zimscraperlib/zim/creator.py 171 0 63 0 100% src/zimscraperlib/zim/filesystem.py 95 0 32 0 100% src/zimscraperlib/zim/items.py 101 0 38 0 100% src/zimscraperlib/zim/metadata.py 51 0 33 0 100% src/zimscraperlib/zim/providers.py 46 0 4 0 100% ------------------------------------------------------------------------------------------------------------------------- TOTAL 2901 908 998 57 67% ================= 352 passed, 5 deselected in 83.72s (0:01:23) ================= /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-11551582-00b1-47c7-a111-8eadacb9b487/popen-gw7/test_discovery_via_path_in_non0 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-11551582-00b1-47c7-a111-8eadacb9b487/popen-gw7/test_discovery_via_path_in_non0' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-11551582-00b1-47c7-a111-8eadacb9b487/popen-gw7 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-11551582-00b1-47c7-a111-8eadacb9b487/popen-gw7' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-11551582-00b1-47c7-a111-8eadacb9b487 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-11551582-00b1-47c7-a111-8eadacb9b487' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-3efd993c-9b56-4e66-8b00-be875596cb05/popen-gw6/test_discovery_via_path_in_non0 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-3efd993c-9b56-4e66-8b00-be875596cb05/popen-gw6/test_discovery_via_path_in_non0' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-3efd993c-9b56-4e66-8b00-be875596cb05/popen-gw6 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-3efd993c-9b56-4e66-8b00-be875596cb05/popen-gw6' warnings.warn( /usr/lib/python3.12/site-packages/_pytest/pathlib.py:91: PytestWarning: (rm_rf) error removing /tmp/pytest-of-buildozer/garbage-3efd993c-9b56-4e66-8b00-be875596cb05 : [Errno 39] Directory not empty: '/tmp/pytest-of-buildozer/garbage-3efd993c-9b56-4e66-8b00-be875596cb05' warnings.warn( >>> py3-zimscraperlib: Entering fakeroot... >>> py3-zimscraperlib-pyc*: Running split function pyc... 'usr/lib/python3.12/site-packages/zimscraperlib/__pycache__' -> '/home/buildozer/aports/testing/py3-zimscraperlib/pkg/py3-zimscraperlib-pyc/usr/lib/python3.12/site-packages/zimscraperlib/__pycache__' 'usr/lib/python3.12/site-packages/zimscraperlib/image/__pycache__' -> '/home/buildozer/aports/testing/py3-zimscraperlib/pkg/py3-zimscraperlib-pyc/usr/lib/python3.12/site-packages/zimscraperlib/image/__pycache__' 'usr/lib/python3.12/site-packages/zimscraperlib/zim/__pycache__' -> '/home/buildozer/aports/testing/py3-zimscraperlib/pkg/py3-zimscraperlib-pyc/usr/lib/python3.12/site-packages/zimscraperlib/zim/__pycache__' 'usr/lib/python3.12/site-packages/zimscraperlib/video/__pycache__' -> '/home/buildozer/aports/testing/py3-zimscraperlib/pkg/py3-zimscraperlib-pyc/usr/lib/python3.12/site-packages/zimscraperlib/video/__pycache__' >>> py3-zimscraperlib-pyc*: Preparing subpackage py3-zimscraperlib-pyc... libfakeroot internal error: payload not recognized! >>> py3-zimscraperlib-pyc*: Running postcheck for py3-zimscraperlib-pyc >>> py3-zimscraperlib*: Running postcheck for py3-zimscraperlib >>> py3-zimscraperlib*: Preparing package py3-zimscraperlib... libfakeroot internal error: payload not recognized! >>> py3-zimscraperlib-pyc*: Tracing dependencies... ffmpeg gifsicle py3-iso639-lang py3-pillow py3-six wget python3~3.12 >>> py3-zimscraperlib-pyc*: Package size: 146.5 KB >>> py3-zimscraperlib-pyc*: Compressing data... >>> py3-zimscraperlib-pyc*: Create checksum... >>> py3-zimscraperlib-pyc*: Create py3-zimscraperlib-pyc-3.4.0-r0.apk >>> py3-zimscraperlib*: Tracing dependencies... ffmpeg gifsicle py3-iso639-lang py3-pillow py3-six wget python3~3.12 >>> py3-zimscraperlib*: Package size: 159.5 KB >>> py3-zimscraperlib*: Compressing data... >>> py3-zimscraperlib*: Create checksum... libfakeroot internal error: payload not recognized! >>> py3-zimscraperlib*: Create py3-zimscraperlib-3.4.0-r0.apk >>> py3-zimscraperlib: Build complete at Wed, 06 Nov 2024 09:42:43 +0000 elapsed time 0h 1m 37s >>> py3-zimscraperlib: Cleaning up srcdir >>> py3-zimscraperlib: Cleaning up pkgdir >>> py3-zimscraperlib: Uninstalling dependencies... (1/249) Purging .makedepends-py3-zimscraperlib (20241106.094108) (2/249) Purging ffmpeg (6.1.1-r10) (3/249) Purging gifsicle (1.95-r0) (4/249) Purging py3-iso639-lang-pyc (2.2.3-r0) (5/249) Purging py3-iso639-lang (2.2.3-r0) (6/249) Purging wget (1.24.5-r0) (7/249) Purging py3-gpep517-pyc (16-r0) (8/249) Purging py3-gpep517 (16-r0) (9/249) Purging py3-installer-pyc (0.7.0-r2) (10/249) Purging py3-installer (0.7.0-r2) (11/249) Purging py3-hatch-openzim-pyc (0.2.0-r0) (12/249) Purging py3-hatch-openzim (0.2.0-r0) (13/249) Purging py3-hatchling-pyc (1.25.0-r0) (14/249) Purging py3-hatchling (1.25.0-r0) (15/249) Purging py3-editables-pyc (0.5-r2) (16/249) Purging py3-editables (0.5-r2) (17/249) Purging py3-pathspec-pyc (0.12.1-r2) (18/249) Purging py3-pathspec (0.12.1-r2) (19/249) Purging py3-trove-classifiers-pyc (2024.10.21.16-r0) (20/249) Purging py3-trove-classifiers (2024.10.21.16-r0) (21/249) Purging py3-wheel-pyc (0.43.0-r0) (22/249) Purging py3-wheel (0.43.0-r0) (23/249) Purging py3-babel-pyc (2.14.0-r2) (24/249) Purging py3-babel (2.14.0-r2) (25/249) Purging py3-tz-pyc (2024.2-r0) (26/249) Purging py3-tz (2024.2-r0) (27/249) Purging py3-beautifulsoup4-pyc (4.12.3-r3) (28/249) Purging py3-beautifulsoup4 (4.12.3-r3) (29/249) Purging py3-soupsieve-pyc (2.6-r0) (30/249) Purging py3-soupsieve (2.6-r0) (31/249) Purging py3-colorthief-pyc (0.2.1-r1) (32/249) Purging py3-colorthief (0.2.1-r1) (33/249) Purging py3-libzim (3.4.0-r1) (34/249) Purging py3-lxml-pyc (5.3.0-r0) (35/249) Purging py3-lxml (5.3.0-r0) (36/249) Purging py3-magic-pyc (0.4.27-r3) (37/249) Purging py3-magic (0.4.27-r3) (38/249) Purging py3-optimize-images-pyc (1.5.1-r1) (39/249) Purging py3-optimize-images (1.5.1-r1) (40/249) Purging py3-watchdog-pyc (4.0.0-r1) (41/249) Purging py3-watchdog (4.0.0-r1) (42/249) Purging py3-yaml-pyc (6.0.2-r0) (43/249) Purging py3-yaml (6.0.2-r0) (44/249) Purging py3-piexif-pyc (1.1.3-r7) (45/249) Purging py3-piexif (1.1.3-r7) (46/249) Purging py3-pytest-cov-pyc (5.0.0-r0) (47/249) Purging py3-pytest-cov (5.0.0-r0) (48/249) Purging py3-pytest-pyc (8.3.3-r0) (49/249) Purging py3-pytest (8.3.3-r0) (50/249) Purging py3-iniconfig-pyc (2.0.0-r1) (51/249) Purging py3-iniconfig (2.0.0-r1) (52/249) Purging py3-pluggy-pyc (1.5.0-r0) (53/249) Purging py3-pluggy (1.5.0-r0) (54/249) Purging py3-py-pyc (1.11.0-r4) (55/249) Purging py3-py (1.11.0-r4) (56/249) Purging py3-coverage-pyc (7.5.1-r0) (57/249) Purging py3-coverage (7.5.1-r0) (58/249) Purging py3-pytest-httpbin-pyc (2.1.0-r0) (59/249) Purging py3-pytest-httpbin (2.1.0-r0) (60/249) Purging py3-httpbin-pyc (0.10.2-r3) (61/249) Purging py3-httpbin (0.10.2-r3) (62/249) Purging py3-flask-pyc (3.0.3-r0) (63/249) Purging py3-flask (3.0.3-r0) (64/249) Purging py3-click-pyc (8.1.7-r2) (65/249) Purging py3-click (8.1.7-r2) (66/249) Purging py3-itsdangerous-pyc (2.2.0-r0) (67/249) Purging py3-itsdangerous (2.2.0-r0) (68/249) Purging py3-jinja2-pyc (3.1.4-r0) (69/249) Purging py3-jinja2 (3.1.4-r0) (70/249) Purging py3-werkzeug-pyc (3.0.6-r0) (71/249) Purging py3-werkzeug (3.0.6-r0) (72/249) Purging py3-markupsafe-pyc (3.0.2-r0) (73/249) Purging py3-markupsafe (3.0.2-r0) (74/249) Purging py3-raven-pyc (6.10.0-r7) (75/249) Purging py3-raven (6.10.0-r7) (76/249) Purging py3-blinker-pyc (1.8.2-r0) (77/249) Purging py3-blinker (1.8.2-r0) (78/249) Purging py3-brotli-pyc (1.1.0-r2) (79/249) Purging py3-brotli (1.1.0-r2) (80/249) Purging py3-decorator-pyc (5.1.1-r4) (81/249) Purging py3-decorator (5.1.1-r4) (82/249) Purging py3-resizeimage-pyc (1.1.20-r1) (83/249) Purging py3-resizeimage (1.1.20-r1) (84/249) Purging py3-pillow-pyc (11.0.0-r0) (85/249) Purging py3-pillow (11.0.0-r0) (86/249) Purging py3-wsgiprox-pyc (1.5.2-r1) (87/249) Purging py3-wsgiprox (1.5.2-r1) (88/249) Purging py3-certauth-pyc (1.3.0-r1) (89/249) Purging py3-certauth (1.3.0-r1) (90/249) Purging py3-openssl-pyc (24.1.0-r1) (91/249) Purging py3-openssl (24.1.0-r1) (92/249) Purging py3-cryptography-pyc (43.0.3-r0) (93/249) Purging py3-cryptography (43.0.3-r0) (94/249) Purging py3-tldextract-pyc (5.1.2-r1) (95/249) Purging py3-tldextract (5.1.2-r1) (96/249) Purging py3-requests-file-pyc (2.1.0-r0) (97/249) Purging py3-requests-file (2.1.0-r0) (98/249) Purging py3-requests-pyc (2.32.3-r0) (99/249) Purging py3-requests (2.32.3-r0) (100/249) Purging py3-certifi-pyc (2024.8.30-r0) (101/249) Purging py3-certifi (2024.8.30-r0) (102/249) Purging py3-charset-normalizer-pyc (3.4.0-r0) (103/249) Purging py3-charset-normalizer (3.4.0-r0) (104/249) Purging py3-idna-pyc (3.10-r0) (105/249) Purging py3-idna (3.10-r0) (106/249) Purging py3-urllib3-pyc (1.26.20-r0) (107/249) Purging py3-urllib3 (1.26.20-r0) (108/249) Purging py3-filelock-pyc (3.13.1-r1) (109/249) Purging py3-filelock (3.13.1-r1) (110/249) Purging py3-gevent-websocket-pyc (0.10.1-r8) (111/249) Purging py3-gevent-websocket (0.10.1-r8) (112/249) Purging py3-gevent-pyc (23.9.1-r1) (113/249) Purging py3-gevent (23.9.1-r1) (114/249) Purging py3-cffi-pyc (1.17.1-r1) (115/249) Purging py3-cffi (1.17.1-r1) (116/249) Purging py3-cparser-pyc (2.22-r1) (117/249) Purging py3-cparser (2.22-r1) (118/249) Purging py3-greenlet-pyc (3.0.3-r1) (119/249) Purging py3-greenlet (3.0.3-r1) (120/249) Purging py3-zope-event-pyc (5.0-r1) (121/249) Purging py3-zope-event (5.0-r1) (122/249) Purging py3-setuptools-pyc (70.3.0-r0) (123/249) Purging py3-setuptools (70.3.0-r0) (124/249) Purging py3-packaging-pyc (24.1-r0) (125/249) Purging py3-packaging (24.1-r0) (126/249) Purging py3-parsing-pyc (3.1.4-r0) (127/249) Purging py3-parsing (3.1.4-r0) (128/249) Purging py3-zope-interface-pyc (6.0-r1) (129/249) Purging py3-zope-interface (6.0-r1) (130/249) Purging py3-six-pyc (1.16.0-r9) (131/249) Purging py3-six (1.16.0-r9) (132/249) Purging yt-dlp-core-pyc (2024.11.04-r0) (133/249) Purging yt-dlp-core (2024.11.04-r0) (134/249) Purging python3-pyc (3.12.7-r1) (135/249) Purging python3-pycache-pyc0 (3.12.7-r1) (136/249) Purging pyc (3.12.7-r1) (137/249) Purging python3 (3.12.7-r1) (138/249) Purging ffmpeg-libavdevice (6.1.1-r10) (139/249) Purging ffmpeg-libavfilter (6.1.1-r10) (140/249) Purging ffmpeg-libavformat (6.1.1-r10) (141/249) Purging ffmpeg-libpostproc (6.1.1-r10) (142/249) Purging ffmpeg-libswscale (6.1.1-r10) (143/249) Purging gdbm (1.24-r0) (144/249) Purging libass (0.17.3-r0) (145/249) Purging libbluray (1.3.4-r1) (146/249) Purging libev (4.33-r1) (147/249) Purging libimagequant (4.2.2-r0) (148/249) Purging libopenmpt (0.7.10-r0) (149/249) Purging libpanelw (6.5_p20241006-r2) (150/249) Purging libplacebo (6.338.2-r3) (151/249) Purging libpulse (17.0-r4) (152/249) Purging librist (0.2.10-r1) (153/249) Purging libsndfile (1.2.2-r0) (154/249) Purging libsrt (1.5.3-r0) (155/249) Purging libssh (0.11.1-r0) (156/249) Purging libunibreak (6.1-r0) (157/249) Purging libuv (1.49.2-r0) (158/249) Purging libwebpdemux (1.4.0-r0) (159/249) Purging libxslt (1.1.42-r1) (160/249) Purging libzim (9.1.0-r1) (161/249) Purging libzmq (4.3.5-r2) (162/249) Purging lilv-libs (0.24.24-r1) (163/249) Purging mbedtls (3.6.2-r0) (164/249) Purging mpdecimal (4.0.0-r0) (165/249) Purging mpg123-libs (1.32.9-r0) (166/249) Purging openjpeg (2.5.2-r0) (167/249) Purging orc (0.4.40-r1) (168/249) Purging sdl2 (2.30.9-r0) (169/249) Purging shaderc (2024.0-r2) (170/249) Purging speexdsp (1.2.1-r2) (171/249) Purging sqlite-libs (3.47.0-r0) (172/249) Purging sratom (0.6.16-r0) (173/249) Purging tdb-libs (1.4.10-r0) (174/249) Purging tiff (4.7.0-r0) (175/249) Purging v4l-utils-libs (1.28.1-r1) (176/249) Purging vidstab (1.1.1-r0) (177/249) Purging vulkan-loader (1.3.296.0-r0) (178/249) Purging yaml (0.2.5-r2) (179/249) Purging zimg (3.0.5-r2) (180/249) Purging alsa-lib (1.2.12-r0) (181/249) Purging ffmpeg-libavcodec (6.1.1-r10) (182/249) Purging aom-libs (3.10.0-r0) (183/249) Purging dbus-libs (1.14.10-r4) (184/249) Purging ffmpeg-libswresample (6.1.1-r10) (185/249) Purging ffmpeg-libavutil (6.1.1-r10) (186/249) Purging fontconfig (2.15.0-r1) (187/249) Purging harfbuzz (9.0.0-r1) (188/249) Purging freetype (2.13.3-r0) (189/249) Purging fribidi (1.0.16-r0) (190/249) Purging glib (2.82.2-r0) (191/249) Purging glslang-libs (1.3.296.0-r0) (192/249) Purging graphite2 (1.3.14-r6) (193/249) Purging libva (2.22.0-r1) (194/249) Purging libdrm (2.4.123-r1) (195/249) Purging libpciaccess (0.18.1-r0) (196/249) Purging hwdata-pci (0.388-r0) (197/249) Purging icu-libs (74.2-r0) (198/249) Purging icu-data-en (74.2-r0) (199/249) Purging lame-libs (3.100-r5) (200/249) Purging lcms2 (2.16-r0) (201/249) Purging libasyncns (0.8-r4) (202/249) Purging libmount (2.40.2-r3) (203/249) Purging libblkid (2.40.2-r3) (204/249) Purging libvdpau (1.5-r4) (205/249) Purging libxext (1.3.6-r2) (206/249) Purging libxfixes (6.0.1-r4) (207/249) Purging libx11 (1.8.10-r0) (208/249) Purging libxcb (1.16.1-r0) (209/249) Purging libxdmcp (1.1.5-r1) (210/249) Purging libbsd (0.12.2-r0) (211/249) Purging libbz2 (1.0.8-r6) (212/249) Purging libdav1d (1.5.0-r0) (213/249) Purging libdovi (3.3.1-r0) (214/249) Purging libeconf (0.6.3-r0) (215/249) Purging wayland-libs-client (1.23.1-r0) (216/249) Purging libffi (3.4.6-r0) (217/249) Purging libflac (1.4.3-r1) (218/249) Purging libgcrypt (1.10.3-r1) (219/249) Purging libgpg-error (1.50-r0) (220/249) Purging libintl (0.22.5-r0) (221/249) Purging libjpeg-turbo (3.0.4-r0) (222/249) Purging libltdl (2.4.7-r3) (223/249) Purging libmd (1.1.0-r0) (224/249) Purging libtheora (1.1.1-r18) (225/249) Purging libvorbis (1.3.7-r2) (226/249) Purging libogg (1.3.5-r5) (227/249) Purging libpng (1.6.44-r0) (228/249) Purging libwebpmux (1.4.0-r0) (229/249) Purging libwebp (1.4.0-r0) (230/249) Purging libsharpyuv (1.4.0-r0) (231/249) Purging libsodium (1.0.20-r0) (232/249) Purging libSvtAv1Enc (2.2.1-r0) (233/249) Purging libxapian (1.4.26-r0) (234/249) Purging libuuid (2.40.2-r3) (235/249) Purging libvpx (1.14.1-r0) (236/249) Purging libxau (1.0.11-r4) (237/249) Purging libxml2 (2.13.4-r3) (238/249) Purging x265-libs (3.6-r0) (239/249) Purging numactl (2.0.18-r0) (240/249) Purging opus (1.5.2-r1) (241/249) Purging rav1e-libs (0.7.1-r0) (242/249) Purging sord-libs (0.16.16-r0) (243/249) Purging serd-libs (0.32.2-r0) (244/249) Purging soxr (0.1.3-r7) (245/249) Purging spirv-tools (1.3.290.0-r0) (246/249) Purging x264-libs (0.164.3108-r0) (247/249) Purging xvidcore (1.3.7-r2) (248/249) Purging xz-libs (5.6.3-r0) (249/249) Purging zix-libs (0.4.2-r0) Executing busybox-1.37.0-r6.trigger OK: 360 MiB in 105 packages >>> py3-zimscraperlib: Updating the testing/s390x repository index... >>> py3-zimscraperlib: Signing the index...