===> Testing for py39-pdf2docx-0.5.8 ===> py39-pdf2docx-0.5.8 depends on package: py39-pytest>=7,1 - found ===> py39-pdf2docx-0.5.8 depends on file: /usr/local/bin/python3.9 - found cd /usr/ports/textproc/py-pdf2docx/work-py39/pdf2docx-0.5.8 && /usr/bin/env -i HOME=/usr/ports/textproc/py-pdf2docx/work-py39 PWD="${PWD}" OSVERSION=1400502 PATH=/usr/local/libexec/ccache:/usr/ports/textproc/py-pdf2docx/work-py39/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin TERM=xterm-256color XDG_DATA_HOME=/usr/ports/textproc/py-pdf2docx/work-py39 XDG_CONFIG_HOME=/usr/ports/textproc/py-pdf2docx/work-py39 XDG_CACHE_HOME=/usr/ports/textproc/py-pdf2docx/work-py39/.cache HOME=/usr/ports/textproc/py-pdf2docx/work-py39 PATH=/usr/local/libexec/ccache:/usr/ports/textproc/py-pdf2docx/work-py39/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/textproc/py-pdf2docx/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/tmp/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" /usr/local/bin/python3.9 -m pytest -k '' -rs -v -o addopts= /usr/local/lib/python3.9/site-packages/pytest_benchmark/logger.py:46: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment. warner(PytestBenchmarkWarning(text)) ============================= test session starts ============================== platform freebsd14 -- Python 3.9.18, pytest-7.4.4, pluggy-1.4.0 -- /usr/local/bin/python3.9 cachedir: .pytest_cache Using --randomly-seed=3203888322 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('/usr/ports/textproc/py-pdf2docx/work-py39/pdf2docx-0.5.8/.hypothesis/examples')) benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000) PyQt5 5.15.10 -- Qt runtime 5.15.11 -- Qt compiled 5.15.12 rootdir: /usr/ports/textproc/py-pdf2docx/work-py39/pdf2docx-0.5.8 plugins: anyio-4.1.0, datadir-1.5.0, cov-4.1.0, randomly-3.12.0, timeout-2.1.0, time-machine-2.11.0, rerunfailures-11.1.2, flaky-3.7.0, forked-1.6.0, aspectlib-2.0.0, env-0.6.2, mock-3.10.0, hypothesis-6.98.6, mypy-0.10.3, checkdocs-2.10.1, flake8-1.1.1, enabler-3.0.0, trio-0.8.0, asyncio-0.22.0, subprocess-1.5.0, typeguard-4.1.5, benchmark-4.0.0, flakes-4.0.5, isort-3.1.0, xdist-3.5.0, qt-4.2.0, socket-0.7.0, httpbin-2.0.0, xdoctest-1.1.2 asyncio: mode=strict created: 4/4 workers 4 workers [59 items] scheduling tests via LoadScheduling pdf2docx/table/TableStructure.py::mypy pdf2docx/shape/Path.py::mypy pdf2docx/text/Char.py::mypy pdf2docx/image/Image.py::mypy [gw1] [ 1%] PASSED pdf2docx/shape/Path.py::mypy [gw0] [ 3%] PASSED pdf2docx/table/TableStructure.py::mypy setup.py::mypy-status pdf2docx/shape/Shapes.py::mypy [gw1] [ 5%] FAILED setup.py::mypy-status [gw0] [ 6%] PASSED pdf2docx/shape/Shapes.py::mypy [gw2] [ 8%] PASSED pdf2docx/image/Image.py::mypy pdf2docx/gui/__init__.py::mypy pdf2docx/gui/MainFrame.py::mypy pdf2docx/main.py::mypy [gw1] [ 10%] PASSED pdf2docx/gui/__init__.py::mypy [gw0] [ 11%] PASSED pdf2docx/main.py::mypy [gw2] [ 13%] PASSED pdf2docx/gui/MainFrame.py::mypy pdf2docx/text/Lines.py::mypy pdf2docx/page/RawPageFitz.py::mypy pdf2docx/table/__init__.py::mypy [gw1] [ 15%] PASSED pdf2docx/text/Lines.py::mypy [gw0] [ 16%] PASSED pdf2docx/page/RawPageFitz.py::mypy ::project pdf2docx/common/Collection.py::mypy [gw2] [ 18%] PASSED pdf2docx/table/__init__.py::mypy [gw0] [ 20%] PASSED pdf2docx/common/Collection.py::mypy pdf2docx/image/__init__.py::mypy pdf2docx/font/__init__.py::mypy [gw2] [ 22%] PASSED pdf2docx/image/__init__.py::mypy pdf2docx/layout/Column.py::mypy [gw0] [ 23%] PASSED pdf2docx/font/__init__.py::mypy [gw2] [ 25%] PASSED pdf2docx/layout/Column.py::mypy pdf2docx/common/Block.py::mypy test/test.py::mypy [gw2] [ 27%] PASSED test/test.py::mypy [gw0] [ 28%] PASSED pdf2docx/common/Block.py::mypy pdf2docx/page/RawPageFactory.py::mypy pdf2docx/page/__init__.py::mypy [gw2] [ 30%] PASSED pdf2docx/page/RawPageFactory.py::mypy [gw0] [ 32%] PASSED pdf2docx/page/__init__.py::mypy pdf2docx/layout/Sections.py::mypy pdf2docx/text/Line.py::mypy [gw3] [ 33%] PASSED pdf2docx/text/Char.py::mypy [gw2] [ 35%] PASSED pdf2docx/layout/Sections.py::mypy pdf2docx/layout/Section.py::mypy [gw0] [ 37%] PASSED pdf2docx/text/Line.py::mypy pdf2docx/text/TextSpan.py::mypy [gw3] [ 38%] PASSED pdf2docx/layout/Section.py::mypy pdf2docx/common/Element.py::mypy [gw2] [ 40%] PASSED pdf2docx/text/TextSpan.py::mypy pdf2docx/table/Border.py::mypy [gw0] [ 42%] PASSED pdf2docx/common/Element.py::mypy pdf2docx/page/BasePage.py::mypy [gw2] [ 44%] PASSED pdf2docx/page/BasePage.py::mypy pdf2docx/layout/Blocks.py::mypy [gw3] [ 45%] PASSED pdf2docx/table/Border.py::mypy pdf2docx/common/docx.py::mypy [gw0] [ 47%] PASSED pdf2docx/layout/Blocks.py::mypy pdf2docx/table/Rows.py::mypy [gw3] [ 49%] PASSED pdf2docx/table/Rows.py::mypy pdf2docx/image/ImagesExtractor.py::mypy [gw2] [ 50%] PASSED pdf2docx/common/docx.py::mypy pdf2docx/table/TablesConstructor.py::mypy [gw0] [ 52%] FAILED pdf2docx/image/ImagesExtractor.py::mypy pdf2docx/table/Cell.py::mypy [gw3] [ 54%] PASSED pdf2docx/table/TablesConstructor.py::mypy pdf2docx/page/Pages.py::mypy [gw2] [ 55%] PASSED pdf2docx/table/Cell.py::mypy pdf2docx/common/constants.py::mypy [gw0] [ 57%] PASSED pdf2docx/page/Pages.py::mypy pdf2docx/image/ImageSpan.py::mypy [gw3] [ 59%] PASSED pdf2docx/common/constants.py::mypy pdf2docx/page/Page.py::mypy [gw2] [ 61%] PASSED pdf2docx/image/ImageSpan.py::mypy pdf2docx/common/__init__.py::mypy [gw0] [ 62%] PASSED pdf2docx/page/Page.py::mypy [gw3] [ 64%] PASSED pdf2docx/common/__init__.py::mypy pdf2docx/image/ImageBlock.py::mypy pdf2docx/page/RawPage.py::mypy pdf2docx/common/algorithm.py::mypy [gw2] [ 66%] PASSED pdf2docx/image/ImageBlock.py::mypy [gw3] [ 67%] PASSED pdf2docx/common/algorithm.py::mypy [gw0] [ 69%] PASSED pdf2docx/page/RawPage.py::mypy pdf2docx/layout/__init__.py::mypy pdf2docx/text/Spans.py::mypy pdf2docx/common/share.py::mypy [gw2] [ 71%] PASSED pdf2docx/layout/__init__.py::mypy [gw3] [ 72%] PASSED pdf2docx/common/share.py::mypy [gw0] [ 74%] PASSED pdf2docx/text/Spans.py::mypy pdf2docx/layout/Layout.py::mypy pdf2docx/text/TextBlock.py::mypy setup.py::mypy [gw2] [ 76%] PASSED pdf2docx/layout/Layout.py::mypy [gw0] [ 77%] PASSED pdf2docx/text/TextBlock.py::mypy [gw3] [ 79%] PASSED setup.py::mypy pdf2docx/converter.py::mypy pdf2docx/shape/Paths.py::mypy pdf2docx/__init__.py::mypy [gw2] [ 81%] PASSED pdf2docx/converter.py::mypy [gw0] [ 83%] PASSED pdf2docx/shape/Paths.py::mypy [gw3] [ 84%] PASSED pdf2docx/__init__.py::mypy pdf2docx/font/Fonts.py::mypy pdf2docx/table/Cells.py::mypy pdf2docx/table/Row.py::mypy [gw0] [ 86%] PASSED pdf2docx/table/Cells.py::mypy [gw2] [ 88%] PASSED pdf2docx/font/Fonts.py::mypy [gw3] [ 89%] PASSED pdf2docx/table/Row.py::mypy pdf2docx/gui/App.py::mypy pdf2docx/shape/__init__.py::mypy pdf2docx/text/__init__.py::mypy [gw2] [ 91%] PASSED pdf2docx/gui/App.py::mypy [gw0] [ 93%] PASSED pdf2docx/shape/__init__.py::mypy [gw3] [ 94%] PASSED pdf2docx/text/__init__.py::mypy /usr/local/lib/python3.9/site-packages/_pytest/main.py:306: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. Plugin: terminalreporter, Hook: pytest_sessionfinish AttributeError: 'Config' object has no attribute '_mypy_results_path' For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning config.hook.pytest_sessionfinish( /usr/local/lib/python3.9/site-packages/_pytest/main.py:306: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. Plugin: terminalreporter, Hook: pytest_sessionfinish AttributeError: 'Config' object has no attribute '_mypy_results_path' For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning config.hook.pytest_sessionfinish( /usr/local/lib/python3.9/site-packages/_pytest/main.py:306: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. Plugin: terminalreporter, Hook: pytest_sessionfinish AttributeError: 'Config' object has no attribute '_mypy_results_path' For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning config.hook.pytest_sessionfinish( [gw1] [ 96%] PASSED ::project pdf2docx/shape/Shape.py::mypy [gw1] [ 98%] PASSED pdf2docx/shape/Shape.py::mypy pdf2docx/table/TableBlock.py::mypy [gw1] [100%] PASSED pdf2docx/table/TableBlock.py::mypy /usr/local/lib/python3.9/site-packages/_pytest/main.py:306: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. Plugin: terminalreporter, Hook: pytest_sessionfinish AttributeError: 'Config' object has no attribute '_mypy_results_path' For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning config.hook.pytest_sessionfinish( /usr/local/lib/python3.9/site-packages/coverage/report_core.py:115: CoverageWarning: Couldn't parse '/usr/ports/textproc/py-pdf2docx/work-py39/pdf2docx-0.5.8/config-3.9.py': No source for code: '/usr/ports/textproc/py-pdf2docx/work-py39/pdf2docx-0.5.8/config-3.9.py'. (couldnt-parse) coverage._warn(msg, slug="couldnt-parse") /usr/local/lib/python3.9/site-packages/coverage/report_core.py:115: CoverageWarning: Couldn't parse '/usr/ports/textproc/py-pdf2docx/work-py39/pdf2docx-0.5.8/config.py': No source for code: '/usr/ports/textproc/py-pdf2docx/work-py39/pdf2docx-0.5.8/config.py'. (couldnt-parse) coverage._warn(msg, slug="couldnt-parse") =================================== FAILURES =================================== _________________________________ test session _________________________________ [gw1] freebsd14 -- Python 3.9.18 /usr/local/bin/python3.9 mypy exited with status 2. ______________________ pdf2docx/image/ImagesExtractor.py _______________________ [gw0] freebsd14 -- Python 3.9.18 /usr/local/bin/python3.9 60: error: invalid syntax [syntax] =============================== warnings summary =============================== pdf2docx/text/Line.py:20 pdf2docx/text/Line.py:20 pdf2docx/text/Line.py:20 pdf2docx/text/Line.py:20 /usr/ports/textproc/py-pdf2docx/work-py39/pdf2docx-0.5.8/pdf2docx/text/Line.py:20: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working from collections import Iterable -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -------- coverage: platform freebsd14, python 3.9.18-final-0 --------- Name Stmts Miss Cover ------------------------------------------------------- pdf2docx/__init__.py 3 0 100% pdf2docx/common/Block.py 66 36 45% pdf2docx/common/Collection.py 150 112 25% pdf2docx/common/Element.py 84 56 33% pdf2docx/common/__init__.py 0 0 100% pdf2docx/common/algorithm.py 152 139 9% pdf2docx/common/constants.py 21 0 100% pdf2docx/common/docx.py 171 132 23% pdf2docx/common/share.py 128 70 45% pdf2docx/converter.py 175 130 26% pdf2docx/font/Fonts.py 106 84 21% pdf2docx/font/__init__.py 0 0 100% pdf2docx/gui/__init__.py 0 0 100% pdf2docx/image/Image.py 33 20 39% pdf2docx/image/ImageBlock.py 32 18 44% pdf2docx/image/ImageSpan.py 8 3 62% pdf2docx/image/ImagesExtractor.py 125 104 17% pdf2docx/image/__init__.py 0 0 100% pdf2docx/layout/Blocks.py 273 225 18% pdf2docx/layout/Column.py 14 5 64% pdf2docx/layout/Layout.py 51 33 35% pdf2docx/layout/Section.py 32 19 41% pdf2docx/layout/Sections.py 46 34 26% pdf2docx/layout/__init__.py 0 0 100% pdf2docx/main.py 52 38 27% pdf2docx/page/BasePage.py 12 6 50% pdf2docx/page/Page.py 68 49 28% pdf2docx/page/Pages.py 34 25 26% pdf2docx/page/RawPage.py 134 105 22% pdf2docx/page/RawPageFactory.py 9 4 56% pdf2docx/page/RawPageFitz.py 75 58 23% pdf2docx/page/__init__.py 0 0 100% pdf2docx/shape/Path.py 157 112 29% pdf2docx/shape/Paths.py 60 45 25% pdf2docx/shape/Shape.py 138 86 38% pdf2docx/shape/Shapes.py 108 82 24% pdf2docx/shape/__init__.py 0 0 100% pdf2docx/table/Cell.py 63 49 22% pdf2docx/table/Cells.py 13 7 46% pdf2docx/table/Row.py 34 21 38% pdf2docx/table/Rows.py 9 4 56% pdf2docx/table/TableBlock.py 67 42 37% pdf2docx/table/__init__.py 0 0 100% pdf2docx/text/Char.py 22 14 36% pdf2docx/text/Line.py 74 47 36% pdf2docx/text/Lines.py 131 112 15% pdf2docx/text/Spans.py 31 20 35% pdf2docx/text/TextBlock.py 189 156 17% pdf2docx/text/TextSpan.py 178 149 16% pdf2docx/text/__init__.py 0 0 100% ------------------------------------------------------- TOTAL 3328 2451 26% ===================================== mypy ===================================== Found 1 error in 1 file (errors prevented further checking) ================== 2 failed, 57 passed, 4 warnings in 24.31s =================== *** Error code 1 Stop. make: stopped in /usr/ports/textproc/py-pdf2docx