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

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

    <bug>
          <bug_id>56358</bug_id>
          
          <creation_ts>2025-10-13 11:43:57 +0300</creation_ts>
          <short_desc>ModuleNotFoundError: No module named &apos;audioop&apos;</short_desc>
          <delta_ts>2025-10-15 13:31:12 +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-pydub</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="Aleksandr Shamaraev">shad</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>grenka</cc>
    
    <cc>root</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>274304</commentid>
    <comment_count>0</comment_count>
    <who name="Aleksandr Shamaraev">shad</who>
    <bug_when>2025-10-13 11:43:57 +0300</bug_when>
    <thetext>Добрый день.

~ ❯ pyzam -s
Traceback (most recent call last):
  File &quot;/usr/lib/python3/site-packages/pydub/utils.py&quot;, line 14, in &lt;module&gt;
    import audioop
ModuleNotFoundError: No module named &apos;audioop&apos;

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;/usr/bin/pyzam&quot;, line 5, in &lt;module&gt;
    from pyzam.__main__ import main
  File &quot;/usr/lib/python3/site-packages/pyzam/__main__.py&quot;, line 12, in &lt;module&gt;
    from pyzam import identify, record
  File &quot;/usr/lib/python3/site-packages/pyzam/identify.py&quot;, line 8, in &lt;module&gt;
    from shazamio import Shazam
  File &quot;/usr/lib/python3/site-packages/shazamio/__init__.py&quot;, line 2, in &lt;module&gt;
    from .api import Shazam
  File &quot;/usr/lib/python3/site-packages/shazamio/api.py&quot;, line 8, in &lt;module&gt;
    from pydub import AudioSegment
  File &quot;/usr/lib/python3/site-packages/pydub/__init__.py&quot;, line 1, in &lt;module&gt;
    from .audio_segment import AudioSegment
  File &quot;/usr/lib/python3/site-packages/pydub/audio_segment.py&quot;, line 11, in &lt;module&gt;
    from .utils import mediainfo_json, fsdecode
  File &quot;/usr/lib/python3/site-packages/pydub/utils.py&quot;, line 16, in &lt;module&gt;
    import pyaudioop as audioop
ModuleNotFoundError: No module named &apos;pyaudioop&apos;
~ ❯</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274334</commentid>
    <comment_count>1</comment_count>
    <who name="Aleksandr Shamaraev">shad</who>
    <bug_when>2025-10-13 16:07:37 +0300</bug_when>
    <thetext>оно не видит python3-module-audioop-lts, потому что его нет в системе

после до установки этого пакета, все работает, позволю себе предположить, может быть есть смысл либо добавить python3-module-audioop-lts к python3-module-pydub явно, или попробовать пересобрать python3-module-pydub ?

ну это мысли :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274526</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-10-14 23:19:25 +0300</bug_when>
    <thetext>python3-module-pydub-0.25.1-alt3 -&gt; sisyphus:

Mon Oct 13 2025 Grigory Ustinov &lt;grenka@altlinux&gt; 0.25.1-alt3
- Use relative import for pyaudioop fallback (Closes: #56358).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274595</commentid>
    <comment_count>3</comment_count>
    <who name="Aleksandr Shamaraev">shad</who>
    <bug_when>2025-10-15 13:31:12 +0300</bug_when>
    <thetext>Спасибо.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>