Skip to contentSkip to conversation

python3-sdbus: upgrade 0.11.0 -> 0.11.1

PATCH Applied Leon Anavi 2 participants 5 messages Dec 18, 2023 – Dec 19, 2023

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/4 python3-sdbus: upgrade 0.11.0 -> 0.11.1

Upgrade to version 0.11.1:

- Improved interface generator handling of multiple uppercase letters sequences.
- Improved python formatting generated by interface code generator.
- Added option --block to generate blocking interface code.
- Fixed docstrings still being present even if python was configured with --without-doc-strings.
- Fixed interface generator crashing when a rare write-only property is encountered.
- Fixed async interfaces iterating over all members during initialization.
- Fixed TypeError: Dbus type '\x00' is unknown being raised when trying to read from a message more than one time.
- Fixed missing class body when generating code for interface without members.

---
 .../{python3-sdbus_0.11.0.bb => python3-sdbus_0.11.1.bb}  | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-sdbus_0.11.0.bb => python3-sdbus_0.11.1.bb} (64%)
meta-python/recipes-devtools/python/python3-sdbus_0.11.1.bb renamed from meta-python/recipes-devtools/python/python3-sdbus_0.11.0.bb +7 -1
similarity index 64%
rename from meta-python/recipes-devtools/python/python3-sdbus_0.11.0.bb
rename to meta-python/recipes-devtools/python/python3-sdbus_0.11.1.bb
index 6abdad0be..6372d3488 100644
@@ -3,9 +3,15 @@ HOMEPAGE = "https://python-sdbus.readthedocs.io/en/latest/"
 LICENSE = "LGPL-2.1-or-later"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e77986dc8e2ee22d44a7c863e96852ae"
 
-SRC_URI[sha256sum] = "f86fbadae54fea6441ec2f27dc29daf085269d66c5d9df1a4fbc9474a24b91d0"
+SRC_URI[sha256sum] = "adb97718ce996bb308520682c50b1a13e606d65a6edb1c1967a15d2e570cb3b7"
 
 REQUIRED_DISTRO_FEATURES = "systemd"
 DEPENDS += "systemd"
 
+RDEPENDS:${PN} += " \
+    ${PYTHON_PN}-asyncio \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-core \
+"
+
 inherit pypi setuptools3 features_check pkgconfig
Signature · 1 line
2.39.2
author
#1 lore raw

PATCH 2/4 python3-zeroconf: upgrade 0.128.4 -> 0.130.0

Upgrade to version 0.130.0:

- Make ServiceInfo aware of question history
- Small speed up to ServiceInfo construction
- Significantly improve efficiency of the ServiceBrowser scheduler
- Small speed up to processing incoming records
- Small performance improvement for converting time
- Small performance improvement for ServiceInfo asking questions
- Small performance improvement constructing outgoing questions
- Scheduling race with the QueryScheduler
- Ensure question history suppresses duplicates
- Microsecond precision loss in the query handler
- Ensure IPv6 scoped address construction uses the string cache

---
 ...{python3-zeroconf_0.128.4.bb => python3-zeroconf_0.130.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-zeroconf_0.128.4.bb => python3-zeroconf_0.130.0.bb} (82%)
meta-python/recipes-devtools/python/python3-zeroconf_0.130.0.bb renamed from meta-python/recipes-devtools/python/python3-zeroconf_0.128.4.bb +1 -1
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-zeroconf_0.128.4.bb
rename to meta-python/recipes-devtools/python/python3-zeroconf_0.130.0.bb
index bb3a163c8..8ae169c52 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jstasiak/python-zeroconf"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=6517bdc8f2416f27ab725d4702f7aac3"
 
-SRC_URI[sha256sum] = "57590a48e36897a04ea4b1a41ba6bbf833637b99ac6fa9530a2f70783d916c39"
+SRC_URI[sha256sum] = "db96a3033bc2ece2c75d873796e82530e092e250d03d07dd530828cf84ae16f0"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.39.2
author
#2 lore raw

