You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The integration breaks with upcoming HA version 2023.6:
Unexpected exception importing component custom_components.morph_numbers
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 813, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/morph_numbers/__init__.py", line 10, in <module>
MORPH = MorphNumber()
^^^^^^^^^^^^^
File "/config/custom_components/morph_numbers/utils.py", line 47, in __init__
morph = MorphAnalyzer()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pymorphy2/analyzer.py", line 224, in __init__
self._init_units(units)
File "/usr/local/lib/python3.11/site-packages/pymorphy2/analyzer.py", line 235, in _init_units
self._units.append((self._bound_unit(unit), False))
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pymorphy2/analyzer.py", line 246, in _bound_unit
unit = unit.clone()
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pymorphy2/units/base.py", line 35, in clone
return self.__class__(**self._get_params())
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pymorphy2/units/base.py", line 76, in _get_params
(key, getattr(self, key, None)) for key in self._get_param_names()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pymorphy2/units/base.py", line 70, in _get_param_names
args, varargs, kw, default = inspect.getargspec(cls.__init__)
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'
The text was updated successfully, but these errors were encountered:
The integration breaks with upcoming HA version 2023.6:
The text was updated successfully, but these errors were encountered: