Summary: | Обновить python3-module-shellingham до версии 1.5.3 | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Alexandr Shashkin <dutyrok> |
Component: | python3-module-shellingham | Assignee: | Yuri N. Sedunov <aris> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P5 | CC: | aris, dutyrok |
Version: | unstable | ||
Hardware: | x86_64 | ||
OS: | Linux |
Description
Alexandr Shashkin
2023-09-13 17:37:29 MSK
Проваливает тесты 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 Благодарю |