From: Yash Shinde <[email protected]>

https://github.com/pallets/click/releases/tag/8.5.0
https://pypi.org/project/click/8.5.0/

- Drop merged pytest-fix.patch.
https://github.com/pallets/click/commit/30749b45c50f4811a3487fc9d11da2b7afc6007f

Signed-off-by: Yash Shinde <[email protected]>
---
 .../python/python3-click/pytest-fix.patch     | 36 -------------------
 ...-click_8.4.2.bb => python3-click_8.5.0.bb} |  3 +-
 2 files changed, 1 insertion(+), 38 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-click/pytest-fix.patch
 rename meta/recipes-devtools/python/{python3-click_8.4.2.bb => 
python3-click_8.5.0.bb} (88%)

diff --git a/meta/recipes-devtools/python/python3-click/pytest-fix.patch 
b/meta/recipes-devtools/python/python3-click/pytest-fix.patch
deleted file mode 100644
index abfa07120a..0000000000
--- a/meta/recipes-devtools/python/python3-click/pytest-fix.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 1cdbe9829973a30037075d613b5a1d5a42e260d5 Mon Sep 17 00:00:00 2001
-From: Richard Purdie <[email protected]>
-Date: Mon, 15 Jun 2026 11:37:28 +0100
-Subject: [PATCH] Fix an error with newer versions of pytest (9.1.0) by
- converting the generator into a tuple:
-
-E   pytest.PytestRemovedIn10Warning: Passing a non-Collection iterable to 
parametrize is deprecated.
-E   Test: tests/test_basic.py::test_boolean_conversion, argvalues type: chain
-E   Please convert to a list or tuple.
-E   See 
https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
-ERROR: tests/test_basic.py:tests/test_basic.py
-
-Signed-off-by: Richard Purdie <[email protected]>
-
-Upstream-Status: Submitted [https://github.com/pallets/click/pull/3597]
----
- tests/test_basic.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tests/test_basic.py b/tests/test_basic.py
-index 34d22e7..8076dd8 100644
---- a/tests/test_basic.py
-+++ b/tests/test_basic.py
-@@ -258,10 +258,10 @@ def test_boolean_flag(runner, default, args, expect):
- 
- @pytest.mark.parametrize(
-     ("value", "expect"),
--    chain(
-+    tuple(chain(
-         ((x, "True") for x in ("1", "true", "t", "yes", "y", "on")),
-         ((x, "False") for x in ("0", "false", "f", "no", "n", "off")),
--    ),
-+    )),
- )
- def test_boolean_conversion(runner, value, expect):
-     @click.command()
diff --git a/meta/recipes-devtools/python/python3-click_8.4.2.bb 
b/meta/recipes-devtools/python/python3-click_8.5.0.bb
similarity index 88%
rename from meta/recipes-devtools/python/python3-click_8.4.2.bb
rename to meta/recipes-devtools/python/python3-click_8.5.0.bb
index 0578a0421e..8884467692 100644
--- a/meta/recipes-devtools/python/python3-click_8.4.2.bb
+++ b/meta/recipes-devtools/python/python3-click_8.5.0.bb
@@ -8,8 +8,7 @@ HOMEPAGE = "http://click.pocoo.org/";
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1fa98232fd645608937a0fdc82e999b8"
 
-SRC_URI += "file://pytest-fix.patch"
-SRC_URI[sha256sum] = 
"9a6cea6e60b17ebe0a44c5cc636d94f09bd66142c1cd7d8b4cd731c4917a15f6"
+SRC_URI[sha256sum] = 
"ba0d2089de75ea0310e2dde03160e6ca10009947fb95a182f9b54021bb272e34"
 
 inherit pypi python_flit_core ptest-python-pytest
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#244461): 
https://lists.openembedded.org/g/openembedded-core/message/244461
Mute This Topic: https://lists.openembedded.org/mt/120952993/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to