-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[#10200] Force using GTK+3 in twisted.internet.gireactor #1600
Conversation
2a88d08
to
4719534
Compare
I don't think I can improve the coverage on this, really (or at least not within the scope of this PR). |
It's likely that, particularly with an overflowing review queue, reviewers are likely to skip over this unless it has a passing commit status. If you don't think that coverage on these lines are important, could you put |
16e924b
to
eec6b60
Compare
Thanks for the suggestion. However, no matter how hard I try, it doesn't seem to work :-(. Maybe the |
Modify twisted.internet.gireactor to explicitly request GTK+ version 3. Otherwise it uses the newest version installed which could be GTK+4 that gireactor is currently incompatible with.
eec6b60
to
9344f8c
Compare
I am updating the branch. We now run some GTK reactors tests as part of the CI. |
I think that this needs-changes See #10200 (comment) comment from here There is a report that the code still needs changes |
I'm working on a fix in #11706 that somewhat obviates the need for this; there is now only one place we import Gtk, and it's in the test suite, which can be controlled with an env var if so desired, but defaulting to 4.0 (which, hey, has actual compatibility guarantees, supposedly!). We will need some updates in the docs, though, since we still refer to truly ancient gtk2-style code in a lot of places. |
I think that #11705 fixed the underlying problem here. If Gtk3 systems still need help, please open a new PR. |
Scope and purpose
Fixes #10200
Twisted uses incompatible GTK+4 when installed. This patch forces GTK+3 to avoid the problems.
It does not cover adding GTK+4 compatibility ;-).
Contributor Checklist:
tox -e lint
to format my patch to meet the Twisted Coding Standard#
character).review
to the keywords field in Trac, and putting a link to this PR in the comment; it shows up in https://twisted.reviews/ now.The first line is automatically generated by GitHub based on PR ID and branch name.
The other lines generated by GitHub should be replaced.