From 4a4bce958b3257b7cb2adc050022879660aface1 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 9 May 2012 15:47:48 +0100 Subject: 1.1.0 --- NEWS | 35 +++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- dbus/gobject_service.py | 1 + 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 9046ace..8d6c32f 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,35 @@ +D-Bus Python Bindings 1.1.0 (2012-05-09) +======================================== + +The “eaten by spiders” release. + +Deprecations: + +• dbus.gobject_service is deprecated. Use dbus.gi_service and PyGI in new code. + +API changes: + +• dbus.gobject_service works in legacy PyGObject 2 applications again, + like it did before 1.0. The down side is that it doesn't work in all PyGI + applications any more, unlike 1.0. In PyGI applications, depend on + dbus-python >= 1.1 and use dbus.gi_service instead - its API is the same. + (fd.o #48904, Debian #670516) + +• dbus.gobject_service has been removed from Python 3 builds altogether. + +Enhancements: + +• Use DBusBasicValue from libdbus 1.5, if available, rather than reinventing it + +Fixes: + +• Put sockets for the regression tests in /tmp, not the builddir, fixing + test failures in a really long builddir (fd.o #46747) + +• Fix a reference leak in dbus_py_variant_level_set (fd.o #47108) + +• Modify AM_CHECK_PYTHON_HEADERS so the "another way" works with Python 3 + D-Bus Python Bindings 1.0.0 (2012-01-24) ======================================== @@ -23,6 +55,9 @@ API changes: * The Python 3 API is not the same as the Python 2 API; see PY3PORT.rst for details. +• dbus.gobject_service uses PyGI, not PyGObject. (This was not meant to be + an incompatible change, but unfortunately, it was. It was reverted in 1.1.0.) + Enhancements: * Python 3 compatibility (fd.o #26420, Barry Warsaw) diff --git a/configure.ac b/configure.ac index 1f4548c..19b9a5b 100644 --- a/configure.ac +++ b/configure.ac @@ -2,10 +2,10 @@ AC_PREREQ(2.59c) dnl If not 1, append datestamp to the version number -m4_define(dbus_python_released, 0) +m4_define(dbus_python_released, 1) dnl The dbus-python version number (must actually be numeric at the moment) m4_define(dbus_python_major_version, 1) -m4_define(dbus_python_minor_version, 0) +m4_define(dbus_python_minor_version, 1) m4_define(dbus_python_micro_version, 0) m4_define(dbus_python_maybe_datestamp, diff --git a/dbus/gobject_service.py b/dbus/gobject_service.py index 85b72bb..1c96546 100644 --- a/dbus/gobject_service.py +++ b/dbus/gobject_service.py @@ -22,6 +22,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. +import sys from warnings import warn as _warn _warn(DeprecationWarning("""\ dbus.gobject_service is deprecated, and is not available under Python 3. -- cgit v1.2.1