Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-metadata-check-hook.sh Using pythonMetadataCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/c42lvs5l6x8pqf6wb2dd1y6fy0l7smc0-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/uv.lock" Running phase: patchPhase applying patch /nix/store/lsg6nbsycl6azl0zb91pniacj0yynbcm-use-pillow-heif.patch patching file pyproject.toml patching file src/ocrmypdf/_pipeline.py Hunk #1 succeeded at 43 (offset 1 line). applying patch /nix/store/cwgc9q9n7nm6cczvflvx73g82advd0j3-paths.patch patching file src/ocrmypdf/_exec/ghostscript.py Hunk #1 succeeded at 35 (offset 4 lines). patching file src/ocrmypdf/_exec/jbig2enc.py patching file src/ocrmypdf/_exec/pngquant.py patching file src/ocrmypdf/_exec/tesseract.py patching file src/ocrmypdf/_exec/unpaper.py Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Setting SETUPTOOLS_SCM_PRETEND_VERSION to 16.13.0 Including all tracked files automatically Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... * Building wheel... Successfully built ocrmypdf-16.13.0-py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for ocrmypdf-16.13.0-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed ocrmypdf-16.13.0-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/yv3lvwl6vdlhsr3hd34a86gqq48zj3gn-python3.13-ocrmypdf-16.13.0 checking for references to /build/ in /nix/store/yv3lvwl6vdlhsr3hd34a86gqq48zj3gn-python3.13-ocrmypdf-16.13.0... patching script interpreter paths in /nix/store/yv3lvwl6vdlhsr3hd34a86gqq48zj3gn-python3.13-ocrmypdf-16.13.0 /nix/store/yv3lvwl6vdlhsr3hd34a86gqq48zj3gn-python3.13-ocrmypdf-16.13.0/lib/python3.13/site-packages/ocrmypdf/__main__.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/hwxyyva16ymysk5i1jwpx307gdlimiqm-python3-3.13.14/bin/python3" stripping (with command strip and flags -S -p) in /nix/store/yv3lvwl6vdlhsr3hd34a86gqq48zj3gn-python3.13-ocrmypdf-16.13.0/lib /nix/store/yv3lvwl6vdlhsr3hd34a86gqq48zj3gn-python3.13-ocrmypdf-16.13.0/bin shrinking RPATHs of ELF executables and libraries in /nix/store/zmi8f9q8zd6jajd19mf05bwczzgai4vw-python3.13-ocrmypdf-16.13.0-dist checking for references to /build/ in /nix/store/zmi8f9q8zd6jajd19mf05bwczzgai4vw-python3.13-ocrmypdf-16.13.0-dist... patching script interpreter paths in /nix/store/zmi8f9q8zd6jajd19mf05bwczzgai4vw-python3.13-ocrmypdf-16.13.0-dist Rewriting #!/nix/store/hwxyyva16ymysk5i1jwpx307gdlimiqm-python3-3.13.14/bin/python3.13 to #!/nix/store/hwxyyva16ymysk5i1jwpx307gdlimiqm-python3-3.13.14 wrapping `/nix/store/yv3lvwl6vdlhsr3hd34a86gqq48zj3gn-python3.13-ocrmypdf-16.13.0/bin/ocrmypdf'... Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Check whether the following modules can be imported: ocrmypdf Running phase: pythonMetadataCheckPhase Executing pythonMetadataCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest --numprocesses=48 ============================= test session starts ============================== platform linux -- Python 3.13.14, pytest-9.1.1, pluggy-1.6.0 rootdir: /build/source configfile: pyproject.toml testpaths: tests plugins: hypothesis-6.156.1, xdist-3.8.0 48 workers [412 items] .s.s..........ss...s.s.......s.s...x..............x....s................ [ 17%] .........sss....x....................s............ss.....s.............. [ 34%] ..s..............................................x...................... [ 52%] ...sss.sssssssssssssssss............s.....s........s.................... [ 69%] ........................................................................ [ 87%] .................................s.................. [100%] =============================== warnings summary =============================== tests/test_optimize.py: 10 warnings /nix/store/yv3lvwl6vdlhsr3hd34a86gqq48zj3gn-python3.13-ocrmypdf-16.13.0/lib/python3.13/site-packages/ocrmypdf/optimize.py:619: DeprecationWarning: Page.images is deprecated and will be removed in a future version. Use Page.get_images() instead, which by default also finds images nested inside form XObjects. foreign_image = next(iter(pdf_image.pages[0].images.values())) tests/test_optimize.py::test_multiple_pngs tests/test_optimize.py::test_multiple_pngs /build/source/tests/test_optimize.py:184: DeprecationWarning: Page.images is deprecated and will be removed in a future version. Use Page.get_images() instead, which by default also finds images nested inside form XObjects. inim = next(iter(inpdf.pages[n].images.values())) tests/test_optimize.py::test_multiple_pngs tests/test_optimize.py::test_multiple_pngs /build/source/tests/test_optimize.py:185: DeprecationWarning: Page.images is deprecated and will be removed in a future version. Use Page.get_images() instead, which by default also finds images nested inside form XObjects. outim = next(iter(outpdf.pages[n].images.values())) tests/test_optimize.py::test_jbig2_lossy[True] tests/test_optimize.py::test_jbig2_lossy[False] /build/source/tests/test_optimize.py:108: DeprecationWarning: Page.images is deprecated and will be removed in a future version. Use Page.get_images() instead, which by default also finds images nested inside form XObjects. pim = pikepdf.PdfImage(next(iter(pdf.pages[0].images.values()))) tests/test_optimize.py::test_flate_to_jbig2 /build/source/tests/test_optimize.py:142: DeprecationWarning: Page.images is deprecated and will be removed in a future version. Use Page.get_images() instead, which by default also finds images nested inside form XObjects. pim = pikepdf.PdfImage(next(iter(pdf.pages[0].images.values()))) tests/test_semfree.py: 12 warnings /nix/store/hwxyyva16ymysk5i1jwpx307gdlimiqm-python3-3.13.14/lib/python3.13/multiprocessing/popen_fork.py:73: DeprecationWarning: This process (pid=462) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========== 367 passed, 42 skipped, 4 xfailed, 29 warnings in 59.06s =========== Finished executing pytestCheckPhase pytestCheckPhase completed in 1 minutes 1 seconds Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase