Bug 154260 - PyQt requires sip package
PyQt requires sip package
Product: Fedora
Classification: Fedora
Component: PyQt (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Ngo Than
Depends On:
  Show dependency treegraph
Reported: 2005-04-08 15:48 EDT by Konstantin Korikov
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-25 11:01:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Konstantin Korikov 2005-04-08 15:48:06 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; ru-RU; rv:1.7.6) Gecko/20050318 Firefox/1.0.2

Description of problem:
Whe I try to import the qt module from a Python program and sip package is not
installed, I get exception:
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named sip

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

   $ rpm -e sip


   $ python -c 'import qt'

Actual Results:  Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named sip

Expected Results:  error: Failed dependencies:
        sip is needed by (installed) PyQt-3.13-1

Additional info:
Comment 1 Dan Allen 2005-04-22 17:18:05 EDT
I was here to report this exact problem.  The point I want to add is running

yum install PyQt

does not bring along the sip package.  I would expect that yum would pick up on
this dependency and also install the sip rpm.

The keyword should be set to "EasyFix" as this is a dependency problem in the
rpm spec.
Comment 2 Dan Allen 2005-04-22 17:24:03 EDT
Add the following as line 36 of the PyQt.spec file

Requires: sip >= %{sip_version}
Comment 3 Ngo Than 2005-04-25 11:01:10 EDT
it's fixed in rawhide (PyQt-3.13-3)

Note You need to log in before you can comment on or make changes to this bug.