Opened 3 years ago

Closed 3 years ago

#63052 closed update (fixed)

py-sip: update to latest version and/or swtich to `PyQt5-sip`

Reported by: reneeotten (Renee Otten) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: py-sip

Description

I tried to look a bit through the commit history and Trac tickets, but I am not sure if and/or what the rationale for the py-sip port is. It is part of the PyQt suite, but not installed in that "namespace" and also heavily outdated by now.

Is there a reason not to switch this to the PyQt5-sip package or at least update to the latest version of sip on PyPI? I am happy to take a look at this, but first wanted to know if there is a reason for the current set-up that I am not aware of. My immediate reason is that the latest versions of py-eric-ide require sip version 5.0.0 or above.

Change History (4)

comment:1 Changed 3 years ago by michaelld (Michael Dickens)

No good reason ... livecheck doesn't show that upgrade path for py*-sip ... currently the primary SIP download page still points to "SIP4" version 4.19.25, which is what py*-sip is at.

On the RBC website there is news that SIP 6.1.0 was released ... notes that The latest version of ABI v12 is v12.9.0. ... looks like we have to go to the SIP Mercurial repo to get the latest version for livecheck!

I see PyQt5-sip on PyPi ... version 12.9.0 ... with homepage that points back to the RBC website ... I really don't know what this package is based on! RBC has no "version 12" of SIP ... maybe they are looking at the SIP API version or something not directly related to the actual SIP version?

What's not clear to me with just a quick search is: how do I download a tarball or whatever of the actual 6.1.0 release? I -might- be able to do this via the MC repo, 6.1.0 tag, then "bz2" link, which points to "https://www.riverbankcomputing.com/hg/sip/file/1eb31e4c5375" ... but that's nonobvious, unlike the usual link to download the current SIP4 release "https://www.riverbankcomputing.com/static/Downloads/sip/4.19.25/sip-4.19.25.tar.gz" ...

comment:2 in reply to:  1 Changed 3 years ago by reneeotten (Renee Otten)

Replying to michaelld:

upstream's website and the PyPI packages are indeed confusing... I was hoping that you would understand the differences ;) A possibility is that the PyQt5-sip package actually installs it under the PyQt5 namespace, whereas the sip packages perhaps does as sip (haven't checked that though).

What's not clear to me with just a quick search is: how do I download a tarball or whatever of the actual 6.1.0 release? I -might- be able to do this via the MC repo, 6.1.0 tag, then "bz2" link, which points to "https://www.riverbankcomputing.com/hg/sip/file/1eb31e4c5375" ... but that's nonobvious, unlike the usual link to download the current SIP4 release "https://www.riverbankcomputing.com/static/Downloads/sip/4.19.25/sip-4.19.25.tar.gz" ...

The latest 6.1.1. release is available on PyPI as the sip package, so updating to that in itself would be pretty straightforward as you can just use the python PG. From a cursory read it seems that this version would still be compatible with the different Qt/PyQt versions but who knows...

comment:3 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:4 Changed 3 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

Closed with these commits py-sip4, py-sip, and py-pyqt5-sip.

Note: See TracTickets for help on using tickets.