typing: Gst: Update stubs to 1.28.2#292
Conversation
|
Those stubs are generated in an Ubuntu 26.04 docker which now has everything needed for GStreamer. |
|
@bryanforbes GStreamer overrides have |
The generator uses import tracking now, so symbols are imported directly. The issue is that for objects that have GObject introspection information, the bases aren't looked at. I'll work on modifying the generator to inspect that. |
|
The overrides should be using |
|
I have a solution that I worked up today to build the base class list for the stubs based on the MRO. I need to run a few more tests in the morning, but it’s far more robust and retains the classes set up by overrides, including Generic and its type arguments. |
|
I merged my solution and the other gstreamer PR that generates from 1.26. You'll want to rebase on master and regenerate the gstreamer stubs. |
|
Thanks! Stubs regenerated and seems good now. BTW, I noticed another possible regression (not related to gst), for boxed types we generate: But pylance complains: |
That's on my list of things to address. There are definitely places where PyGObject are incorrectly using |
No description provided.