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

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

    <bug>
          <bug_id>32203</bug_id>
          
          <creation_ts>2016-06-17 13:05:40 +0300</creation_ts>
          <short_desc>employing %python_req_hier would require a special treatment for six.moves.* deps</short_desc>
          <delta_ts>2016-06-17 13:05:40 +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>rpm-build-python</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</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>157350</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2016-06-17 13:05:40 +0300</bug_when>
    <thetext>There are widespread *.six.moves.* virtual deps (not provided by a .py file).

Example -- https://lists.altlinux.org/pipermail/sisyphus-incominger/2016-June/438175.html :

x86_64: NEW unmet dependencies detected:
python-module-pyrax#1.9.0-alt3	python2.7(six.moves)
python-module-pyrax#1.9.0-alt3	python2.7(six.moves.configparser)
python-module-pyrax#1.9.0-alt3	python2.7(six.moves.urllib)

An example of a &quot;hack&quot; to filter them (perhaps, they shouldn&apos;t be filtered away ideally, but translated?) -- http://git.altlinux.org/gears/s/salt.git?p=salt.git;a=blob;f=salt.spec;h=48ca2c6c9363705148114dd3d87de3fa8b63ec07;hb=HEAD :

# For more detailed autoreqs (under jnpr.*), which can be satisfied;
  19 # this fixes the general UNMET python2.X(jnpr), which used to appear.
  20 %python_req_hier
  21 # except &quot;virtual&quot; Provides of six.py, which cannot be autogenerated:
  22 %global to_filter_moves %py_dependencies salt\.ext\.six\.moves.*
  23 # {0} is to strip a space at the end:
  24 %filter_from_requires s:%to_filter_moves\{0\}::g
  25</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>