В версии 1.5.2 исправили баг https://github.com/sarugaku/shellingham/issues/77 . Ну а так как последняя версия 1.5.3, то надо обновить до нее.
Проваливает тесты 1.5.3 self = <unittest.mock._patch object at 0xf6705690> def get_original(self): target = self.getter() name = self.attribute original = DEFAULT local = False try: original = target.__dict__[name] except (AttributeError, KeyError): original = getattr(target, name, DEFAULT) else: local = True if name in _builtins and isinstance(target, ModuleType): self.create = True if not self.create and original is DEFAULT: > raise AttributeError( "%s does not have the attribute %r" % (target, name) ) E AttributeError: <module 'shellingham.posix' from '/usr/src/tmp/python3-module-shellingham-buildroot/usr/lib/python3/site-packages/shellingham/posix/__init__.py'> does not have the attribute '_get_process_mapping' /usr/lib/python3.11/unittest/mock.py:1416: AttributeError
Похоже это вина тестов https://github.com/sarugaku/shellingham/issues/80 Может отрубить их, пока не исправят. Или есть https://github.com/sarugaku/shellingham/pull/82/files пул реквест, который правит тесты
#329510 AWAITING #1 sisyphus srpm=python3-module-shellingham-1.5.3-alt1.src.rpm
Благодарю
python3-module-shellingham-1.5.3-alt1 -> sisyphus: Wed Sep 13 2023 Yuri N. Sedunov <aris@altlinux> 1.5.3-alt1 - 1.5.3 (ALT #47563)