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

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

    <bug>
          <bug_id>61324</bug_id>
          
          <creation_ts>2026-11-03 16:11:40 +0300</creation_ts>
          <short_desc>python3-module-statsmodels: import statsmodels.api падает без python3-module-pandas-tests</short_desc>
          <delta_ts>2026-11-06 23:04:04 +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-pandas</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</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="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>rider</cc>
    
    <cc>slev</cc>
    
    <cc>toni</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>303857</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2026-11-03 16:11:40 +0300</bug_when>
    <thetext>В Сизифе statsmodels 1:0.14.6-alt1 не импортируется без python3-module-pandas-tests: import statsmodels.api → statsmodels/compat/pandas.py → from pandas.testing import ... → ModuleNotFoundError; запасного pandas.util.testing в pandas 3 нет. Upstream 0.15.0 импортирует pandas.testing так же.

Спек берёт runtime-зависимости из метаданных (AutoReq: yes, nopython3), поэтому python3(pandas.testing) не требуется, а в ALT модуль pandas.testing лежит в подпакете python3-module-pandas-tests.

Найдено при обновлении python3-module-changefinder (import changefinder падает).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303873</commentid>
    <comment_count>1</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2026-11-03 17:24:13 +0300</bug_when>
    <thetext>Модуль pandas/testing.py публичный и должен быть упакован в основном пакете python3-module-pandas (+ пакет pandas._testing) независимо от внутренних тестов проекта (python3-module-pandas-tests), так как клиенты pandas.testing ожидают его по адресу python3-module-pandas, а не в альтспецифичном -tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303874</commentid>
    <comment_count>2</comment_count>
    <who name="Stanislav Levin">slev</who>
    <bug_when>2026-11-03 17:25:58 +0300</bug_when>
    <thetext>Могу подготовить исправление, если сопровождающие не против.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303944</commentid>
    <comment_count>3</comment_count>
    <who name="Anton Vyatkin">toni</who>
    <bug_when>2026-11-05 14:47:47 +0300</bug_when>
    <thetext>я не против.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>304033</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-11-06 23:04:04 +0300</bug_when>
    <thetext>python3-module-pandas-3.0.6-alt2 -&gt; sisyphus:

Fri Nov 06 2026 Stanislav Levin &lt;slev@altlinux&gt; 3.0.6-alt2
- NMU: moved public testing module to the main package (closes: #61324).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>