Bug#1120171: Fails to load regress module on start
Package: python3-check-jsonschema
Version: 0.34.1-1
Severity: grave
Hey,
When running check-jsonschema it simply throws an exception due to failing to
load the regress module:
$ check-jsonschema
Traceback (most recent call last):
File "/usr/bin/check-jsonschema", line 33, in <module>
sys.exit(load_entry_point('check-jsonschema==0.34.1', 'console_scripts', 'check-jsonschema')())
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/check-jsonschema", line 25, in importlib_load_entry_point
return next(matches).load()
~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 179, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1027, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/check_jsonschema/__init__.py", line 3, in <module>
from .cli import main
File "/usr/lib/python3/dist-packages/check_jsonschema/cli/__init__.py", line 1, in <module>
from .main_command import main
File "/usr/lib/python3/dist-packages/check_jsonschema/cli/main_command.py", line 11, in <module>
from ..checker import SchemaChecker
File "/usr/lib/python3/dist-packages/check_jsonschema/checker.py", line 11, in <module>
from .formats import FormatOptions
File "/usr/lib/python3/dist-packages/check_jsonschema/formats/__init__.py", line 8, in <module>
from ..regex_variants import RegexImplementation
File "/usr/lib/python3/dist-packages/check_jsonschema/regex_variants.py", line 6, in <module>
import regress
ModuleNotFoundError: No module named 'regress'
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, arm64
Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-check-jsonschema depends on:
ii python3 3.13.7-1
ii python3-click 8.2.0+0.really.8.1.8-1
ii python3-jsonschema 4.25.1-2
ii python3-requests 2.32.5+dfsg-1
ii python3-ruamel.yaml 0.18.10+ds-1
python3-check-jsonschema recommends no packages.
Versions of packages python3-check-jsonschema suggests:
pn python-check-jsonschema-doc <none>
-- no debconf information
Reply to: