New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sip5/sip6 sip-build support #45128
Conversation
Thanks @manisandro Let us have time to test on our different systems. |
Yes please, testing welcome |
7e8e20d
to
708ec53
Compare
@manisandro On FreeBSD, and maybe other unix system, it doesn't build unless the WS_X11 tag is set. I'll send you a patch. But after the fix, I get this sip error:
tested with sip 5.5.0 and PyQt 5.15.4 |
same thing when testing the PR on OpenBSD (same versions of sip & pyqt), backported on top of 3.20.3. Note that it seems i dont need the WS_X11 thing on OpenBSD.
thanks @manisandro for your work, much appreciated ! |
Regarding initHistogram: Can you try playing with the code here [1] and see whether tweaking the [1]
|
you mean, should that codepath be used with sip 5.5 when using sip-build ? |
Yes, try |
my build isnt finished yet, but with edit build succeeded. will test runtime now. |
afaict, qgis 3.20.3 built from this PR and the |
Thanks, commit updated. Checking for sip-build rather than SIP_VERSION should be identical, as sip-build will always be used with SIP 5+ with this PR. |
cae49e2
to
808ffdb
Compare
tested & confirmed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok FreeBSD@
cc @rhurlin
Hi @lbartoletti, Thanks for notification and congrats for nomination :) |
As with all changes of this nature we're never going to identify any issues upfront. Let's merge and see what build systems break...! |
@manisandro @lbartoletti @jef-n That's required by QGIS to avoid deadlocks in threaded code and code which raises exceptions, such as Processing. It's the underlying cause behind #45766 and #45685 We need to fix this ASAP, I cannot overstate how bad this regression is. |
Seems like the solution is to set the flag in some pyproject.toml file -- see https://www.riverbankcomputing.com/static/Docs/sip/pyproject_toml.html . But like usual, the sip docs give no clear indication on how to do this or on how pyproject.toml can be used during the build. 😠 |
#45829 should address this... |
Will the SIP6 support be backported to 3.22? We have lot's of trouble in openSUSE packaging because of missing SIP6 support... |
It is in master and 3.22 |
No description provided.