summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-aiohttp_3.13.5.bb (renamed from meta-python/recipes-devtools/python/python3-aiohttp_3.13.4.bb)7
-rw-r--r--meta-python/recipes-devtools/python/python3-stopit/0001-Drop-the-deprecated-pkg_resources.patch38
-rw-r--r--meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb8
3 files changed, 48 insertions, 5 deletions
diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.13.4.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.13.5.bb
index 7416b87347..f3a0fbf557 100644
--- a/meta-python/recipes-devtools/python/python3-aiohttp_3.13.4.bb
+++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.13.5.bb
@@ -4,9 +4,14 @@ HOMEPAGE = "https://github.com/aio-libs/aiohttp"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41"
6 6
7SRC_URI[sha256sum] = "d97a6d09c66087890c2ab5d49069e1e570583f7ac0314ecf98294c1b6aaebd38" 7SRC_URI[sha256sum] = "9d98cc980ecc96be6eb4c1994ce35d28d8b1f5e5208a23b421187d1209dbb7d1"
8 8
9CVE_PRODUCT = "aiohttp" 9CVE_PRODUCT = "aiohttp"
10CVE_STATUS_GROUPS = "CVE_AIOHTTP_FIX_3_13_4"
11CVE_AIOHTTP_FIX_3_13_4[status] = "fixed-version: fixed in 3.13.4"
12CVE_AIOHTTP_FIX_3_13_4 = "CVE-2026-22815 CVE-2026-34513 CVE-2026-34514 \
13CVE-2026-34515 CVE-2026-34516 CVE-2026-34517 CVE-2026-34518 CVE-2026-34519 \
14CVE-2026-34520 CVE-2026-34525"
10 15
11inherit python_setuptools_build_meta pypi 16inherit python_setuptools_build_meta pypi
12 17
diff --git a/meta-python/recipes-devtools/python/python3-stopit/0001-Drop-the-deprecated-pkg_resources.patch b/meta-python/recipes-devtools/python/python3-stopit/0001-Drop-the-deprecated-pkg_resources.patch
new file mode 100644
index 0000000000..4252386384
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-stopit/0001-Drop-the-deprecated-pkg_resources.patch
@@ -0,0 +1,38 @@
1From b72825c89724c2c3b4c9c60d90c9d4ad597eead0 Mon Sep 17 00:00:00 2001
2From: "Bai, Haiqing" <Haiqing.Bai@windriver.com>
3Date: Thu, 2 Apr 2026 08:40:26 +0000
4Subject: [PATCH] Drop the deprecated pkg_resources
5
6pkg_resources is deprecated as an API. The pkg_resources package
7is slated for removal, so the way of obtaining the version needs
8to be updated.
9
10Upstream-Status: Inactive-Upstream [lastcommit: Jan/2024 lastrelease: Feb/2018]
11
12Signed-off-by: Bai, Haiqing <Haiqing.Bai@windriver.com>
13---
14 src/stopit/__init__.py | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/src/stopit/__init__.py b/src/stopit/__init__.py
18index 6ca0180..5ddfa4a 100644
19--- a/src/stopit/__init__.py
20+++ b/src/stopit/__init__.py
21@@ -7,7 +7,7 @@ stopit
22 Public resources from ``stopit``
23 """
24
25-import pkg_resources
26+from importlib.metadata import version
27
28 from .utils import LOG, TimeoutException
29 from .threadstop import ThreadingTimeout, async_raise, threading_timeoutable
30@@ -15,7 +15,7 @@ from .signalstop import SignalTimeout, signal_timeoutable
31
32 # PEP 396 style version marker
33 try:
34- __version__ = pkg_resources.get_distribution(__name__).version
35+ __version__ = version(__name__)
36 except:
37 LOG.warning("Could not get the package version from pkg_resources")
38 __version__ = 'unknown'
diff --git a/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb b/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb
index a952722619..2cf7742a90 100644
--- a/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb
@@ -2,7 +2,6 @@ SUMMARY = "Raise asynchronous exceptions in other threads, control the timeout o
2HOMEPAGE = "https://pypi.org/project/stopit/" 2HOMEPAGE = "https://pypi.org/project/stopit/"
3SECTION = "devel/python" 3SECTION = "devel/python"
4 4
5SRC_URI += " file://LICENSE "
6LICENSE = "MIT" 5LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=497c556f42b1355b64190da2f3d88f93" 6LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=497c556f42b1355b64190da2f3d88f93"
8 7
@@ -10,8 +9,9 @@ SRC_URI[sha256sum] = "f7f39c583fd92027bd9d06127b259aee7a5b7945c1f1fa56263811e1e7
10 9
11inherit pypi setuptools3 10inherit pypi setuptools3
12 11
13RDEPENDS:${PN} += "\ 12SRC_URI += "\
14 python3-setuptools \ 13 file://LICENSE \
15 " 14 file://0001-Drop-the-deprecated-pkg_resources.patch \
15"
16 16
17BBCLASSEXTEND = "native nativesdk" 17BBCLASSEXTEND = "native nativesdk"