Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1825507

Summary: No package provides python3dist(sip)
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: sipAssignee: Scott Talbert <swt>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kde-sig, kevin, pviktori, rdieter, swt, than, zbyszek
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-05 14:13:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1891646    
Bug Blocks: 1753069, 1904473    

Description Miro Hrončok 2020-04-18 16:34:53 UTC
When an upstream Python package has a runtime dependency on "sip":

  install_requires=['sip >=5.1, <6']

The RPM dependency generator generator creates something like:

  Requires: (python3.8dist(sip) >= 5.1 with python3.8dist(sip) < 6)


However, no sip package in fedora provides python3dist(sip) or python3.8dist(sip).

Comment 1 Miro Hrončok 2020-04-18 16:40:20 UTC
I also get:

  ModuleNotFoundError: No module named 'sipbuild'

No idea what sip package contains that module. (I'm trying to package PyQt-builder.)

Comment 2 Rex Dieter 2020-04-20 02:54:23 UTC
I'm guessing these are upstream packages that still claim dependency on non-namespaced sip, see also bug #1753069 on why we chose to no longer ship that.

Comment 3 Rex Dieter 2020-04-20 02:56:07 UTC
As for sipbuild, I'm guessing that may be part of sip v5, which we don't ship yet.

Comment 4 Miro Hrončok 2020-04-20 08:30:06 UTC
> I'm guessing these are upstream packages that still claim dependency on non-namespaced sip, see also bug #1753069 on why we chose to no longer ship that.

I am aware of that BZ. Note that PyQt-builder is quite new software by the company behind PyQt, so the "still" in "still claim dependency on non-namespaced sip" sounds weird.

Are we expected to patch all upstream packages that require "sip" not to do that? How do we approach upstream with this downstream problem?


> As for sipbuild, I'm guessing that may be part of sip v5, which we don't ship yet.

Sound legit, they do require sip >= 5.1.

Thanks for more info.

Comment 5 Rex Dieter 2020-04-20 13:45:37 UTC
Sounds like upstream is sending mixed messages? Though I just noticed now that 'python3.8dist(sip) >= 5.1' probably refers to sip v5 too, so maybe it's different there (compoared to sip v4)

Comment 6 Miro Hrončok 2020-04-20 13:54:06 UTC
Maybe. Let's revisit this once we update?

Comment 7 Ben Cotton 2020-08-11 13:19:16 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 8 Kevin Fenzi 2020-09-27 21:15:03 UTC
Any plans for sip 5? calibre-5.0 now requires it (and also is looking for sipbuild module, which seems to indeed only be in 5).

Comment 9 Rex Dieter 2020-10-13 16:19:02 UTC
No immediate plans on my side, lack of time mostly.

I fear implementing this may be a significant undertaking, in that it may not be safe to mix-n-match sip v4 and sipv5.  If so, worst case we'll have to ensure the entire stack is moved to sip v5. (lots of rebuilds, and testing required)

Comment 10 Scott Talbert 2020-10-14 19:57:07 UTC
If Rex and Than don't have time, I could probably take a stab at packaging sip5 as I'll need it for wxPython eventually.  It seems that sip5 can be packaged alongside sip4, as at least Debian has done so.

Comment 11 Scott Talbert 2020-10-26 23:08:14 UTC
Opened a review request for sip5 in case anyone wants to review it or comment on the packaging:
https://bugzilla.redhat.com/show_bug.cgi?id=1891646