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

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

    <bug>
          <bug_id>33977</bug_id>
          
          <creation_ts>2017-10-06 16:17:07 +0300</creation_ts>
          <short_desc>missing Requires: python3-module-sip</short_desc>
          <delta_ts>2017-10-06 23:56:52 +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-PyQt5</component>
          <version>unstable</version>
          <rep_platform>all</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Vitaly Lipatov">lav</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>166190</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2017-10-06 16:17:07 +0300</bug_when>
    <thetext>5.9-alt1

missing Requires: python3-module-sip:

-bash-4.3$ apt-repo --hsh-apt-config=/home/imz/.hasher/sisyphus/apt.conf test &apos;&apos; python3-module-PyQt5 &amp;&amp; { hsh-run --mount=/proc,/dev/pts /usr/lib/rpm/check-python3-provs-importable.sh python3-module-PyQt5; echo $?; }
...
PyQt5.QtBluetooth
PyQt5.QtCore
PyQt5.QtDBus
PyQt5.QtDesigner
PyQt5.QtGui
PyQt5.QtHelp
PyQt5.QtLocation
PyQt5.QtMultimedia
PyQt5.QtMultimediaWidgets
PyQt5.QtNetwork
PyQt5.QtNfc
PyQt5.QtOpenGL
PyQt5.QtPositioning
PyQt5.QtPrintSupport
PyQt5.QtQml
PyQt5.QtQuick
PyQt5.QtQuickWidgets
PyQt5.QtSensors
PyQt5.QtSerialPort
PyQt5.QtSql
PyQt5.QtSvg
PyQt5.QtTest
PyQt5.QtWebKit
PyQt5.QtWebKitWidgets
PyQt5.QtWebSockets
PyQt5.QtWidgets
PyQt5.QtX11Extras
PyQt5.QtXml
PyQt5.QtXmlPatterns
PyQt5._QOpenGLFunctions_2_0
PyQt5._QOpenGLFunctions_2_1
PyQt5._QOpenGLFunctions_4_1_Core
PyQt5.pylupdate
PyQt5.pylupdate_main
PyQt5.pyrcc
PyQt5.pyrcc_main
PyQt5.uic.Loader.loader
PyQt5.uic.Loader.qobjectcreator
PyQt5.uic.pyuic
123
-bash-4.3$ hsh-shell --mount=/proc,/dev/pts
[builder@localhost .in]$ python3 -c &apos;import PyQt5.QtGui&apos;
Traceback (most recent call last):
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
ImportError: No module named &apos;sip&apos;
[builder@localhost .in]$ rpm -q python3-module-PyQt5
python3-module-PyQt5-5.9-alt1.x86_64
[builder@localhost .in]$ 

Cf. the last improvement in PyQt4 -- http://git.altlinux.org/gears/p/python-module-PyQt4.git?p=python-module-PyQt4.git;a=commitdiff;h=d82f22143a2d35f400f64e58e25fcf4550124fff :

+%define sipver2 %(rpm -q --qf &apos;%%{VERSION}&apos; python-module-sip)
+Requires: python-module-sip = %sipver2
+
 %if_with python3
-BuildRequires(pre): rpm-build-python3
+BuildRequires(pre): rpm-build-python3 python3-module-sip-devel
 #BuildRequires: python3-devel python3-module-sip-devel
 #BuildPreReq: python3-module-dbus-devel
 #BuildPreReq: python3-module-qscintilla2-qt4-devel
 #BuildPreReq: python3-module-sip-devel
+%define sipver3 %(rpm -q --qf &apos;%%{VERSION}&apos; python3-module-sip)
 %endif
 
 %description
-Python bindings for the Qt C++ class library.  Also includes a PyQt4 backend
-code generator for Qt Designer.
+Python bindings for the Qt4 C++ class library.  Also includes a PyQt4 backend
+code generator for Qt4 Designer.
 
 %if_with python3
 %package -n python3-module-%oname
-Summary: Python 3 bindings for Qt
+Summary: Python 3 bindings for Qt4
 Group: Development/Python3
 %add_python3_req_skip Compiler
+Requires: python3-module-sip = %sipver3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166192</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-10-06 17:11:41 +0300</bug_when>
    <thetext>Это, конечно, круто, прислать мне в качестве примера исправления из PyQt4, которые сделаны по образцу моих исправлений в PyQt5 :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166193</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-10-06 17:13:53 +0300</bug_when>
    <thetext>&gt; 5.9-alt1
&gt; missing Requires: python3-module-sip:
насколько я понимаю, я добавил эту зависимость в 5.9-alt2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166194</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-10-06 17:15:12 +0300</bug_when>
    <thetext>А, он ещё собирается :)
#190385 BUILDING #1.2 [locked] sisyphus python-module-PyQt5.git=5.9-alt2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166206</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2017-10-06 23:44:25 +0300</bug_when>
    <thetext>(In reply to comment #1)
&gt; Это, конечно, круто, прислать мне в качестве примера исправления из PyQt4,
&gt; которые сделаны по образцу моих исправлений в PyQt5 :)

:)))

Когда переситал все комментарии, понял, кто на самом деле что предложил. Спасибо за исправление!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>