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

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

    <bug>
          <bug_id>50816</bug_id>
          
          <creation_ts>2024-07-04 12:16:54 +0300</creation_ts>
          <short_desc>Отсутствует поддержка модуля cdrom в python3-module-pygame</short_desc>
          <delta_ts>2024-07-04 15:25:39 +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-pygame</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</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="Tatyana Gagina">tatyana</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>grenka</cc>
    
    <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>248508</commentid>
    <comment_count>0</comment_count>
    <who name="Tatyana Gagina">tatyana</who>
    <bug_when>2024-07-04 12:16:54 +0300</bug_when>
    <thetext>Стенды, обновлённые до Sisyphus:
ALT Server x86-64
ALT Workstation K x86-64
ALT Workstation x86-64
ALT Education KDE/XFCE x86-64

Версия: python3-module-pygame-2.5.2-alt1

Шаги: 
Установить пакет:
# apt-get install -y  python3-module-pygame
# cd /usr/lib64/python3/site-packages/pygame/tests/
python3 ./cdrom_test.py

Результат на Sisyphus: вообще нет данного теста, в директории с тестами отсутствует.
&quot;python3: can&apos;t open file &apos;/usr/lib64/python3/site-packages/pygame/tests/./cdrom_test.py&apos;: [Errno 2] No such file or directory&quot;

Проверялось на p10, ошибка воспроизводится.
Версия: python3-module-pygame-2.0.1-alt1

Вывод на p10:
Traceback (most recent call last):
  File &quot;/usr/lib64/python3/site-packages/pygame/tests/./cdrom_test.py&quot;, line 7, in &lt;module&gt;
    pygame.cdrom.init()
AttributeError: module &apos;pygame&apos; has no attribute &apos;cdrom&apos;
Как причина: подмодуль cdrom  в  pygame  не  доступен  в  pygame

$ apt-cache showpkg &apos;python3(pygame)&apos;
Package: python3(pygame)
Versions:
Reverse Depends:
  thinksaber,python3(pygame) 0
  slingshot,python3(pygame) 0
  pysycache,python3(pygame) 0
  pydxcluster,python3(pygame) 0
  iapetal,python3(pygame) 0
  python3-module-pycairo-examples,python3(pygame) 0
  python3-module-kivy,python3(pygame) 0
  monsterz,python3(pygame) 0
Dependencies:
Provides:
Reverse Provides:
python3-module-pygame 2.5.2-alt1:sisyphus+347127.3200.3.1@1714471134

Как вариант:  использовать альтернативные  библиотеки (какие?),  которые  предоставляют  необходимый  функционал, если этот функционал планируется поддерживать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>248517</commentid>
    <comment_count>1</comment_count>
    <who name="Tatyana Gagina">tatyana</who>
    <bug_when>2024-07-04 14:22:50 +0300</bug_when>
    <thetext>Пометка: на ALT Server x86-64 проверялось только наличие данного теста (нет графической оболочки).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>248529</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2024-07-04 15:25:39 +0300</bug_when>
    <thetext>А зачем вам модуль для cdrom? Он давно устарел и выкинут из pygame.

| :sl:`pygame module for audio cdrom control`

.. warning::
&lt;--&gt;This module is non functional in pygame 2.0 and above, unless you have manually compiled pygame with SDL1.
&lt;--&gt;This module will not be supported in the future.
&lt;--&gt;One alternative for python cdrom functionality is `pycdio &lt;https://pypi.org/project/pycdio/&gt;`_.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>