PATCH 3/4 python3-dominate: upgrade 2.8.0 -> 2.9.0

In reply to Leon Anavi

Upgrade to version 2.9.0:

- Modernize setuptools support to use pyproject.toml
- Remove brittle test

Remove fix-ptests.patch as the issue has been solved upstream.

---
 .../python/python3-dominate/fix-ptests.patch  | 20 -------------------
 ...ate_2.8.0.bb => python3-dominate_2.9.0.bb} |  5 ++---
 2 files changed, 2 insertions(+), 23 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch
 rename meta-python/recipes-devtools/python/{python3-dominate_2.8.0.bb => python3-dominate_2.9.0.bb} (77%)
meta-python/recipes-devtools/python/python3-dominate/fix-ptests.patch deleted +0 -20
deleted file mode 100644
index 81211d449..000000000
@@ -1,20 +0,0 @@
-Fixes test failures on musl
-
-Fixes errors
-ptestresult.python3-dominate.tests/test_dom_tag.py::test___get_thread_context
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <[email protected]>
-
-diff --git a/tests/test_dom_tag.py b/tests/test_dom_tag.py
-index 43ffecb..1126e54 100644
---- a/tests/test_dom_tag.py
-+++ b/tests/test_dom_tag.py
-@@ -18,6 +18,7 @@ def test___get_thread_context(monkeypatch):
-     monkeypatch.setattr(sut, 'threading', threading)
- 
-     assert sut._get_thread_context() in [
-+        1692341442, # Python >= 3.9, 32-bit
-         -6805948436281256182, # Python >= 3.9
-         3713141171098444831, # Python < 3.9
-     ]
meta-python/recipes-devtools/python/python3-dominate_2.9.0.bb renamed from meta-python/recipes-devtools/python/python3-dominate_2.8.0.bb +2 -3
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-dominate_2.8.0.bb
rename to meta-python/recipes-devtools/python/python3-dominate_2.9.0.bb
index 6b0489e4f..2234e541b 100644
@@ -2,13 +2,12 @@ SUMMARY = "Dominate is a Python library for creating and manipulating HTML docum
 LICENSE = "LGPL-3.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24"
 
-SRC_URI[sha256sum] = "4c90c3befaf88e612b71f4b39af7bcbef8977acfa855cec957225a8fbf504007"
+SRC_URI[sha256sum] = "b15791ebea432218543a1702d76ae45d2ff95ff994e52014b8686a69dad772fd"
 
-inherit pypi setuptools3 ptest
+inherit pypi ptest python_setuptools_build_meta
 
 SRC_URI += " \
 	file://run-ptest \
-	file://fix-ptests.patch \
 "
 
 RDEPENDS:${PN}-ptest += " \
Signature · 1 line
2.39.2
author
#3 lore raw

PATCH 4/4 python3-rlp: upgrade 3.0.0 -> 4.0.0

In reply to Leon Anavi

Upgrade to version 4.0.0:

- repr() now returns an evaluatable string, like MyRLPObj(my_int_field=1, my_str_field="a_str")
- Convert .format strings to f-strings
- Add autoflake linting and move config to pyproject.toml

---
 ...-setup-don-t-use-setuptools-markdown.patch | 37 -------------------
 ...hon3-rlp_3.0.0.bb => python3-rlp_4.0.0.bb} |  8 ++--
 2 files changed, 5 insertions(+), 40 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch
 rename meta-python/recipes-devtools/python/{python3-rlp_3.0.0.bb => python3-rlp_4.0.0.bb} (60%)
