✨ Support --version option in CLI #110
0 passed, 19 failed and 0 skipped
❌ 3.12-junit.xml
19 tests were completed in 1s with 0 passed, 19 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 19❌ | 1s |
❌ pytest
❌ src.dinglehopper.tests.extracted_text_test
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/extracted_text_test.py'.
❌ src.dinglehopper.tests.test_align
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_align.py'.
❌ src.dinglehopper.tests.test_character_error_rate
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_character_error_rate.py'.
❌ src.dinglehopper.tests.test_edit_distance
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_edit_distance.py'.
❌ src.dinglehopper.tests.test_editops
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_editops.py'.
❌ src.dinglehopper.tests.test_integ_align
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_align.py'.
❌ src.dinglehopper.tests.test_integ_bigger_texts
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_bigger_texts.py'.
❌ src.dinglehopper.tests.test_integ_character_error_rate_ocr
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_character_error_rate_ocr.py'.
❌ src.dinglehopper.tests.test_integ_cli_dir
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_cli_dir.py'.
❌ src.dinglehopper.tests.test_integ_cli_valid_json
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_cli_valid_json.py'.
❌ src.dinglehopper.tests.test_integ_differences
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_differences.py'.
❌ src.dinglehopper.tests.test_integ_edit_distance_ocr
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_edit_distance_ocr.py'.
❌ src.dinglehopper.tests.test_integ_empty_files
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_empty_files.py'.
❌ src.dinglehopper.tests.test_integ_ocrd_cli
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_ocrd_cli.py'.
❌ src.dinglehopper.tests.test_integ_summarize
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_summarize.py'.
❌ src.dinglehopper.tests.test_integ_table_extraction
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_table_extraction.py'.
❌ src.dinglehopper.tests.test_integ_word_error_rate_ocr
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_word_error_rate_ocr.py'.
❌ src.dinglehopper.tests.test_ocr_files
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_ocr_files.py'.
❌ src.dinglehopper.tests.test_word_error_rate
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_word_error_rate.py'.
Annotations
Check failure on line 0 in 3.12-junit.xml
github-actions / Tests Results - 3.12
pytest ► src.dinglehopper.tests.extracted_text_test
Failed test found in:
3.12-junit.xml
Error:
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/extracted_text_test.py'.
Raw output
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/extracted_text_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:397: in from_name
return next(cls.discover(name=name))
E StopIteration
During handling of the above exception, another exception occurred:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dinglehopper/__init__.py:2: in <module>
from .character_error_rate import character_error_rate, character_error_rate_n
dinglehopper/character_error_rate.py:7: in <module>
from .edit_distance import distance
dinglehopper/edit_distance.py:8: in <module>
from .extracted_text import ExtractedText
dinglehopper/extracted_text.py:12: in <module>
from ocrd_utils import getLogger
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/__init__.py:108: in <module>
from .constants import (
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/constants.py:21: in <module>
VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/introspect.py:62: in dist_version
return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:889: in version
return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:862: in distribution
return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:399: in from_name
raise PackageNotFoundError(name)
E importlib.metadata.PackageNotFoundError: No package metadata was found for ocrd_modelfactory
Check failure on line 0 in 3.12-junit.xml
github-actions / Tests Results - 3.12
pytest ► src.dinglehopper.tests.test_align
Failed test found in:
3.12-junit.xml
Error:
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_align.py'.
Raw output
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_align.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:397: in from_name
return next(cls.discover(name=name))
E StopIteration
During handling of the above exception, another exception occurred:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dinglehopper/__init__.py:2: in <module>
from .character_error_rate import character_error_rate, character_error_rate_n
dinglehopper/character_error_rate.py:7: in <module>
from .edit_distance import distance
dinglehopper/edit_distance.py:8: in <module>
from .extracted_text import ExtractedText
dinglehopper/extracted_text.py:12: in <module>
from ocrd_utils import getLogger
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/__init__.py:108: in <module>
from .constants import (
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/constants.py:21: in <module>
VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/introspect.py:62: in dist_version
return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:889: in version
return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:862: in distribution
return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:399: in from_name
raise PackageNotFoundError(name)
E importlib.metadata.PackageNotFoundError: No package metadata was found for ocrd_modelfactory
Check failure on line 0 in 3.12-junit.xml
github-actions / Tests Results - 3.12
pytest ► src.dinglehopper.tests.test_character_error_rate
Failed test found in:
3.12-junit.xml
Error:
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_character_error_rate.py'.
Raw output
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_character_error_rate.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:397: in from_name
return next(cls.discover(name=name))
E StopIteration
During handling of the above exception, another exception occurred:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dinglehopper/__init__.py:2: in <module>
from .character_error_rate import character_error_rate, character_error_rate_n
dinglehopper/character_error_rate.py:7: in <module>
from .edit_distance import distance
dinglehopper/edit_distance.py:8: in <module>
from .extracted_text import ExtractedText
dinglehopper/extracted_text.py:12: in <module>
from ocrd_utils import getLogger
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/__init__.py:108: in <module>
from .constants import (
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/constants.py:21: in <module>
VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/introspect.py:62: in dist_version
return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:889: in version
return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:862: in distribution
return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:399: in from_name
raise PackageNotFoundError(name)
E importlib.metadata.PackageNotFoundError: No package metadata was found for ocrd_modelfactory
Check failure on line 0 in 3.12-junit.xml
github-actions / Tests Results - 3.12
pytest ► src.dinglehopper.tests.test_edit_distance
Failed test found in:
3.12-junit.xml
Error:
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_edit_distance.py'.
Raw output
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_edit_distance.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:397: in from_name
return next(cls.discover(name=name))
E StopIteration
During handling of the above exception, another exception occurred:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dinglehopper/__init__.py:2: in <module>
from .character_error_rate import character_error_rate, character_error_rate_n
dinglehopper/character_error_rate.py:7: in <module>
from .edit_distance import distance
dinglehopper/edit_distance.py:8: in <module>
from .extracted_text import ExtractedText
dinglehopper/extracted_text.py:12: in <module>
from ocrd_utils import getLogger
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/__init__.py:108: in <module>
from .constants import (
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/constants.py:21: in <module>
VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/introspect.py:62: in dist_version
return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:889: in version
return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:862: in distribution
return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:399: in from_name
raise PackageNotFoundError(name)
E importlib.metadata.PackageNotFoundError: No package metadata was found for ocrd_modelfactory
Check failure on line 0 in 3.12-junit.xml
github-actions / Tests Results - 3.12
pytest ► src.dinglehopper.tests.test_editops
Failed test found in:
3.12-junit.xml
Error:
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_editops.py'.
Raw output
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_editops.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:397: in from_name
return next(cls.discover(name=name))
E StopIteration
During handling of the above exception, another exception occurred:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dinglehopper/__init__.py:2: in <module>
from .character_error_rate import character_error_rate, character_error_rate_n
dinglehopper/character_error_rate.py:7: in <module>
from .edit_distance import distance
dinglehopper/edit_distance.py:8: in <module>
from .extracted_text import ExtractedText
dinglehopper/extracted_text.py:12: in <module>
from ocrd_utils import getLogger
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/__init__.py:108: in <module>
from .constants import (
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/constants.py:21: in <module>
VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/introspect.py:62: in dist_version
return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:889: in version
return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:862: in distribution
return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:399: in from_name
raise PackageNotFoundError(name)
E importlib.metadata.PackageNotFoundError: No package metadata was found for ocrd_modelfactory
Check failure on line 0 in 3.12-junit.xml
github-actions / Tests Results - 3.12
pytest ► src.dinglehopper.tests.test_integ_align
Failed test found in:
3.12-junit.xml
Error:
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_align.py'.
Raw output
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_align.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:397: in from_name
return next(cls.discover(name=name))
E StopIteration
During handling of the above exception, another exception occurred:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dinglehopper/__init__.py:2: in <module>
from .character_error_rate import character_error_rate, character_error_rate_n
dinglehopper/character_error_rate.py:7: in <module>
from .edit_distance import distance
dinglehopper/edit_distance.py:8: in <module>
from .extracted_text import ExtractedText
dinglehopper/extracted_text.py:12: in <module>
from ocrd_utils import getLogger
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/__init__.py:108: in <module>
from .constants import (
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/constants.py:21: in <module>
VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/introspect.py:62: in dist_version
return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:889: in version
return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:862: in distribution
return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:399: in from_name
raise PackageNotFoundError(name)
E importlib.metadata.PackageNotFoundError: No package metadata was found for ocrd_modelfactory
Check failure on line 0 in 3.12-junit.xml
github-actions / Tests Results - 3.12
pytest ► src.dinglehopper.tests.test_integ_bigger_texts
Failed test found in:
3.12-junit.xml
Error:
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_bigger_texts.py'.
Raw output
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_bigger_texts.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:397: in from_name
return next(cls.discover(name=name))
E StopIteration
During handling of the above exception, another exception occurred:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dinglehopper/__init__.py:2: in <module>
from .character_error_rate import character_error_rate, character_error_rate_n
dinglehopper/character_error_rate.py:7: in <module>
from .edit_distance import distance
dinglehopper/edit_distance.py:8: in <module>
from .extracted_text import ExtractedText
dinglehopper/extracted_text.py:12: in <module>
from ocrd_utils import getLogger
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/__init__.py:108: in <module>
from .constants import (
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/constants.py:21: in <module>
VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/introspect.py:62: in dist_version
return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:889: in version
return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:862: in distribution
return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:399: in from_name
raise PackageNotFoundError(name)
E importlib.metadata.PackageNotFoundError: No package metadata was found for ocrd_modelfactory
Check failure on line 0 in 3.12-junit.xml
github-actions / Tests Results - 3.12
pytest ► src.dinglehopper.tests.test_integ_character_error_rate_ocr
Failed test found in:
3.12-junit.xml
Error:
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_character_error_rate_ocr.py'.
Raw output
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_character_error_rate_ocr.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:397: in from_name
return next(cls.discover(name=name))
E StopIteration
During handling of the above exception, another exception occurred:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dinglehopper/__init__.py:2: in <module>
from .character_error_rate import character_error_rate, character_error_rate_n
dinglehopper/character_error_rate.py:7: in <module>
from .edit_distance import distance
dinglehopper/edit_distance.py:8: in <module>
from .extracted_text import ExtractedText
dinglehopper/extracted_text.py:12: in <module>
from ocrd_utils import getLogger
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/__init__.py:108: in <module>
from .constants import (
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/constants.py:21: in <module>
VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/introspect.py:62: in dist_version
return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:889: in version
return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:862: in distribution
return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:399: in from_name
raise PackageNotFoundError(name)
E importlib.metadata.PackageNotFoundError: No package metadata was found for ocrd_modelfactory
Check failure on line 0 in 3.12-junit.xml
github-actions / Tests Results - 3.12
pytest ► src.dinglehopper.tests.test_integ_cli_dir
Failed test found in:
3.12-junit.xml
Error:
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_cli_dir.py'.
Raw output
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_cli_dir.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:397: in from_name
return next(cls.discover(name=name))
E StopIteration
During handling of the above exception, another exception occurred:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dinglehopper/__init__.py:2: in <module>
from .character_error_rate import character_error_rate, character_error_rate_n
dinglehopper/character_error_rate.py:7: in <module>
from .edit_distance import distance
dinglehopper/edit_distance.py:8: in <module>
from .extracted_text import ExtractedText
dinglehopper/extracted_text.py:12: in <module>
from ocrd_utils import getLogger
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/__init__.py:108: in <module>
from .constants import (
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/constants.py:21: in <module>
VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/introspect.py:62: in dist_version
return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:889: in version
return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:862: in distribution
return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:399: in from_name
raise PackageNotFoundError(name)
E importlib.metadata.PackageNotFoundError: No package metadata was found for ocrd_modelfactory
Check failure on line 0 in 3.12-junit.xml
github-actions / Tests Results - 3.12
pytest ► src.dinglehopper.tests.test_integ_cli_valid_json
Failed test found in:
3.12-junit.xml
Error:
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_cli_valid_json.py'.
Raw output
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_cli_valid_json.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:397: in from_name
return next(cls.discover(name=name))
E StopIteration
During handling of the above exception, another exception occurred:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dinglehopper/__init__.py:2: in <module>
from .character_error_rate import character_error_rate, character_error_rate_n
dinglehopper/character_error_rate.py:7: in <module>
from .edit_distance import distance
dinglehopper/edit_distance.py:8: in <module>
from .extracted_text import ExtractedText
dinglehopper/extracted_text.py:12: in <module>
from ocrd_utils import getLogger
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/__init__.py:108: in <module>
from .constants import (
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/constants.py:21: in <module>
VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/introspect.py:62: in dist_version
return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:889: in version
return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:862: in distribution
return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:399: in from_name
raise PackageNotFoundError(name)
E importlib.metadata.PackageNotFoundError: No package metadata was found for ocrd_modelfactory
Check failure on line 0 in 3.12-junit.xml
github-actions / Tests Results - 3.12
pytest ► src.dinglehopper.tests.test_integ_differences
Failed test found in:
3.12-junit.xml
Error:
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_differences.py'.
Raw output
ImportError while importing test module '/home/runner/work/dinglehopper/dinglehopper/src/dinglehopper/tests/test_integ_differences.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:397: in from_name
return next(cls.discover(name=name))
E StopIteration
During handling of the above exception, another exception occurred:
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
dinglehopper/__init__.py:2: in <module>
from .character_error_rate import character_error_rate, character_error_rate_n
dinglehopper/character_error_rate.py:7: in <module>
from .edit_distance import distance
dinglehopper/edit_distance.py:8: in <module>
from .extracted_text import ExtractedText
dinglehopper/extracted_text.py:12: in <module>
from ocrd_utils import getLogger
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/__init__.py:108: in <module>
from .constants import (
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/constants.py:21: in <module>
VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/ocrd_utils/introspect.py:62: in dist_version
return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:889: in version
return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:862: in distribution
return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/importlib/metadata/__init__.py:399: in from_name
raise PackageNotFoundError(name)
E importlib.metadata.PackageNotFoundError: No package metadata was found for ocrd_modelfactory