From 834a1e05cfa7804a36d8c286b94d35a13276864f Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 21 Feb 2024 13:24:44 +0100 Subject: [PATCH 1/3] requirements.txt: pin paho to <2.0.0 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e71cc56..281ef21 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,4 +10,4 @@ pytest-cov pytest-rerunfailures riotctrl scapy -paho-mqtt +paho-mqtt<2 From 6e59006955452fd51091cad863c5b1964a890151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikolai=20G=C3=BCtschow?= Date: Mon, 17 Jun 2024 11:49:33 +0200 Subject: [PATCH 2/3] testutils: fix use-yield-from for pylint --- testutils/tests/test_github.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testutils/tests/test_github.py b/testutils/tests/test_github.py index e3930b3..f6157dd 100644 --- a/testutils/tests/test_github.py +++ b/testutils/tests/test_github.py @@ -134,8 +134,7 @@ def __init__(self, issues): # pylint: disable=W0613 def get_issues(self, *args, **kwargs): - for issue in self.issues: - yield issue + yield from self.issues issues = [MockIssue(title) for title in issue_titles] repo = MockRepo(issues) From 21a3af5a5cf9c3f0fd217d7c952225fda43c1dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikolai=20G=C3=BCtschow?= Date: Mon, 17 Jun 2024 11:31:36 +0200 Subject: [PATCH 3/3] 09-coap: pass URI instead of separate host and path components adapts the release spec to the changes from https://github.com/RIOT-OS/RIOT/pull/20554 --- 09-coap/test_spec09.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/09-coap/test_spec09.py b/09-coap/test_spec09.py index 55fbc01..ab3251b 100644 --- a/09-coap/test_spec09.py +++ b/09-coap/test_spec09.py @@ -36,7 +36,7 @@ def coap_get( cmd = "coap get " if confirmable: cmd += "-c " - cmd += f"[{addr}]:{port:d} {resource}" + cmd += f"coap://[{addr}]:{port:d}{resource}" return self.cmd(cmd, timeout=timeout, async_=async_)