Skip to content

✨ Support --version option in CLI #110

✨ Support --version option in CLI

✨ Support --version option in CLI #110

GitHub Actions / Tests Results - 3.10 failed Jul 19, 2024 in 0s

0 passed, 19 failed and 0 skipped

Tests failed

❌ 3.10-junit.xml

19 tests were completed in 966ms with 0 passed, 19 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 19❌ 966ms

❌ 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.10-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Results - 3.10

pytest ► src.dinglehopper.tests.extracted_text_test

Failed test found in:
  3.10-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.10.14/x64/lib/python3.10/importlib/__init__.py:126: 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.10.14/x64/lib/python3.10/site-packages/ocrd_utils/__init__.py:108: in <module>
    from .constants import (
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/constants.py:21: in <module>
    VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/introspect.py:62: in dist_version
    return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:996: in version
    return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:969: in distribution
    return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:548: 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.10-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Results - 3.10

pytest ► src.dinglehopper.tests.test_align

Failed test found in:
  3.10-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.10.14/x64/lib/python3.10/importlib/__init__.py:126: 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.10.14/x64/lib/python3.10/site-packages/ocrd_utils/__init__.py:108: in <module>
    from .constants import (
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/constants.py:21: in <module>
    VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/introspect.py:62: in dist_version
    return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:996: in version
    return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:969: in distribution
    return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:548: 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.10-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Results - 3.10

pytest ► src.dinglehopper.tests.test_character_error_rate

Failed test found in:
  3.10-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.10.14/x64/lib/python3.10/importlib/__init__.py:126: 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.10.14/x64/lib/python3.10/site-packages/ocrd_utils/__init__.py:108: in <module>
    from .constants import (
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/constants.py:21: in <module>
    VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/introspect.py:62: in dist_version
    return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:996: in version
    return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:969: in distribution
    return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:548: 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.10-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Results - 3.10

pytest ► src.dinglehopper.tests.test_edit_distance

Failed test found in:
  3.10-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.10.14/x64/lib/python3.10/importlib/__init__.py:126: 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.10.14/x64/lib/python3.10/site-packages/ocrd_utils/__init__.py:108: in <module>
    from .constants import (
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/constants.py:21: in <module>
    VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/introspect.py:62: in dist_version
    return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:996: in version
    return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:969: in distribution
    return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:548: 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.10-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Results - 3.10

pytest ► src.dinglehopper.tests.test_editops

Failed test found in:
  3.10-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.10.14/x64/lib/python3.10/importlib/__init__.py:126: 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.10.14/x64/lib/python3.10/site-packages/ocrd_utils/__init__.py:108: in <module>
    from .constants import (
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/constants.py:21: in <module>
    VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/introspect.py:62: in dist_version
    return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:996: in version
    return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:969: in distribution
    return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:548: 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.10-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Results - 3.10

pytest ► src.dinglehopper.tests.test_integ_align

Failed test found in:
  3.10-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.10.14/x64/lib/python3.10/importlib/__init__.py:126: 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.10.14/x64/lib/python3.10/site-packages/ocrd_utils/__init__.py:108: in <module>
    from .constants import (
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/constants.py:21: in <module>
    VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/introspect.py:62: in dist_version
    return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:996: in version
    return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:969: in distribution
    return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:548: 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.10-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Results - 3.10

pytest ► src.dinglehopper.tests.test_integ_bigger_texts

Failed test found in:
  3.10-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.10.14/x64/lib/python3.10/importlib/__init__.py:126: 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.10.14/x64/lib/python3.10/site-packages/ocrd_utils/__init__.py:108: in <module>
    from .constants import (
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/constants.py:21: in <module>
    VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/introspect.py:62: in dist_version
    return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:996: in version
    return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:969: in distribution
    return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:548: 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.10-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Results - 3.10

pytest ► src.dinglehopper.tests.test_integ_character_error_rate_ocr

Failed test found in:
  3.10-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.10.14/x64/lib/python3.10/importlib/__init__.py:126: 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.10.14/x64/lib/python3.10/site-packages/ocrd_utils/__init__.py:108: in <module>
    from .constants import (
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/constants.py:21: in <module>
    VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/introspect.py:62: in dist_version
    return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:996: in version
    return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:969: in distribution
    return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:548: 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.10-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Results - 3.10

pytest ► src.dinglehopper.tests.test_integ_cli_dir

Failed test found in:
  3.10-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.10.14/x64/lib/python3.10/importlib/__init__.py:126: 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.10.14/x64/lib/python3.10/site-packages/ocrd_utils/__init__.py:108: in <module>
    from .constants import (
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/constants.py:21: in <module>
    VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/introspect.py:62: in dist_version
    return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:996: in version
    return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:969: in distribution
    return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:548: 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.10-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Results - 3.10

pytest ► src.dinglehopper.tests.test_integ_cli_valid_json

Failed test found in:
  3.10-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.10.14/x64/lib/python3.10/importlib/__init__.py:126: 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.10.14/x64/lib/python3.10/site-packages/ocrd_utils/__init__.py:108: in <module>
    from .constants import (
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/constants.py:21: in <module>
    VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/introspect.py:62: in dist_version
    return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:996: in version
    return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:969: in distribution
    return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:548: 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.10-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Tests Results - 3.10

pytest ► src.dinglehopper.tests.test_integ_differences

Failed test found in:
  3.10-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.10.14/x64/lib/python3.10/importlib/__init__.py:126: 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.10.14/x64/lib/python3.10/site-packages/ocrd_utils/__init__.py:108: in <module>
    from .constants import (
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/constants.py:21: in <module>
    VERSION = dist_version('ocrd_modelfactory')
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/ocrd_utils/introspect.py:62: in dist_version
    return importlib_metadata.version(module)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:996: in version
    return distribution(distribution_name).version
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:969: in distribution
    return Distribution.from_name(distribution_name)
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/importlib/metadata/__init__.py:548: in from_name
    raise PackageNotFoundError(name)
E   importlib.metadata.PackageNotFoundError: No package metadata was found for ocrd_modelfactory