Bug#964132: qgis: Please switch from sip4 to sip5

Sebastiaan Couwenberg sebastic at xs4all.nl
Mon Sep 21 12:59:35 BST 2020


Control: forwarded -1 https://github.com/qgis/QGIS/issues/38911

On 9/21/20 1:19 PM, Dmitry Shachnev wrote:
> Hi again Sebastiaan!
> 
> On Wed, Jul 22, 2020 at 12:08:39PM +0200, Sebastiaan Couwenberg wrote:
>> I'm planning to cherry-pick your changes to the experimental branch for
>> testing with QGIS 3.10.x LTR, if that also builds fine I'll upload it to
>> experimental as well. Assuming there are not major complication I can
>> keep that branch updated with the monthly LTR releases until pyqt5 moves
>> to unstable.
> 
> I have an update on PyQt5 vs. SIP 5 status.
> 
> Unfortunately, things got a bit more complicated recently. Upstream is
> going to release SIP 6 in the beginning of next year, which will be not
> co-installable together with SIP 5, and which will not have /usr/bin/sip5
> “legacy” script:
> 
> https://www.riverbankcomputing.com/pipermail/pyqt/2020-September/043201.html
> https://www.riverbankcomputing.com/pipermail/pyqt/2020-September/043162.html
> 
> sip5 was a script to ease upgrades from SIP 4, and it has a set of options
> similar to SIP 4's /usr/bin/sip. Upstream now recommends using their new
> tools, sip-build and similar ones. See the documentation:
> 
> https://www.riverbankcomputing.com/static/Docs/sip/
> 
> This means that next year we will have SIP 4 and SIP 6 in Debian, but not
> SIP 5. My upstream work on QGIS made use of /usr/bin/sip5, so it will need to
> be ported to the new tools in order to support SIP 6 (and PyQt6).
> 
> At the same time, upstream says that it will remain possible to compile
> applications with SIP 4 even when PyQt5 uses newer SIP. So now I think the
> best plan is:
> 
> - Please keep using SIP 4 for QGIS for now.
> - Please test that it still works fine with PyQt5 in experimental.
> - Ask upstream to migrate to the new tools to be prepared for SIP 6 / PyQt6.

Thanks for the updated, forwarded upstream in:

 https://github.com/qgis/QGIS/issues/38911

The experimental branch on salsa still has the sip5 changes, perhaps
it's best to merge those and use that until support for SIP 6 arrives.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20200921/8d993e60/attachment.sig>


More information about the Pkg-grass-devel mailing list