Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-dbus-python for openSUSE:Factory checked in at 2026-09-09 16:18:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dbus-python (Old) and /work/SRC/openSUSE:Factory/.python-dbus-python.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dbus-python" Wed Sep 9 16:18:43 2026 rev:15 rq:1376307 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dbus-python/python-dbus-python.changes 2025-05-27 18:49:19.374567360 +0200 +++ /work/SRC/openSUSE:Factory/.python-dbus-python.new.1265/python-dbus-python.changes 2026-09-09 16:21:00.286659884 +0200 @@ -1,0 +2,21 @@ +Tue Sep 8 08:08:26 UTC 2026 - Dirk Müller <[email protected]> + +- update to 1.4.0: + * Automatically set the NO_REPLY message flag in call_async if + there is no reply handler and no error handler + * Add arg0namespace match rule support + Hofstee) + * Add argNpath match rules support + * Generate a valid sdist from `meson dist` + * Mention more alternatives to this package in the README + * Don't require tomllib when generating dist tarball on Python + ≥ 3.11 + * Fix compilation with Python ≥ 3.13 in some situations + * Avoid using distutils in setup.py (Simon McVittie) + * Fix a typo in example code (dbus-python!25, Robert Ancell) + * Safer handling of weak references (Simon McVittie) +- add missing keyring +- add Revert-using-Py_TPFLAGS_MANAGED_WEAKREF.patch from fedora, + fixes testsuite failures on newer python versions + +------------------------------------------------------------------- Old: ---- dbus-python-1.3.2.tar.gz dbus-python-1.3.2.tar.gz.asc New: ---- Revert-using-Py_TPFLAGS_MANAGED_WEAKREF.patch dbus-python-1.4.0.tar.xz dbus-python-1.4.0.tar.xz.asc python-dbus-python.keyring ----------(New B)---------- New:- add missing keyring - add Revert-using-Py_TPFLAGS_MANAGED_WEAKREF.patch from fedora, fixes testsuite failures on newer python versions ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dbus-python.spec ++++++ --- /var/tmp/diff_new_pack.C7pw9U/_old 2026-09-09 16:21:01.139695430 +0200 +++ /var/tmp/diff_new_pack.C7pw9U/_new 2026-09-09 16:21:01.141695513 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dbus-python # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,20 +21,25 @@ %define python_add_provides %{python_provides} %{?sle15_python_module_pythons} Name: python-dbus-python -Version: 1.3.2 +Version: 1.4.0 Release: 0 Summary: Python bindings for D-Bus License: MIT Group: Development/Libraries/Python URL: https://www.freedesktop.org/wiki/Software/DBusBindings/ -Source: https://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.gz -Source2: https://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.gz.asc +Source: https://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.xz +Source2: https://dbus.freedesktop.org/releases/dbus-python/dbus-python-%{version}.tar.xz.asc +Source3: python-dbus-python.keyring Source99: python-dbus-python-rpmlintrc +Patch1: Revert-using-Py_TPFLAGS_MANAGED_WEAKREF.patch BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module docutils} BuildRequires: %{python_module gobject} BuildRequires: %{python_module xml} +BuildRequires: autoconf-archive +BuildRequires: automake BuildRequires: fdupes +BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(dbus-1) >= 1.8.0 @@ -90,13 +95,14 @@ the Python2 and Python3 versions of the bindings. %prep -%setup -q -n dbus-python-%{version} +%autosetup -p1 -n dbus-python-%{version} # Remove Makefile* (fix rpmlint warning "makefile-junk") rm -f examples/Makefile* # Remove shebang from examples sed -i '1 {\|^#!%{_bindir}/env| d}' examples/*.py %build +env NOCONFIGURE=y bash autogen.sh export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing -fPIC" %define _configure ../configure ++++++ Revert-using-Py_TPFLAGS_MANAGED_WEAKREF.patch ++++++ >From 32191526f73fa4ac6f760848c354b1353920755e Mon Sep 17 00:00:00 2001 From: Karolina Surma <[email protected]> Date: Wed, 14 Jan 2026 21:45:55 +0100 Subject: [PATCH] Revert using Py_TPFLAGS_MANAGED_WEAKREF Added in https://gitlab.freedesktop.org/dbus/dbus-python/-/merge_requests/35 The feature is incomplete and doesn't work. --- dbus_bindings/conn-internal.h | 2 -- dbus_bindings/conn.c | 11 ----------- dbus_bindings/server.c | 13 ------------- 3 files changed, 26 deletions(-) diff --git a/dbus_bindings/conn-internal.h b/dbus_bindings/conn-internal.h index ae47816..d333d27 100644 --- a/dbus_bindings/conn-internal.h +++ b/dbus_bindings/conn-internal.h @@ -42,10 +42,8 @@ typedef struct { */ PyObject *object_paths; -#if !DBUSPY_PY_VERSION_AT_LEAST(3, 12, 0, 0) /* Weak-references list to make Connections weakly referenceable */ PyObject *weaklist; -#endif dbus_bool_t has_mainloop; } Connection; diff --git a/dbus_bindings/conn.c b/dbus_bindings/conn.c index 54efc49..5dd4b5e 100644 --- a/dbus_bindings/conn.c +++ b/dbus_bindings/conn.c @@ -238,9 +238,7 @@ DBusPyConnection_NewConsumingDBusConnection(PyTypeObject *cls, self->has_mainloop = (mainloop != Py_None); self->conn = NULL; self->filters = PyList_New(0); -#if !DBUSPY_PY_VERSION_AT_LEAST(3, 12, 0, 0) self->weaklist = NULL; -#endif if (!self->filters) goto err; self->object_paths = PyDict_New(); if (!self->object_paths) goto err; @@ -394,9 +392,7 @@ static void Connection_tp_dealloc(Connection *self) /* avoid clobbering any pending exception */ PyErr_Fetch(&et, &ev, &etb); -#if !DBUSPY_PY_VERSION_AT_LEAST(3, 12, 0, 0) if (self->weaklist) -#endif { PyObject_ClearWeakRefs((PyObject *)self); } @@ -460,19 +456,12 @@ PyTypeObject DBusPyConnection_Type = { 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ -#if DBUSPY_PY_VERSION_AT_LEAST(3, 12, 0, 0) - Py_TPFLAGS_MANAGED_WEAKREF | -#endif Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, Connection_tp_doc, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ 0, /*tp_richcompare*/ -#if DBUSPY_PY_VERSION_AT_LEAST(3, 12, 0, 0) - 0, /*tp_weaklistoffset*/ -#else offsetof(Connection, weaklist), /*tp_weaklistoffset*/ -#endif 0, /*tp_iter*/ 0, /*tp_iternext*/ DBusPyConnection_tp_methods, /*tp_methods*/ diff --git a/dbus_bindings/server.c b/dbus_bindings/server.c index d250a1d..9382fe6 100644 --- a/dbus_bindings/server.c +++ b/dbus_bindings/server.c @@ -38,10 +38,8 @@ typedef struct { /* The Connection subtype for which this Server is a factory */ PyObject *conn_class; -#if !DBUSPY_PY_VERSION_AT_LEAST(3, 12, 0, 0) /* Weak-references list to make server weakly referenceable */ PyObject *weaklist; -#endif PyObject *mainloop; } Server; @@ -425,9 +423,7 @@ Server_tp_new(PyTypeObject *cls, PyObject *args, PyObject *kwargs) return NULL; } -#if !DBUSPY_PY_VERSION_AT_LEAST(3, 12, 0, 0) ((Server *)self)->weaklist = NULL; -#endif TRACE(self); return self; @@ -442,9 +438,7 @@ static void Server_tp_dealloc(Server *self) /* avoid clobbering any pending exception */ PyErr_Fetch(&et, &ev, &etb); -#if !DBUSPY_PY_VERSION_AT_LEAST(3, 12, 0, 0) if (self->weaklist) -#endif { PyObject_ClearWeakRefs((PyObject *)self); } @@ -577,19 +571,12 @@ PyTypeObject DBusPyServer_Type = { 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ -#if DBUSPY_PY_VERSION_AT_LEAST(3, 12, 0, 0) - Py_TPFLAGS_MANAGED_WEAKREF | -#endif Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, Server_tp_doc, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ 0, /*tp_richcompare*/ -#if DBUSPY_PY_VERSION_AT_LEAST(3, 12, 0, 0) - 0, /*tp_weaklistoffset*/ -#else offsetof(Server, weaklist), /*tp_weaklistoffset*/ -#endif 0, /*tp_iter*/ 0, /*tp_iternext*/ DBusPyServer_tp_methods,/*tp_methods*/ -- 2.52.0
