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

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

    <bug>
          <bug_id>20612</bug_id>
          
          <creation_ts>2009-06-27 02:11:38 +0400</creation_ts>
          <short_desc>Падает на файлах с PEP 328: Absolute and Relative Imports</short_desc>
          <delta_ts>2009-06-27 23:38:48 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm-build-python</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>17154</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fr. Br. George">george</reporter>
          <assigned_to name="Ivan Zakharyaschev">imz</assigned_to>
          <cc>darktemplar</cc>
    
    <cc>george</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93826</commentid>
    <comment_count>0</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2009-06-27 02:11:38 +0400</bug_when>
    <thetext>Если модуль использует PEP 328 (&quot;from . import что-то&quot;), /usr/lib/rpm/python.req.py падает с диагностикой
  File &quot;/usr/lib/rpm/python.req.py&quot;, line 88, in match
    deps.append(node[2][1][1])
IndexError: string index out of range
find-requires: ERROR: /usr/lib/rpm/python.req failed

Причина в серьёзном отличии дерева разбора для &quot;from . import&quot; от классическогго &quot;from что-то import&quot;.
Возможно, такие запросы можно просто игнорировать, т. к. они приводят к зависимостям и от частей самого себя.

А пока пакеты, использующие PEP 328, просто не собираются!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93827</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2009-06-27 02:21:41 +0400</bug_when>
    <thetext>ack

*** This bug has been marked as a duplicate of bug 17154 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93869</commentid>
    <comment_count>2</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2009-06-27 23:38:48 +0400</bug_when>
    <thetext>Вот ведь тормоз я. И не я один причём :).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>