From: Wang Mingyu <[email protected]>

py3.13.patch
removed since it's included in 1.6.10

Changelog:
=========
- Fix source distribution not released
- Fix error not cleared from an internal PyObject_GetAttrString call

Signed-off-by: Wang Mingyu <[email protected]>
---
 .../python/python3-yappi/py3.13.patch         | 43 -------------------
 ...yappi_1.6.0.bb => python3-yappi_1.6.10.bb} | 12 +++---
 2 files changed, 5 insertions(+), 50 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-yappi/py3.13.patch
 rename meta-python/recipes-devtools/python/{python3-yappi_1.6.0.bb => 
python3-yappi_1.6.10.bb} (69%)

diff --git a/meta-python/recipes-devtools/python/python3-yappi/py3.13.patch 
b/meta-python/recipes-devtools/python/python3-yappi/py3.13.patch
deleted file mode 100644
index 48d81d56e..000000000
--- a/meta-python/recipes-devtools/python/python3-yappi/py3.13.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From defc0291039184b640779e38471ece5e6d3c8cb8 Mon Sep 17 00:00:00 2001
-From: Alfredo Moralejo <[email protected]>
-Date: Tue, 2 Jul 2024 10:48:24 +0200
-Subject: [PATCH] Add support for python 3.13
-
-_PyEval_SetProfile() has been moved to internal pycore_ceval.h and it is
-not longer exported [1]. PyEval_SetProfileAllThreads was introduced in 3.12 
[2].
-
-[1] 
https://github.com/python/cpython/commit/c494fb333b57bdf43fc90189fc29a00c293b2987
-[2] 
https://github.com/python/cpython/commits/76af5c9153394f3d07562427168711a68f54ec66
-
-Upstream-Status: Backport 
[https://github.com/sumerc/yappi/commit/defc0291039184b640779e38471ece5e6d3c8cb8]
-Signed-off-by: Alexander Kanavin <[email protected]>
----
- yappi/_yappi.c | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/yappi/_yappi.c b/yappi/_yappi.c
-index 459f4dd..56187c9 100644
---- a/yappi/_yappi.c
-+++ b/yappi/_yappi.c
-@@ -1284,7 +1284,9 @@ _resume_greenlet_ctx(_ctx *ctx)
- static void 
- _eval_setprofile(PyThreadState *ts)
- {
--#if PY_VERSION_HEX > 0x030b0000
-+#if PY_VERSION_HEX > 0x030c0000
-+    PyEval_SetProfileAllThreads(_yapp_callback, NULL);
-+#elif PY_VERSION_HEX > 0x030b0000
-     _PyEval_SetProfile(ts, _yapp_callback, NULL);
- #elif PY_VERSION_HEX < 0x030a00b1
-     ts->use_tracing = 1;
-@@ -1298,7 +1300,9 @@ _eval_setprofile(PyThreadState *ts)
- static void
- _eval_unsetprofile(PyThreadState *ts)
- {
--#if PY_VERSION_HEX > 0x030b0000
-+#if PY_VERSION_HEX > 0x030c0000
-+    PyEval_SetProfileAllThreads(NULL, NULL);
-+#elif PY_VERSION_HEX > 0x030b0000
-     _PyEval_SetProfile(ts, NULL, NULL);
- #elif PY_VERSION_HEX < 0x030a00b1
-     ts->use_tracing = 0;
diff --git a/meta-python/recipes-devtools/python/python3-yappi_1.6.0.bb 
b/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb
similarity index 69%
rename from meta-python/recipes-devtools/python/python3-yappi_1.6.0.bb
rename to meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb
index 80d5012be..c87d5aca6 100644
--- a/meta-python/recipes-devtools/python/python3-yappi_1.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-yappi_1.6.10.bb
@@ -4,14 +4,12 @@ HOMEPAGE = "https://github.com/sumerc/yappi";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee"
 
-SRC_URI[sha256sum] = 
"a9aaf72009d8c03067294151ee0470ac7a6dfa7b33baab40b198d6c1ef00430a"
+SRC_URI[sha256sum] = 
"463b822727658937bd95a7d80ca9758605b8cd0014e004e9e520ec9cb4db0c92"
 
-SRC_URI += " \
-    file://run-ptest \
-    file://0001-test_functionality-convert-line-endings-to-Unix.patch \
-    file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \
-    file://py3.13.patch \
-"
+SRC_URI += "file://run-ptest \
+           file://0001-test_functionality-convert-line-endings-to-Unix.patch \
+           file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \
+           "
 
 inherit pypi python_setuptools_build_meta ptest
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113897): 
https://lists.openembedded.org/g/openembedded-devel/message/113897
Mute This Topic: https://lists.openembedded.org/mt/109641319/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to