Accepting request 1322156 from home:badshah400:branches:GNOME:Factory

* Update to version 2.16.0.
* Add BuildRequires: python-typing_extensions.

OBS-URL: https://build.opensuse.org/request/show/1322156
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject-stubs?expand=0&rev=3
This commit is contained in:
2025-12-13 19:29:05 +00:00
committed by Git OBS Bridge
parent 0f575d86c6
commit aa01bc6c43
4 changed files with 27 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:614d4908a9ed6e9b821498059ab2e86736346c2fd75c0286ccb018cfcfd8ab23
size 895790

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a97574616e92ef458605f9520d8d9db4c2a131affcd12fdd51db0b42395291e9
size 934833

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Thu Dec 11 08:56:57 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.16.0:
+ Remove FIXME when override function is typed.
+ Improve type hints for Gst*.
+ Fix: Gst module cannot reference itself.
+ Fix: Add @staticmethod for override methods.
- Changes from version 2.15.0:
+ New features:
- Add Gly.
- Add GlyGtk4.
- Add overridden function docstring.
+ Add non-GI base classes.
+ Allow stub for some special python methods.
+ Improve type hints for: Adw, Gdk4, GdkPixbuf, GdkX11, GLib,
GObject, Gsk, GSound, Gst* Gtk4, Pango, PangoCairo, Spelling.
+ Filter out private constants and fields.
+ Fix: Correctly skip field if a method has the same name.
+ Fix: skip closure/destroy arguments preceding current arg.
- Add BuildRequires: python-typing_extensions.
-------------------------------------------------------------------
Sat Nov 8 04:41:37 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -25,7 +25,7 @@
%define psuffix %{?with_gtk3:-gtk3}%{!?with_gtk3:%{nil}}
Name: %{pname}%{psuffix}
Version: 2.14.0
Version: 2.16.0
Release: 0
Summary: Typing stubs for PyGObject
License: LGPL-2.1-only
@@ -43,6 +43,7 @@ BuildRequires: fdupes
Requires: python-base >= 3.9
Requires: python-gobject
Requires: python-gobject-Gdk
Requires: python-typing_extensions
%if 0%{?with_gtk3}
Conflicts: python-gobject-stubs
%endif