meta-python/recipes-devtools/python/python3-rlp/0001-setup-don-t-use-setuptools-markdown.patch deleted +0 -37
deleted file mode 100644
index 0ab012a98..000000000
@@ -1,37 +0,0 @@
-From 5a2db801c6520be296cee9cba0e0e4ffac68430c Mon Sep 17 00:00:00 2001
-From: Bartosz Golaszewski <[email protected]>
-Date: Wed, 11 May 2022 15:11:19 +0200
-Subject: [PATCH] setup: don't use setuptools-markdown
-
-This project is deprecated and irrelevant for the functionality of
-pyrlp. We don't support it in meta-python so just drop it from the
-dependencies.
-
-Signed-off-by: Bartosz Golaszewski <[email protected]>
----
-Upstream-Status: Pending
-
- setup.py | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 1055fb1..55fca24 100755
---- a/setup.py
-+++ b/setup.py
-@@ -46,13 +46,11 @@ setup(
-     # *IMPORTANT*: Don't manually change the version here. See README for more.
-     version='3.0.0',
-     description="A package for Recursive Length Prefix encoding and decoding",
--    long_description_markdown_filename='README.md',
-     author="jnnk",
-     author_email='[email protected]',
-     url='https://github.com/ethereum/pyrlp',
-     packages=find_packages(exclude=["tests", "tests.*"]),
-     include_package_data=True,
--    setup_requires=['setuptools-markdown'],
-     install_requires=[
-         "eth-utils>=2.0.0,<3",
-     ],
--- 
-2.34.1
-
meta-python/recipes-devtools/python/python3-rlp_4.0.0.bb renamed from meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb +5 -3
similarity index 60%
rename from meta-python/recipes-devtools/python/python3-rlp_3.0.0.bb
rename to meta-python/recipes-devtools/python/python3-rlp_4.0.0.bb
index e747ae33b..49efd09a4 100644
@@ -4,11 +4,13 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=00854fa80a84236706b11f47f23e61e7"
 
-SRC_URI[sha256sum] = "63b0465d2948cd9f01de449d7adfb92d207c1aef3982f20310f8009be4a507e8"
-SRC_URI += "file://0001-setup-don-t-use-setuptools-markdown.patch"
+SRC_URI[sha256sum] = "61a5541f86e4684ab145cb849a5929d2ced8222930a570b3941cf4af16b72a78"
 
 inherit pypi setuptools3
 
 DEPENDS += "python3-pip-native"
 
-RDEPENDS:${PN} += "python3-eth-utils"
+RDEPENDS:${PN} += " \
+    ${PYTHON_PN}-eth-utils \
+    ${PYTHON_PN}-typing-extensions \
+"
Signature · 1 line
2.39.2
Applied
#4 lore raw
In reply to Leon Anavi
Quoted 17 lines · Leon Anavi

Upgrade to version 0.11.1:

- Improved interface generator handling of multiple uppercase letters sequences.
- Improved python formatting generated by interface code generator.
- Added option --block to generate blocking interface code.
- Fixed docstrings still being present even if python was configured with --without-doc-strings.
- Fixed interface generator crashing when a rare write-only property is encountered.
- Fixed async interfaces iterating over all members during initialization.
- Fixed TypeError: Dbus type '\x00' is unknown being raised when trying to read from a message more than one time.
- Fixed missing class body when generating code for interface without members.

Quoted 1 line

[...]

Applied, thanks!

[1/4] python3-sdbus: upgrade 0.11.0 -> 0.11.1

      commit: a89917242d352f319b142103f33b0987f0215f99
[2/4] python3-zeroconf: upgrade 0.128.4 -> 0.130.0
      commit: c6ba2fcc4a46cf8df0060d1dc90d4b6864cb6140
[3/4] python3-dominate: upgrade 2.8.0 -> 2.9.0
      commit: 1d887eede793e8e3da3a75f3ffead7ea1d867698
[4/4] python3-rlp: upgrade 3.0.0 -> 4.0.0
      commit: fb7023bd3c2038fc61f40d3ed95c96a74cef2368

Best regards,

Signature · 1 line
Khem Raj <[email protected]>