Bug 47563 - Обновить python3-module-shellingham до версии 1.5.3
Summary: Обновить python3-module-shellingham до версии 1.5.3
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python3-module-shellingham (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-13 17:37 MSK by Alexandr Shashkin
Modified: 2023-09-13 18:40 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Shashkin 2023-09-13 17:37:29 MSK
В версии 1.5.2 исправили баг https://github.com/sarugaku/shellingham/issues/77 .
Ну а так как последняя версия 1.5.3, то надо обновить до нее.
Comment 1 Yuri N. Sedunov 2023-09-13 17:45:33 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
Comment 2 Alexandr Shashkin 2023-09-13 17:49:40 MSK
Похоже это вина тестов https://github.com/sarugaku/shellingham/issues/80
Может отрубить их, пока не исправят.
Или есть https://github.com/sarugaku/shellingham/pull/82/files пул реквест, который правит тесты
Comment 3 Yuri N. Sedunov 2023-09-13 18:01:46 MSK
#329510 AWAITING #1 sisyphus srpm=python3-module-shellingham-1.5.3-alt1.src.rpm
Comment 4 Alexandr Shashkin 2023-09-13 18:04:28 MSK
Благодарю
Comment 5 Repository Robot 2023-09-13 18:40:52 MSK
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)