<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>47563</bug_id>
          
          <creation_ts>2023-09-13 17:37:29 +0300</creation_ts>
          <short_desc>Обновить python3-module-shellingham до версии 1.5.3</short_desc>
          <delta_ts>2023-09-13 18:40:52 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python3-module-shellingham</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandr Shashkin">dutyrok</reporter>
          <assigned_to name="Yuri N. Sedunov">aris</assigned_to>
          <cc>aris</cc>
    
    <cc>dutyrok</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>233049</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandr Shashkin">dutyrok</who>
    <bug_when>2023-09-13 17:37:29 +0300</bug_when>
    <thetext>В версии 1.5.2 исправили баг https://github.com/sarugaku/shellingham/issues/77 .
Ну а так как последняя версия 1.5.3, то надо обновить до нее.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233050</commentid>
    <comment_count>1</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2023-09-13 17:45:33 +0300</bug_when>
    <thetext>Проваливает тесты 1.5.3

self = &lt;unittest.mock._patch object at 0xf6705690&gt;

    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:
&gt;           raise AttributeError(
                &quot;%s does not have the attribute %r&quot; % (target, name)
            )
E           AttributeError: &lt;module &apos;shellingham.posix&apos; from &apos;/usr/src/tmp/python3-module-shellingham-buildroot/usr/lib/python3/site-packages/shellingham/posix/__init__.py&apos;&gt; does not have the attribute &apos;_get_process_mapping&apos;

/usr/lib/python3.11/unittest/mock.py:1416: AttributeError</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233052</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandr Shashkin">dutyrok</who>
    <bug_when>2023-09-13 17:49:40 +0300</bug_when>
    <thetext>Похоже это вина тестов https://github.com/sarugaku/shellingham/issues/80
Может отрубить их, пока не исправят.
Или есть https://github.com/sarugaku/shellingham/pull/82/files пул реквест, который правит тесты</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233055</commentid>
    <comment_count>3</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2023-09-13 18:01:46 +0300</bug_when>
    <thetext>#329510 AWAITING #1 sisyphus srpm=python3-module-shellingham-1.5.3-alt1.src.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233057</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandr Shashkin">dutyrok</who>
    <bug_when>2023-09-13 18:04:28 +0300</bug_when>
    <thetext>Благодарю</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233071</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-09-13 18:40:52 +0300</bug_when>
    <thetext>python3-module-shellingham-1.5.3-alt1 -&gt; sisyphus:

 Wed Sep 13 2023 Yuri N. Sedunov &lt;aris@altlinux&gt; 1.5.3-alt1
 - 1.5.3 (ALT #47563)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>