+3.30.0 - 2018-08-31
+-------------------
+
+* Various test suite fixes to get things to pass with Ubuntu 18.10.
+
+
3.29.3 - 2018-08-16
-------------------
Metadata-Version: 1.2
Name: PyGObject
-Version: 3.29.3
+Version: 3.30.0
Summary: Python bindings for GObject Introspection
Home-page: https://pygobject.readthedocs.io
Author: James Henstridge
Metadata-Version: 1.2
Name: PyGObject
-Version: 3.29.3
+Version: 3.30.0
Summary: Python bindings for GObject Introspection
Home-page: https://pygobject.readthedocs.io
Author: James Henstridge
def unbind(self):
# Fixed in newer glib
- if (GLib.MAJOR_VERSION, GLib.MINOR_VERSION, GLib.MICRO_VERSION) >= (2, 57, 2):
+ if (GLib.MAJOR_VERSION, GLib.MINOR_VERSION, GLib.MICRO_VERSION) >= (2, 57, 3):
return super(Binding, self).unbind()
if hasattr(self, '_unbound'):
project('pygobject', 'c',
- version : '3.29.3',
+ version : '3.30.0',
meson_version : '>= 0.46.0',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized'])
from distutils.spawn import find_executable
-PYGOBJECT_VERISON = "3.29.3"
+PYGOBJECT_VERISON = "3.30.0"
GLIB_VERSION_REQUIRED = "2.38.0"
GI_VERSION_REQUIRED = "1.46.0"
PYCAIRO_VERSION_REQUIRED = "1.11.1"
os.environ['GSETTINGS_SCHEMA_DIR'] = tests_builddir
os.environ['G_FILENAME_ENCODING'] = 'UTF-8'
+ # Force the default theme so broken themes don't affect the tests
+ os.environ['GTK_THEME'] = 'Adwaita'
+
import gi
gi.require_version("GIRepository", "2.0")
from gi.repository import GIRepository
like any signal handler, vfuncs tc)
"""
- assert sys.excepthook is sys.__excepthook__
-
exceptions = []
def on_hook(type_, value, tback):
exceptions.append((type_, value, tback))
+ orig_excepthook = sys.excepthook
sys.excepthook = on_hook
try:
yield
finally:
- assert sys.excepthook in (on_hook, sys.__excepthook__)
- sys.excepthook = sys.__excepthook__
+ sys.excepthook = orig_excepthook
if exceptions:
reraise(*exceptions[0])
axes = device.list_axes()
axes_names = [atom.name() for atom in axes]
self.assertNotEqual(axes_names, [])
- self.assertTrue('Rel X' in axes_names)
glib_version = (GLib.MAJOR_VERSION, GLib.MINOR_VERSION, GLib.MICRO_VERSION)
# calling unbind() on an already unbound binding
- if glib_version >= (2, 57, 2):
+ if glib_version >= (2, 57, 3):
# Fixed in newer glib:
# https://gitlab.gnome.org/GNOME/glib/merge_requests/244
for i in range(10):