diff mbox series

[v4,2/3] python3-dbus: Upgrade 1.4.0 -> 1.5.1

Message ID 20261102070143.30639-3-jaipaul.cheernam@est.tech
State New
Headers show
Series python3: Upgrade to 3.15.2 | expand

Commit Message

Jaipaul Cheernam Nov. 2, 2026, 7:01 a.m. UTC
NEWS: https://gitlab.freedesktop.org/dbus/dbus-python/-/raw/dbus-python-1.5.1/NEWS

few notable changes:
   - The sdist is now called dbus_python and ships as a .tar.gz (PEP-625),
     so SRC_URI and S need updating.
   - Autotools is gone, but we already build with meson.
     -Dtests=false is now deprecated, so switch to -Dtests=disabled.
   - The tree is REUSE-compliant now, so LICENSE grows to cover the bundled
     dbus-gmain bits (AFL-2.1 or GPL-2.0-or-later) next to dbus-python's own
     MIT, with LIC_FILES_CHKSUM pointing at the individual license files.

Full NEWS:

dbus Python Bindings 1.5.1 (2026-10-23)
=======================================

Fixes:

* Fix a memory leak when freeing UnixFd objects
  (dbus-python#62, Nieves Montero Fernandez)

* Avoid libdbus assertion failures in some configurations if attempting
  to write an invalid item into a variant, for example a non-UTF-8 bytestring
  (dbus-python#60, Nieves Montero Fernandez)

* Be more consistent about how containers are closed, to avoid mistakes
  similar to dbus-python#60 (Simon McVittie)

dbus Python Bindings 1.5.0 (2026-09-27)
=======================================

Dependencies:

* The Meson build system is required.
  Installation via `pip` and similar PEP-0517 build system frontends
  requires meson-python (mesonpy) and its dependencies.

* Python 3.7 or later is required.

* Python 3.9 or later is strongly recommended.
  Older versions are no longer tested or supported.

Build system changes:

* The source release is now built as a sdist using mesonpy,
  with a name that includes dbus_python, not dbus-python,
  matching the project's name on PyPI and PEP-0625

* The Autotools build system is no longer available

Enhancements:

* Add a `test_socket_dir` build-time option for systems where /tmp is not
  available (dbus-python!38, Emily)

* Documentation and "as-installed" tests (if enabled) are associated with
  `meson install --tags=doc` and `--tags=tests` respectively (Simon McVittie)

Fixes:

* Revert a broken implementation of weak references that caused crashes,
  especially in Python 3.15
  (regression in 1.4.0; dbus-python#59, Simon McVittie)

* Avoid repeated configuration reloads during unit testing when dbus was
  compiled with kqueue (dbus-python#56, Jakub KulĂ­k)

* Add some unit tests for weak references and object destruction
  (dbus-python#59, Maximiliano Curia)

* Metadata updates (Simon McVittie)

* CI updates (Simon McVittie)

Licensing:

* REUSE metadata is now in TOML format

* After the removal of the Autotools build system,
  all remaining files outside subprojects/ are believed to be MIT-licensed.
  The GLib main loop integration in subprojects/dbus-gmain/
  continues to be under the same "AFL-2.1 OR GPL-2.0-or-later" dual-license
  as libdbus.

Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
 ...thon3-dbus_1.4.0.bb => python3-dbus_1.5.1.bb} | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
 rename meta/recipes-devtools/python/{python3-dbus_1.4.0.bb => python3-dbus_1.5.1.bb} (50%)

Comments

patchtest@automation.yoctoproject.org Nov. 2, 2026, 7:17 a.m. UTC | #1
Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:

---
Testing patch /home/patchtest/share/mboxes/v4-2-3-python3-dbus-Upgrade-1.4.0---1.5.1.patch

FAIL: test lic files chksum modified not mentioned: LIC_FILES_CHKSUM changed without "License-Update:" tag and description in commit message (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)

PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test auh changelog truncation notice (test_mbox.TestMbox.test_auh_changelog_truncation_notice)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new source patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new source patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new source patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-dbus_1.4.0.bb b/meta/recipes-devtools/python/python3-dbus_1.5.1.bb
similarity index 50%
rename from meta/recipes-devtools/python/python3-dbus_1.4.0.bb
rename to meta/recipes-devtools/python/python3-dbus_1.5.1.bb
index 2854eda30a0..4126c4639a0 100644
--- a/meta/recipes-devtools/python/python3-dbus_1.4.0.bb
+++ b/meta/recipes-devtools/python/python3-dbus_1.5.1.bb
@@ -1,20 +1,24 @@ 
 SUMMARY = "Python bindings for the DBus inter-process communication system"
 SECTION = "devel/python"
 HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=97f58951300aa52a9f9e3a62bd5c846c"
+LICENSE = "MIT AND (AFL-2.1 OR GPL-2.0-or-later)"
+LIC_FILES_CHKSUM = "file://COPYING;md5=97f58951300aa52a9f9e3a62bd5c846c \
+                    file://LICENSES/MIT.txt;md5=7dda4e90ded66ab88b86f76169f28663 \
+                    file://subprojects/dbus-gmain/LICENSES/GPL-2.0-or-later.txt;md5=3d26203303a722dedc6bf909d95ba815 \
+                    file://subprojects/dbus-gmain/LICENSES/AFL-2.1.txt;md5=f3ad2f482ec639b440413665cfb9e714 \
+                    "
 DEPENDS = "expat dbus glib-2.0 virtual/libintl"
 
-SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.xz"
+SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus_python-${PV}.tar.gz"
 
-SRC_URI[sha256sum] = "c36b28f10ffcc8f1f798aca973bcc132f91f33eb9b6b8904381b4077766043d5"
+SRC_URI[sha256sum] = "57423cf87d09b7d084f420b55b737fe654c33339b06df77945620d97795c6ac4"
 
-S = "${UNPACKDIR}/dbus-python-${PV}"
+S = "${UNPACKDIR}/dbus_python-${PV}"
 
 inherit setuptools3-base meson pkgconfig
 
 # requires dbus-run-session
-EXTRA_OEMESON += "-Dtests=false"
+EXTRA_OEMESON += "-Dtests=disabled"
 
 RDEPENDS:${PN} = "python3-io python3-logging python3-stringold python3-threading python3-xml"