summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/conf/include/ptest-packagelists-meta-python.inc10
-rw-r--r--meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb6
-rw-r--r--meta-python/recipes-devtools/python/python3-aenum_3.1.16.bb (renamed from meta-python/recipes-devtools/python/python3-aenum_3.1.15.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-aiodns_4.0.0.bb (renamed from meta-python/recipes-devtools/python/python3-aiodns_3.6.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-aiohttp_3.13.3.bb (renamed from meta-python/recipes-devtools/python/python3-aiohttp_3.13.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-alembic_1.18.0.bb (renamed from meta-python/recipes-devtools/python/python3-alembic_1.17.2.bb)4
-rw-r--r--meta-python/recipes-devtools/python/python3-anyio_4.12.1.bb (renamed from meta-python/recipes-devtools/python/python3-anyio_4.12.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb (renamed from meta-python/recipes-devtools/python/python3-astroid_4.0.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-behave_1.3.3.bb (renamed from meta-python/recipes-devtools/python/python3-behave_1.3.2.bb)4
-rw-r--r--meta-python/recipes-devtools/python/python3-bleak/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-bleak_2.1.1.bb (renamed from meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb)7
-rw-r--r--meta-python/recipes-devtools/python/python3-bumble_0.0.221.bb (renamed from meta-python/recipes-devtools/python/python3-bumble_0.0.220.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-filelock/run-ptest6
-rw-r--r--meta-python/recipes-devtools/python/python3-filelock_3.20.3.bb (renamed from meta-python/recipes-devtools/python/python3-filelock_3.20.2.bb)11
-rw-r--r--meta-python/recipes-devtools/python/python3-fsspec_2025.12.0.bb (renamed from meta-python/recipes-devtools/python/python3-fsspec_2025.5.1.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch12
-rw-r--r--meta-python/recipes-devtools/python/python3-gcovr_8.5.bb (renamed from meta-python/recipes-devtools/python/python3-gcovr_8.3.bb)4
-rw-r--r--meta-python/recipes-devtools/python/python3-google-auth/0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch34
-rw-r--r--meta-python/recipes-devtools/python/python3-google-auth_2.47.0.bb (renamed from meta-python/recipes-devtools/python/python3-google-auth_2.45.0.bb)3
-rw-r--r--meta-python/recipes-devtools/python/python3-huey_2.6.0.bb (renamed from meta-python/recipes-devtools/python/python3-huey_2.5.5.bb)4
-rw-r--r--meta-python/recipes-devtools/python/python3-identify_2.6.15.bb (renamed from meta-python/recipes-devtools/python/python3-identify_2.6.13.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-ipython_9.9.0.bb (renamed from meta-python/recipes-devtools/python/python3-ipython_9.8.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-langtable_0.0.69.bb (renamed from meta-python/recipes-devtools/python/python3-langtable_0.0.68.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-libevdev/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb (renamed from meta-python/recipes-devtools/python/python3-libevdev_0.12.bb)18
-rw-r--r--meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb3
-rw-r--r--meta-python/recipes-devtools/python/python3-marshmallow_4.2.0.bb (renamed from meta-python/recipes-devtools/python/python3-marshmallow_4.1.2.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-moteus_0.3.97.bb (renamed from meta-python/recipes-devtools/python/python3-moteus_0.3.96.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-nocasedict_2.2.0.bb (renamed from meta-python/recipes-devtools/python/python3-nocasedict_2.1.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-nocaselist_2.2.0.bb (renamed from meta-python/recipes-devtools/python/python3-nocaselist_2.1.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pikepdf_10.2.0.bb (renamed from meta-python/recipes-devtools/python/python3-pikepdf_10.1.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pillow_12.1.0.bb (renamed from meta-python/recipes-devtools/python/python3-pillow_12.0.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pyais_2.15.0.bb (renamed from meta-python/recipes-devtools/python/python3-pyais_2.14.0.bb)4
-rw-r--r--meta-python/recipes-devtools/python/python3-pyasyncore_1.0.5.bb (renamed from meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pycares_5.0.1.bb (renamed from meta-python/recipes-devtools/python/python3-pycares_4.11.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pylint_4.0.4.bb (renamed from meta-python/recipes-devtools/python/python3-pylint_4.0.3.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pymongo_4.16.0.bb (renamed from meta-python/recipes-devtools/python/python3-pymongo_4.15.5.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-pystemd_0.15.1.bb (renamed from meta-python/recipes-devtools/python/python3-pystemd_0.14.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-reportlab_4.4.5.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-starlette_0.51.0.bb (renamed from meta-python/recipes-devtools/python/python3-starlette_0.50.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-termcolor_3.3.0.bb (renamed from meta-python/recipes-devtools/python/python3-termcolor_3.2.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-tomli_2.4.0.bb (renamed from meta-python/recipes-devtools/python/python3-tomli_2.3.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-typer_0.21.1.bb (renamed from meta-python/recipes-devtools/python/python3-typer_0.21.0.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-types-psutil_7.2.1.20251231.bb (renamed from meta-python/recipes-devtools/python/python3-types-psutil_7.1.3.20251130.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-uvicorn_0.40.0.bb1
-rw-r--r--meta-python/recipes-devtools/python/python3-virtualenv_20.36.1.bb (renamed from meta-python/recipes-devtools/python/python3-virtualenv_20.35.4.bb)2
-rw-r--r--meta-python/recipes-devtools/python/python3-waitress/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb16
-rw-r--r--meta-python/recipes-devtools/python/python3-xmlschema_4.3.0.bb (renamed from meta-python/recipes-devtools/python/python3-xmlschema_4.2.0.bb)4
-rw-r--r--meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb (renamed from meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.0.bb)2
-rw-r--r--meta-python/recipes-extended/send2trash/python3-send2trash/0001-add-missing-conftest.py.patch52
-rw-r--r--meta-python/recipes-extended/send2trash/python3-send2trash/run-ptest10
-rw-r--r--meta-python/recipes-extended/send2trash/python3-send2trash_2.0.0.bb4
54 files changed, 194 insertions, 90 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index cdec25f876..d83ac85f1b 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -29,6 +29,7 @@ PTESTS_FAST_META_PYTHON = "\
29 python3-execnet \ 29 python3-execnet \
30 python3-fastjsonschema \ 30 python3-fastjsonschema \
31 python3-fastnumbers \ 31 python3-fastnumbers \
32 python3-filelock \
32 python3-flask \ 33 python3-flask \
33 python3-flexcache \ 34 python3-flexcache \
34 python3-flexparser \ 35 python3-flexparser \
@@ -94,6 +95,7 @@ PTESTS_FAST_META_PYTHON = "\
94 python3-rich-toolkit \ 95 python3-rich-toolkit \
95 python3-schedule \ 96 python3-schedule \
96 python3-semver \ 97 python3-semver \
98 python3-send2trash \
97 python3-serpent \ 99 python3-serpent \
98 python3-service-identity \ 100 python3-service-identity \
99 python3-setproctitle \ 101 python3-setproctitle \
@@ -115,6 +117,7 @@ PTESTS_FAST_META_PYTHON = "\
115 python3-unidiff \ 117 python3-unidiff \
116 python3-uritemplate \ 118 python3-uritemplate \
117 python3-validators \ 119 python3-validators \
120 python3-waitress \
118 python3-wrapt \ 121 python3-wrapt \
119 python3-wsproto \ 122 python3-wsproto \
120 python3-xlrd \ 123 python3-xlrd \
@@ -144,3 +147,10 @@ PTESTS_SLOW_META_PYTHON = "\
144 147
145PTESTS_PROBLEMS_META_PYTHON = "\ 148PTESTS_PROBLEMS_META_PYTHON = "\
146" 149"
150
151PTESTS_FAST_META_PYTHON:remove:libc-musl = "\
152 python3-waitress \
153"
154PTESTS_PROBLEMS_META_PYTHON:append:libc-musl = "\
155 python3-waitress \
156"
diff --git a/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb b/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb
index db181dc0b4..4034ffe7c1 100644
--- a/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb
+++ b/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb
@@ -10,3 +10,9 @@ inherit ptest-python-pytest pypi python_setuptools_build_meta
10 10
11RDEPENDS:${PN} += "python3-hpack python3-hyperframe" 11RDEPENDS:${PN} += "python3-hpack python3-hyperframe"
12RDEPENDS:${PN}-ptest += "python3-hypothesis" 12RDEPENDS:${PN}-ptest += "python3-hypothesis"
13
14do_install_ptest:append(){
15 # by defining CI envvar, hypothesis will use the CI-profile by default,
16 # and will not use tight execution deadlines (which times out easily on qemu without kvm)
17 sed -i 's/pytest/CI=1 pytest/' ${D}${PTEST_PATH}/run-ptest
18}
diff --git a/meta-python/recipes-devtools/python/python3-aenum_3.1.15.bb b/meta-python/recipes-devtools/python/python3-aenum_3.1.16.bb
index 3769be0d5d..feeee18e34 100644
--- a/meta-python/recipes-devtools/python/python3-aenum_3.1.15.bb
+++ b/meta-python/recipes-devtools/python/python3-aenum_3.1.16.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/aenum/"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://aenum/LICENSE;md5=c6a85477543f8b8591b9c1f82abebbe9" 4LIC_FILES_CHKSUM = "file://aenum/LICENSE;md5=c6a85477543f8b8591b9c1f82abebbe9"
5 5
6SRC_URI[sha256sum] = "8cbd76cd18c4f870ff39b24284d3ea028fbe8731a58df3aa581e434c575b9559" 6SRC_URI[sha256sum] = "bfaf9589bdb418ee3a986d85750c7318d9d2839c1b1a1d6fe8fc53ec201cf140"
7 7
8inherit pypi setuptools3 8inherit pypi setuptools3
9 9
diff --git a/meta-python/recipes-devtools/python/python3-aiodns_3.6.1.bb b/meta-python/recipes-devtools/python/python3-aiodns_4.0.0.bb
index 4d40a0e486..2f4459d338 100644
--- a/meta-python/recipes-devtools/python/python3-aiodns_3.6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-aiodns_4.0.0.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/saghul/aiodns"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d574ab425d1fcb37c9f1ad3961f18527" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=d574ab425d1fcb37c9f1ad3961f18527"
6 6
7SRC_URI[sha256sum] = "b0e9ce98718a5b8f7ca8cd16fc393163374bc2412236b91f6c851d066e3324b6" 7SRC_URI[sha256sum] = "17be26a936ba788c849ba5fd20e0ba69d8c46e6273e846eb5430eae2630ce5b1"
8 8
9PYPI_PACKAGE = "aiodns" 9PYPI_PACKAGE = "aiodns"
10 10
diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.13.2.bb b/meta-python/recipes-devtools/python/python3-aiohttp_3.13.3.bb
index df5d674a3d..00758a7546 100644
--- a/meta-python/recipes-devtools/python/python3-aiohttp_3.13.2.bb
+++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.13.3.bb
@@ -4,7 +4,7 @@ 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] = "40176a52c186aefef6eb3cad2cdd30cd06e3afbe88fe8ab2af9c0b90f228daca" 7SRC_URI[sha256sum] = "a949eee43d3782f2daae4f4a2819b2cb9b0c5d3b7f7a927067cc84dafdbb9f88"
8 8
9CVE_PRODUCT = "aiohttp" 9CVE_PRODUCT = "aiohttp"
10 10
diff --git a/meta-python/recipes-devtools/python/python3-alembic_1.17.2.bb b/meta-python/recipes-devtools/python/python3-alembic_1.18.0.bb
index 81bfdc64be..39038958f4 100644
--- a/meta-python/recipes-devtools/python/python3-alembic_1.17.2.bb
+++ b/meta-python/recipes-devtools/python/python3-alembic_1.18.0.bb
@@ -1,10 +1,10 @@
1DESCRIPTION = "A database migration tool for SQLAlchemy" 1DESCRIPTION = "A database migration tool for SQLAlchemy"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=d2ee18d90dcc02d96b76e9e953629936" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=ff111c41e8748bbfa45e8ba92347b681"
4 4
5inherit pypi python_setuptools_build_meta 5inherit pypi python_setuptools_build_meta
6 6
7SRC_URI[sha256sum] = "bbe9751705c5e0f14877f02d46c53d10885e377e3d90eda810a016f9baa19e8e" 7SRC_URI[sha256sum] = "0c4c03c927dc54d4c56821bdcc988652f4f63bf7b9017fd9d78d63f09fd22b48"
8 8
9RDEPENDS:${PN} += "\ 9RDEPENDS:${PN} += "\
10 python3-dateutil \ 10 python3-dateutil \
diff --git a/meta-python/recipes-devtools/python/python3-anyio_4.12.0.bb b/meta-python/recipes-devtools/python/python3-anyio_4.12.1.bb
index 500c1bd3dc..40312c761a 100644
--- a/meta-python/recipes-devtools/python/python3-anyio_4.12.0.bb
+++ b/meta-python/recipes-devtools/python/python3-anyio_4.12.1.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c0a769411d2af7894099e8ff75058c9f"
5 5
6inherit pypi python_setuptools_build_meta 6inherit pypi python_setuptools_build_meta
7 7
8SRC_URI[sha256sum] = "73c693b567b0c55130c104d0b43a9baf3aa6a31fc6110116509f27bf75e21ec0" 8SRC_URI[sha256sum] = "41cfcc3a4c85d3f05c932da7c26d0201ac36f72abd4435ba90d0464a3ffed703"
9 9
10DEPENDS += " \ 10DEPENDS += " \
11 python3-setuptools-scm-native \ 11 python3-setuptools-scm-native \
diff --git a/meta-python/recipes-devtools/python/python3-astroid_4.0.2.bb b/meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb
index 034d9c405e..efa59fc198 100644
--- a/meta-python/recipes-devtools/python/python3-astroid_4.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-astroid_4.0.3.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
4LICENSE = "LGPL-2.1-only" 4LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1"
6 6
7SRC_URI[sha256sum] = "ac8fb7ca1c08eb9afec91ccc23edbd8ac73bb22cbdd7da1d488d9fb8d6579070" 7SRC_URI[sha256sum] = "08d1de40d251cc3dc4a7a12726721d475ac189e4e583d596ece7422bc176bda3"
8 8
9inherit pypi python_setuptools_build_meta 9inherit pypi python_setuptools_build_meta
10 10
diff --git a/meta-python/recipes-devtools/python/python3-behave_1.3.2.bb b/meta-python/recipes-devtools/python/python3-behave_1.3.3.bb
index 02bd8ae925..77bbfde7b8 100644
--- a/meta-python/recipes-devtools/python/python3-behave_1.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-behave_1.3.3.bb
@@ -4,8 +4,8 @@ LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1fca0a9c7e4e4148d675b4dafd5c1e80" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=1fca0a9c7e4e4148d675b4dafd5c1e80"
5 5
6PV .= "+git${SRCREV}" 6PV .= "+git${SRCREV}"
7SRCREV = "c7ddf9aedf4d525a87f0be57dd83f2a3f63dd497" 7SRCREV = "7673da8324be5588642b23511ca4d7a134a0b0c1"
8SRC_URI += "git://github.com/behave/behave;branch=main;protocol=https" 8SRC_URI += "git://github.com/behave/behave;branch=release/v1.3.x;protocol=https"
9 9
10 10
11inherit python_setuptools_build_meta 11inherit python_setuptools_build_meta
diff --git a/meta-python/recipes-devtools/python/python3-bleak/run-ptest b/meta-python/recipes-devtools/python/python3-bleak/run-ptest
new file mode 100644
index 0000000000..623fc814c9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-bleak/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2#Skip integration as it need hci_vhci, but hci_vhci module is not enabled in yocto kernel.
3pytest --automake -k "not integration"
diff --git a/meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb b/meta-python/recipes-devtools/python/python3-bleak_2.1.1.bb
index 161b21b88c..03f2ed062c 100644
--- a/meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-bleak_2.1.1.bb
@@ -3,8 +3,10 @@ HOMEPAGE = "https://github.com/hbldh/bleak"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
5 5
6SRCREV = "718e5d76cd051910a9d5266266af632c2529c03c" 6SRCREV = "5d76a62a549a4674c64ee151d38e2339e8ba948a"
7PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop;destsuffix=${S}" 7PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop;destsuffix=${S};tag=v${PV}"
8
9SRC_URI:append = " file://run-ptest"
8 10
9inherit pypi python_poetry_core ptest-python-pytest 11inherit pypi python_poetry_core ptest-python-pytest
10 12
@@ -12,6 +14,7 @@ RDEPENDS:${PN}-ptest += " \
12 python3-asyncio \ 14 python3-asyncio \
13 python3-pytest-asyncio \ 15 python3-pytest-asyncio \
14 python3-pytest-cov \ 16 python3-pytest-cov \
17 python3-bumble \
15" 18"
16 19
17RDEPENDS:${PN} += " \ 20RDEPENDS:${PN} += " \
diff --git a/meta-python/recipes-devtools/python/python3-bumble_0.0.220.bb b/meta-python/recipes-devtools/python/python3-bumble_0.0.221.bb
index 150c342187..87a0b8376b 100644
--- a/meta-python/recipes-devtools/python/python3-bumble_0.0.220.bb
+++ b/meta-python/recipes-devtools/python/python3-bumble_0.0.221.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/google/bumble"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=7a775f1b11285b6abedd76748d176125" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=7a775f1b11285b6abedd76748d176125"
5 5
6SRC_URI[sha256sum] = "3ffb36148e4a558ea21253f7593d23d6250090b0af2920a82fcbfeacc6970fe9" 6SRC_URI[sha256sum] = "44e9ed8aab0aba256491c2acedd3080b48bb070cdb6776017d6d794e035f0dec"
7 7
8inherit pypi python_setuptools_build_meta ptest-python-pytest 8inherit pypi python_setuptools_build_meta ptest-python-pytest
9 9
diff --git a/meta-python/recipes-devtools/python/python3-filelock/run-ptest b/meta-python/recipes-devtools/python/python3-filelock/run-ptest
new file mode 100644
index 0000000000..88654deb70
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-filelock/run-ptest
@@ -0,0 +1,6 @@
1#!/bin/sh
2
3# Some tests require non-root
4useradd tester || echo test user exists already
5
6su tester -c "pytest --automake"
diff --git a/meta-python/recipes-devtools/python/python3-filelock_3.20.2.bb b/meta-python/recipes-devtools/python/python3-filelock_3.20.3.bb
index 75eb16635c..4499b220bd 100644
--- a/meta-python/recipes-devtools/python/python3-filelock_3.20.2.bb
+++ b/meta-python/recipes-devtools/python/python3-filelock_3.20.3.bb
@@ -5,11 +5,12 @@ HOMEPAGE = "https://py-filelock.readthedocs.io/"
5LICENSE = "Unlicense" 5LICENSE = "Unlicense"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f"
7 7
8SRC_URI[sha256sum] = "a2241ff4ddde2a7cebddf78e39832509cb045d18ec1a09d7248d6bfc6bfbbe64" 8SRC_URI += "file://run-ptest"
9SRC_URI[sha256sum] = "18c57ee915c7ec61cff0ecf7f0f869936c7c30191bb0cf406f1341778d0834e1"
9 10
10BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "native nativesdk"
11 12
12inherit pypi python_hatchling 13inherit pypi python_hatchling ptest-python-pytest
13 14
14DEPENDS += "\ 15DEPENDS += "\
15 python3-hatch-vcs-native \ 16 python3-hatch-vcs-native \
@@ -20,3 +21,9 @@ RDEPENDS:${PN} += " \
20 python3-logging \ 21 python3-logging \
21 python3-asyncio \ 22 python3-asyncio \
22" 23"
24
25RDEPENDS:${PN}-ptest += " \
26 python3-pytest-asyncio \
27 python3-pytest-mock \
28 python3-virtualenv \
29"
diff --git a/meta-python/recipes-devtools/python/python3-fsspec_2025.5.1.bb b/meta-python/recipes-devtools/python/python3-fsspec_2025.12.0.bb
index c65111e5cc..ea3e63968f 100644
--- a/meta-python/recipes-devtools/python/python3-fsspec_2025.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-fsspec_2025.12.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/fsspec/filesystem_spec"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=b38a11bf4dcdfc66307f8515ce1fbaa6" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=b38a11bf4dcdfc66307f8515ce1fbaa6"
5 5
6SRC_URI[sha256sum] = "2e55e47a540b91843b755e83ded97c6e897fa0942b11490113f09e9c443c2475" 6SRC_URI[sha256sum] = "c505de011584597b1060ff778bb664c1bc022e87921b0e4f10cc9c44f9635973"
7 7
8inherit pypi python_hatchling ptest 8inherit pypi python_hatchling ptest
9 9
diff --git a/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch b/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch
index b06acdf333..2e422cd8fc 100644
--- a/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch
+++ b/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch
@@ -20,12 +20,12 @@ index f8e54eb03..e6242f042 100644
20 20
21 [build-system] 21 [build-system]
22 requires = [ 22 requires = [
23- "hatchling==1.26.1", 23- "hatchling==1.27.0",
24- "hatch-vcs==0.4.0", 24- "hatch-vcs==0.5.0",
25- "hatch-fancy-pypi-readme==24.1.0" 25- "hatch-fancy-pypi-readme==25.1.0",
26+ "hatchling>=1.26.1", 26+ "hatchling>=1.27.0",
27+ "hatch-vcs>=0.4.0", 27+ "hatch-vcs>=0.5.0",
28+ "hatch-fancy-pypi-readme>=24.1.0" 28+ "hatch-fancy-pypi-readme>=25.1.0"
29 ] 29 ]
30 build-backend = "hatchling.build" 30 build-backend = "hatchling.build"
31 31
diff --git a/meta-python/recipes-devtools/python/python3-gcovr_8.3.bb b/meta-python/recipes-devtools/python/python3-gcovr_8.5.bb
index 4f0b6bb150..68cc9bc274 100644
--- a/meta-python/recipes-devtools/python/python3-gcovr_8.3.bb
+++ b/meta-python/recipes-devtools/python/python3-gcovr_8.5.bb
@@ -2,13 +2,13 @@ DESCRIPTION = "generate GCC code coverage reports"
2HOMEPAGE = "https://gcovr.com" 2HOMEPAGE = "https://gcovr.com"
3SECTION = "devel/python" 3SECTION = "devel/python"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ae27363fce24765bc79a095313a3b002" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ba06c93410cc51bafc66fa06456879bf"
6 6
7SRC_URI = " \ 7SRC_URI = " \
8 git://github.com/gcovr/gcovr.git;branch=main;protocol=https \ 8 git://github.com/gcovr/gcovr.git;branch=main;protocol=https \
9 file://0001-pyproject.toml-Support-newer-versions.patch \ 9 file://0001-pyproject.toml-Support-newer-versions.patch \
10" 10"
11SRCREV = "fe536afac4da31e86909191ef31708755ab8cf83" 11SRCREV = "71eedb8f300612d4095f2ffa4ac60e3fdd58c192"
12 12
13 13
14inherit python_hatchling 14inherit python_hatchling
diff --git a/meta-python/recipes-devtools/python/python3-google-auth/0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch b/meta-python/recipes-devtools/python/python3-google-auth/0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch
deleted file mode 100644
index 5ee13f3d63..0000000000
--- a/meta-python/recipes-devtools/python/python3-google-auth/0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 35eea881e1aeb27fc12cfb301e497e72e59e720f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 18 Nov 2025 17:23:09 -0800
4Subject: [PATCH] make the TLS tests skip when pyopenssl isn't available
5
6In some distributions e.g. yocto
7pyOpenSSL is a packageconfig and disabled by default,
8and it means pyopenssl.py module is not installed as a result.
9
10This test fails plainly when it can not find urllib3.contrib.pyopenssl
11instead skip the test if it does not find the module.
12
13Upstream-Status: Submitted [https://github.com/googleapis/google-auth-library-python/pull/1873]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 tests/transport/test__custom_tls_signer.py | 5 ++++-
17 1 file changed, 4 insertions(+), 1 deletion(-)
18
19diff --git a/tests/transport/test__custom_tls_signer.py b/tests/transport/test__custom_tls_signer.py
20index 3a33c2c..6f88ddf 100644
21--- a/tests/transport/test__custom_tls_signer.py
22+++ b/tests/transport/test__custom_tls_signer.py
23@@ -18,7 +18,10 @@ import os
24 import mock
25 import pytest # type: ignore
26 from requests.packages.urllib3.util.ssl_ import create_urllib3_context # type: ignore
27-import urllib3.contrib.pyopenssl # type: ignore
28+urllib3_pyopenssl = pytest.importorskip(
29+ "urllib3.contrib.pyopenssl",
30+ reason="urllib3.contrib.pyopenssl not available in this environment",
31+)
32
33 from google.auth import exceptions
34 from google.auth.transport import _custom_tls_signer
diff --git a/meta-python/recipes-devtools/python/python3-google-auth_2.45.0.bb b/meta-python/recipes-devtools/python/python3-google-auth_2.47.0.bb
index 17a9d7051e..3b141006a5 100644
--- a/meta-python/recipes-devtools/python/python3-google-auth_2.45.0.bb
+++ b/meta-python/recipes-devtools/python/python3-google-auth_2.47.0.bb
@@ -6,11 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
6inherit pypi setuptools3 ptest 6inherit pypi setuptools3 ptest
7 7
8SRC_URI += " \ 8SRC_URI += " \
9 file://0001-make-the-TLS-tests-skip-when-pyopenssl-isn-t-availab.patch \
10 file://0001-python3-google-auth-Skip-mTLS-tests-in-ptest-environ.patch \ 9 file://0001-python3-google-auth-Skip-mTLS-tests-in-ptest-environ.patch \
11 file://run-ptest \ 10 file://run-ptest \
12" 11"
13SRC_URI[sha256sum] = "90d3f41b6b72ea72dd9811e765699ee491ab24139f34ebf1ca2b9cc0c38708f3" 12SRC_URI[sha256sum] = "833229070a9dfee1a353ae9877dcd2dec069a8281a4e72e72f77d4a70ff945da"
14 13
15PYPI_PACKAGE = "google_auth" 14PYPI_PACKAGE = "google_auth"
16UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" 15UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
diff --git a/meta-python/recipes-devtools/python/python3-huey_2.5.5.bb b/meta-python/recipes-devtools/python/python3-huey_2.6.0.bb
index d80ece1fc7..2821262153 100644
--- a/meta-python/recipes-devtools/python/python3-huey_2.5.5.bb
+++ b/meta-python/recipes-devtools/python/python3-huey_2.6.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5cac039fcc82f01141cc170b48f315d4"
5 5
6PYPI_PACKAGE = "huey" 6PYPI_PACKAGE = "huey"
7 7
8SRC_URI[sha256sum] = "a39010628a9a1a9e91462f9bf33dc243b006a9f21193026ea47ae18949a12581" 8SRC_URI[sha256sum] = "8d11f8688999d65266af1425b831f6e3773e99415027177b8734b0ffd5e251f6"
9 9
10RDEPENDS:${PN} += " \ 10RDEPENDS:${PN} += " \
11 python3-datetime \ 11 python3-datetime \
@@ -14,5 +14,5 @@ RDEPENDS:${PN} += " \
14 python3-json \ 14 python3-json \
15" 15"
16 16
17inherit pypi setuptools3 17inherit pypi python_setuptools_build_meta
18 18
diff --git a/meta-python/recipes-devtools/python/python3-identify_2.6.13.bb b/meta-python/recipes-devtools/python/python3-identify_2.6.15.bb
index 2bc0d1aeed..c5498cf294 100644
--- a/meta-python/recipes-devtools/python/python3-identify_2.6.13.bb
+++ b/meta-python/recipes-devtools/python/python3-identify_2.6.15.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bbdc006359f3157660173ec7f133a80e"
5PYPI_PACKAGE = "identify" 5PYPI_PACKAGE = "identify"
6 6
7inherit pypi setuptools3 7inherit pypi setuptools3
8SRC_URI[sha256sum] = "da8d6c828e773620e13bfa86ea601c5a5310ba4bcd65edf378198b56a1f9fb32" 8SRC_URI[sha256sum] = "e4f4864b96c6557ef2a1e1c951771838f4edc9df3a72ec7118b338801b11c7bf"
9 9
10RDEPENDS:${PN} = " \ 10RDEPENDS:${PN} = " \
11 python3-ukkonen \ 11 python3-ukkonen \
diff --git a/meta-python/recipes-devtools/python/python3-ipython_9.8.0.bb b/meta-python/recipes-devtools/python/python3-ipython_9.9.0.bb
index de0351175f..53d334e251 100644
--- a/meta-python/recipes-devtools/python/python3-ipython_9.8.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ipython_9.9.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://ipython.org"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://COPYING.rst;md5=59b20262b8663cdd094005bddf47af5f" 4LIC_FILES_CHKSUM = "file://COPYING.rst;md5=59b20262b8663cdd094005bddf47af5f"
5 5
6SRC_URI[sha256sum] = "8e4ce129a627eb9dd221c41b1d2cdaed4ef7c9da8c17c63f6f578fe231141f83" 6SRC_URI[sha256sum] = "48fbed1b2de5e2c7177eefa144aba7fcb82dac514f09b57e2ac9da34ddb54220"
7 7
8RDEPENDS:${PN} = "\ 8RDEPENDS:${PN} = "\
9 python3-setuptools \ 9 python3-setuptools \
diff --git a/meta-python/recipes-devtools/python/python3-langtable_0.0.68.bb b/meta-python/recipes-devtools/python/python3-langtable_0.0.69.bb
index 64eb57dd38..27ab97cd9b 100644
--- a/meta-python/recipes-devtools/python/python3-langtable_0.0.68.bb
+++ b/meta-python/recipes-devtools/python/python3-langtable_0.0.69.bb
@@ -6,7 +6,7 @@ SECTION = "devel/python"
6 6
7LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 7LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
8 8
9SRC_URI[sha256sum] = "3965a4d57a066a595ea8a87f6a5295412e65a7f39dbaad95c7327d48b11799fe" 9SRC_URI[sha256sum] = "f0a51870cf837fd689094ce73a420efa0b9b470facda551090f9a93d1e16510c"
10 10
11inherit pypi setuptools3 python3native 11inherit pypi setuptools3 python3native
12 12
diff --git a/meta-python/recipes-devtools/python/python3-libevdev/run-ptest b/meta-python/recipes-devtools/python/python3-libevdev/run-ptest
new file mode 100644
index 0000000000..8d2017d39c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-libevdev/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-libevdev_0.12.bb b/meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb
index cabcfd8df6..1c8a99eb33 100644
--- a/meta-python/recipes-devtools/python/python3-libevdev_0.12.bb
+++ b/meta-python/recipes-devtools/python/python3-libevdev_0.13.1.bb
@@ -5,13 +5,27 @@ SECTION = "devel/python"
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d94c10c546b419eddc6296157ec40747" 6LIC_FILES_CHKSUM = "file://COPYING;md5=d94c10c546b419eddc6296157ec40747"
7 7
8SRC_URI[sha256sum] = "02e952632ec6c249cbb9c66f6fa00012ea448b06606c77cd139133bc2fe46b08" 8SRC_URI[sha256sum] = "dc3369cd1401767b9ecb1117cd6b73faba9038e3bd9e1695a710a9e9d9415e8d"
9 9
10inherit pypi setuptools3 10inherit pypi python_hatchling ptest
11 11
12PYPI_PACKAGE = "libevdev" 12PYPI_PACKAGE = "libevdev"
13 13
14SRC_URI += " \
15 file://run-ptest \
16"
17
14RDEPENDS:${PN} += " \ 18RDEPENDS:${PN} += " \
15 libevdev \ 19 libevdev \
16 python3-ctypes \ 20 python3-ctypes \
17" 21"
22
23RDEPENDS:${PN}-ptest += " \
24 python3-pytest \
25"
26
27do_install_ptest() {
28 install -d ${D}${PTEST_PATH}/test
29 cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
30}
31
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb
index 03b178fc8a..bd7a2369bd 100644
--- a/meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb
+++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.46.2.bb
@@ -12,6 +12,9 @@ SRC_URI += " \
12 file://0002-fix-correct-struct-packing-on-32-bit-with-_TIME_BITS.patch \ 12 file://0002-fix-correct-struct-packing-on-32-bit-with-_TIME_BITS.patch \
13" 13"
14 14
15CVE_STATUS[CVE-2009-0127] = "disputed: upstream claims there is no bug"
16CVE_STATUS[CVE-2020-25657] = "fixed-version: the used version (0.46.2) contains the fix already"
17
15inherit pypi siteinfo python_setuptools_build_meta 18inherit pypi siteinfo python_setuptools_build_meta
16 19
17DEPENDS += "openssl swig-native" 20DEPENDS += "openssl swig-native"
diff --git a/meta-python/recipes-devtools/python/python3-marshmallow_4.1.2.bb b/meta-python/recipes-devtools/python/python3-marshmallow_4.2.0.bb
index af973b2cf9..006f91838c 100644
--- a/meta-python/recipes-devtools/python/python3-marshmallow_4.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-marshmallow_4.2.0.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "\
6 file://LICENSE;md5=27586b20700d7544c06933afe56f7df4 \ 6 file://LICENSE;md5=27586b20700d7544c06933afe56f7df4 \
7 file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb" 7 file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb"
8 8
9SRC_URI[sha256sum] = "083f250643d2e75fd363f256aeb6b1af369a7513ad37647ce4a601f6966e3ba5" 9SRC_URI[sha256sum] = "908acabd5aa14741419d3678d3296bda6abe28a167b7dcd05969ceb8256943ac"
10 10
11CVE_PRODUCT = "marshmallow" 11CVE_PRODUCT = "marshmallow"
12 12
diff --git a/meta-python/recipes-devtools/python/python3-moteus_0.3.96.bb b/meta-python/recipes-devtools/python/python3-moteus_0.3.97.bb
index 99d36791e1..313619a5b2 100644
--- a/meta-python/recipes-devtools/python/python3-moteus_0.3.96.bb
+++ b/meta-python/recipes-devtools/python/python3-moteus_0.3.97.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=9;md5=24025d3c660abfc62a
5 5
6inherit pypi setuptools3 6inherit pypi setuptools3
7 7
8SRC_URI[sha256sum] = "b30d63a38bfc834e0bf8154d2f8cead81fbeaee38f14fff0ef2a40f620ed11eb" 8SRC_URI[sha256sum] = "59f6f185390822c41f993c56027e4be338be87d40435acb0e10df1d68d662e69"
9 9
10S = "${UNPACKDIR}/moteus-${PV}" 10S = "${UNPACKDIR}/moteus-${PV}"
11 11
diff --git a/meta-python/recipes-devtools/python/python3-nocasedict_2.1.0.bb b/meta-python/recipes-devtools/python/python3-nocasedict_2.2.0.bb
index a7c3f55702..4580fff727 100644
--- a/meta-python/recipes-devtools/python/python3-nocasedict_2.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-nocasedict_2.2.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pywbem/nocasedict"
3LICENSE = "LGPL-2.1-only" 3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
5 5
6SRC_URI[sha256sum] = "b563d5851cbb0e0b10fbb6189ba87e0612d22e5a6f3a004a4573ab5b38aaaa7d" 6SRC_URI[sha256sum] = "6f2b608602b0568cd06ff46e2a0f231d2a0c247d6dc120672c381cb29169e1e7"
7 7
8inherit pypi python_setuptools_build_meta 8inherit pypi python_setuptools_build_meta
9 9
diff --git a/meta-python/recipes-devtools/python/python3-nocaselist_2.1.0.bb b/meta-python/recipes-devtools/python/python3-nocaselist_2.2.0.bb
index ba148cbfa8..744c8312be 100644
--- a/meta-python/recipes-devtools/python/python3-nocaselist_2.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-nocaselist_2.2.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://nocaselist.readthedocs.io/en/latest/"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
5 5
6SRC_URI[sha256sum] = "fb7306f5a3e045534e737ab7ecbeee039ba5e9bafbc5b5f231f616d7e9211b65" 6SRC_URI[sha256sum] = "b06b3d6fec1abc05c607aa8e813599388727a08e18c223431d7469cf6eb0c06a"
7 7
8inherit pypi python_setuptools_build_meta 8inherit pypi python_setuptools_build_meta
9 9
diff --git a/meta-python/recipes-devtools/python/python3-pikepdf_10.1.0.bb b/meta-python/recipes-devtools/python/python3-pikepdf_10.2.0.bb
index 605cc69be9..1854ab0ab9 100644
--- a/meta-python/recipes-devtools/python/python3-pikepdf_10.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pikepdf_10.2.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pikepdf/pikepdf"
3LICENSE = "MPL-2.0" 3LICENSE = "MPL-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9741c346eef56131163e13b9db1241b3" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9741c346eef56131163e13b9db1241b3"
5 5
6SRC_URI[sha256sum] = "d75778283c354580a462d31bd4334f6ba92225e41ccd8bb949ec6e98a23d4eb2" 6SRC_URI[sha256sum] = "0f398b0daeb2ffd2358f75c06f1dd47b9ba76f1a77dfe938cccf7080c58227d7"
7 7
8inherit pypi python_setuptools_build_meta 8inherit pypi python_setuptools_build_meta
9 9
diff --git a/meta-python/recipes-devtools/python/python3-pillow_12.0.0.bb b/meta-python/recipes-devtools/python/python3-pillow_12.1.0.bb
index 0730ac7d32..83231cad06 100644
--- a/meta-python/recipes-devtools/python/python3-pillow_12.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_12.1.0.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a1b708da743e3fc0e5c35e92daac0bf8"
8SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https;tag=${PV} \ 8SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https;tag=${PV} \
9 file://0001-support-cross-compiling.patch \ 9 file://0001-support-cross-compiling.patch \
10 " 10 "
11SRCREV = "693df7b42c666f88c719f9973be0ad71607328e0" 11SRCREV = "46f45f674d47b5d8bc54230dda8fe9e214598b87"
12 12
13inherit python_setuptools_build_meta ptest-python-pytest 13inherit python_setuptools_build_meta ptest-python-pytest
14 14
diff --git a/meta-python/recipes-devtools/python/python3-pyais_2.14.0.bb b/meta-python/recipes-devtools/python/python3-pyais_2.15.0.bb
index 800f460610..3f124a750d 100644
--- a/meta-python/recipes-devtools/python/python3-pyais_2.14.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pyais_2.15.0.bb
@@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/M0r13n/pyais"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=79d9e278b76e3e5b3358cd70b328173c" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=79d9e278b76e3e5b3358cd70b328173c"
5 5
6SRC_URI = "git://github.com/M0r13n/pyais;protocol=https;branch=master" 6SRC_URI = "git://github.com/M0r13n/pyais;protocol=https;branch=master;tag=v${PV}"
7 7
8SRCREV = "04c33cdfd156bcfbb6c924f7f889e47e3c2373c6" 8SRCREV = "7350f9db65ad715e582979bf389133bde07f5e10"
9 9
10inherit python_setuptools_build_meta ptest-python-pytest 10inherit python_setuptools_build_meta ptest-python-pytest
11 11
diff --git a/meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb b/meta-python/recipes-devtools/python/python3-pyasyncore_1.0.5.bb
index ecd24c95cf..a1331e1e91 100644
--- a/meta-python/recipes-devtools/python/python3-pyasyncore_1.0.4.bb
+++ b/meta-python/recipes-devtools/python/python3-pyasyncore_1.0.5.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d5605fc335ce1bab614032468d0a1e00"
6inherit pypi setuptools3 ptest 6inherit pypi setuptools3 ptest
7SRC_URI += "file://run-ptest" 7SRC_URI += "file://run-ptest"
8 8
9SRC_URI[sha256sum] = "2c7a8b9b750ba6260f1e5a061456d61320a80579c6a43d42183417da89c7d5d6" 9SRC_URI[sha256sum] = "dd483d5103a6d59b66b86e0ca2334ad43dca732ff23a0ac5d63c88c52510542e"
10 10
11RDEPENDS:${PN} += "python3-core python3-io" 11RDEPENDS:${PN} += "python3-core python3-io"
12RDEPENDS:${PN}-ptest += "python3-tests" 12RDEPENDS:${PN}-ptest += "python3-tests"
diff --git a/meta-python/recipes-devtools/python/python3-pycares_4.11.0.bb b/meta-python/recipes-devtools/python/python3-pycares_5.0.1.bb
index 974f4f3ed6..968357a1c9 100644
--- a/meta-python/recipes-devtools/python/python3-pycares_4.11.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pycares_5.0.1.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/saghul/pycares"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=b1538fcaea82ebf2313ed648b96c69b1" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=b1538fcaea82ebf2313ed648b96c69b1"
8 8
9SRC_URI[sha256sum] = "c863d9003ca0ce7df26429007859afd2a621d3276ed9fef154a9123db9252557" 9SRC_URI[sha256sum] = "5a3c249c830432631439815f9a818463416f2a8cbdb1e988e78757de9ae75081"
10 10
11PYPI_PACKAGE = "pycares" 11PYPI_PACKAGE = "pycares"
12 12
diff --git a/meta-python/recipes-devtools/python/python3-pylint_4.0.3.bb b/meta-python/recipes-devtools/python/python3-pylint_4.0.4.bb
index 04144aa7a3..adee1d10c1 100644
--- a/meta-python/recipes-devtools/python/python3-pylint_4.0.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pylint_4.0.4.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://www.pylint.org/"
3LICENSE = "GPL-2.0-only" 3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9"
5 5
6SRCREV = "84b6552b86e210097ac29de7ef64b152efb4a454" 6SRCREV = "e16f942166511d6fb4427e503a734152fae0c4fe"
7SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https;tag=v${PV} \ 7SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https;tag=v${PV} \
8 file://0001-Adjust-test-expectations-for-ptest.patch \ 8 file://0001-Adjust-test-expectations-for-ptest.patch \
9 file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \ 9 file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \
diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.15.5.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.16.0.bb
index 80f07e4425..75d0504d46 100644
--- a/meta-python/recipes-devtools/python/python3-pymongo_4.15.5.bb
+++ b/meta-python/recipes-devtools/python/python3-pymongo_4.16.0.bb
@@ -8,7 +8,7 @@ HOMEPAGE = "https://github.com/mongodb/mongo-python-driver"
8LICENSE = "Apache-2.0" 8LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
10 10
11SRC_URI[sha256sum] = "3a8d6bf2610abe0c97c567cf98bf5bba3e90ccc93cc03c9dde75fa11e4267b42" 11SRC_URI[sha256sum] = "8ba8405065f6e258a6f872fe62d797a28f383a12178c7153c01ed04e845c600c"
12 12
13CVE_PRODUCT = "pymongo" 13CVE_PRODUCT = "pymongo"
14 14
diff --git a/meta-python/recipes-devtools/python/python3-pystemd_0.14.0.bb b/meta-python/recipes-devtools/python/python3-pystemd_0.15.1.bb
index 58247af55a..7698d6394d 100644
--- a/meta-python/recipes-devtools/python/python3-pystemd_0.14.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pystemd_0.15.1.bb
@@ -2,7 +2,7 @@ SUMMARY = "Python bindings for interacting with systemd over DBus"
2LICENSE = "LGPL-2.1-only" 2LICENSE = "LGPL-2.1-only"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
4 4
5SRC_URI[sha256sum] = "56875ef5662122d251435f6efa0edfcf15e3c9c17f4a7b15d5481814cf268e6f" 5SRC_URI[sha256sum] = "f217b5792f1e7c391ae46262f43566b6f83364507eaab5d5e73fcd05ab12d2bb"
6 6
7DEPENDS = "systemd" 7DEPENDS = "systemd"
8RDEPENDS:${PN} += "\ 8RDEPENDS:${PN} += "\
diff --git a/meta-python/recipes-devtools/python/python3-reportlab_4.4.5.bb b/meta-python/recipes-devtools/python/python3-reportlab_4.4.5.bb
index 3ea47e355b..6386f5c3b1 100644
--- a/meta-python/recipes-devtools/python/python3-reportlab_4.4.5.bb
+++ b/meta-python/recipes-devtools/python/python3-reportlab_4.4.5.bb
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cf24392f451ff6710fca1e96cefa0424"
7SRC_URI[sha256sum] = "0457d642aa76df7b36b0235349904c58d8f9c606a872456ed04436aafadc1510" 7SRC_URI[sha256sum] = "0457d642aa76df7b36b0235349904c58d8f9c606a872456ed04436aafadc1510"
8 8
9CVE_PRODUCT = "reportlab" 9CVE_PRODUCT = "reportlab"
10CVE_STATUS[CVE-2020-28463] = "fixed-version: has been fixed since 3.5.55"
10inherit pypi python_setuptools_build_meta 11inherit pypi python_setuptools_build_meta
11 12
12BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-starlette_0.50.0.bb b/meta-python/recipes-devtools/python/python3-starlette_0.51.0.bb
index 682ec89b89..f6380bdfad 100644
--- a/meta-python/recipes-devtools/python/python3-starlette_0.50.0.bb
+++ b/meta-python/recipes-devtools/python/python3-starlette_0.51.0.bb
@@ -2,7 +2,7 @@ SUMMARY = "Starlette is a lightweight ASGI framework/toolkit, which is ideal for
2LICENSE = "BSD-3-Clause" 2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.md;md5=11e8c8dbfd5fa373c703de492140ff7a" 3LIC_FILES_CHKSUM = "file://LICENSE.md;md5=11e8c8dbfd5fa373c703de492140ff7a"
4 4
5SRC_URI[sha256sum] = "a2a17b22203254bcbc2e1f926d2d55f3f9497f769416b3190768befe598fa3ca" 5SRC_URI[sha256sum] = "4c4fda9b1bc67f84037d3d14a5112e523509c369d9d47b111b2f984b0cc5ba6c"
6 6
7inherit pypi python_hatchling ptest 7inherit pypi python_hatchling ptest
8 8
diff --git a/meta-python/recipes-devtools/python/python3-termcolor_3.2.0.bb b/meta-python/recipes-devtools/python/python3-termcolor_3.3.0.bb
index 100292858f..2d0f4bf630 100644
--- a/meta-python/recipes-devtools/python/python3-termcolor_3.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-termcolor_3.3.0.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=e5f5f7c9b280511f124dba5dda3d180e"
6 6
7inherit pypi python_hatchling 7inherit pypi python_hatchling
8 8
9SRC_URI[sha256sum] = "610e6456feec42c4bcd28934a8c87a06c3fa28b01561d46aa09a9881b8622c58" 9SRC_URI[sha256sum] = "348871ca648ec6a9a983a13ab626c0acce02f515b9e1983332b17af7979521c5"
10 10
11DEPENDS += " \ 11DEPENDS += " \
12 python3-toml-native \ 12 python3-toml-native \
diff --git a/meta-python/recipes-devtools/python/python3-tomli_2.3.0.bb b/meta-python/recipes-devtools/python/python3-tomli_2.4.0.bb
index c810b17ff4..310052072d 100644
--- a/meta-python/recipes-devtools/python/python3-tomli_2.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-tomli_2.4.0.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5"
8 8
9inherit pypi python_flit_core 9inherit pypi python_flit_core
10 10
11SRC_URI[sha256sum] = "64be704a875d2a59753d80ee8a533c3fe183e3f06807ff7dc2232938ccb01549" 11SRC_URI[sha256sum] = "aa89c3f6c277dd275d8e243ad24f3b5e701491a860d5121f2cdd399fbb31fc9c"
12 12
13BBCLASSEXTEND = "native nativesdk" 13BBCLASSEXTEND = "native nativesdk"
14 14
diff --git a/meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb b/meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb
index 9bbbc9e8c5..ad05e0ac47 100644
--- a/meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb
@@ -19,3 +19,4 @@ RDEPENDS:${PN} += "\
19" 19"
20 20
21CVE_PRODUCT = "tweepy" 21CVE_PRODUCT = "tweepy"
22CVE_STATUS[CVE-2012-5825] = "fixed-version: The vulnerability has been fixed since v3.1.0"
diff --git a/meta-python/recipes-devtools/python/python3-typer_0.21.0.bb b/meta-python/recipes-devtools/python/python3-typer_0.21.1.bb
index cbd0df4b64..0bf2c0ec4f 100644
--- a/meta-python/recipes-devtools/python/python3-typer_0.21.0.bb
+++ b/meta-python/recipes-devtools/python/python3-typer_0.21.1.bb
@@ -7,7 +7,7 @@ HOMEPAGE = "https://github.com/fastapi/typer"
7LICENSE = "MIT" 7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=173d405eb704b1499218013178722617" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=173d405eb704b1499218013178722617"
9 9
10SRC_URI[sha256sum] = "c87c0d2b6eee3b49c5c64649ec92425492c14488096dfbc8a0c2799b2f6f9c53" 10SRC_URI[sha256sum] = "ea835607cd752343b6b2b7ce676893e5a0324082268b48f27aa058bdb7d2145d"
11 11
12inherit pypi python_pdm ptest 12inherit pypi python_pdm ptest
13 13
diff --git a/meta-python/recipes-devtools/python/python3-types-psutil_7.1.3.20251130.bb b/meta-python/recipes-devtools/python/python3-types-psutil_7.2.1.20251231.bb
index e22eb3ecd1..90325c4db1 100644
--- a/meta-python/recipes-devtools/python/python3-types-psutil_7.1.3.20251130.bb
+++ b/meta-python/recipes-devtools/python/python3-types-psutil_7.2.1.20251231.bb
@@ -8,7 +8,7 @@ UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
8 8
9inherit pypi python_setuptools_build_meta 9inherit pypi python_setuptools_build_meta
10 10
11SRC_URI[sha256sum] = "7f42e7a7845a93397e430b48a8074a35410d7a436695fd3375ec9b687d8d95f8" 11SRC_URI[sha256sum] = "dbf9df530b1130e131e4211ed8cea62c08007bfa69faf2883d296bd241d30e4a"
12 12
13BBCLASSEXTEND = "native" 13BBCLASSEXTEND = "native"
14 14
diff --git a/meta-python/recipes-devtools/python/python3-uvicorn_0.40.0.bb b/meta-python/recipes-devtools/python/python3-uvicorn_0.40.0.bb
index 3013ff50d0..227202b8cc 100644
--- a/meta-python/recipes-devtools/python/python3-uvicorn_0.40.0.bb
+++ b/meta-python/recipes-devtools/python/python3-uvicorn_0.40.0.bb
@@ -12,6 +12,7 @@ inherit pypi python_hatchling ptest-python-pytest
12 12
13PYPI_PACKAGE = "uvicorn" 13PYPI_PACKAGE = "uvicorn"
14CVE_PRODUCT = "encode:uvicorn" 14CVE_PRODUCT = "encode:uvicorn"
15CVE_STATUS[CVE-2020-7694] = "fixed-version: The vulnerability has been fixed since 0.11.7"
15 16
16RDEPENDS:${PN} = "\ 17RDEPENDS:${PN} = "\
17 python3-click \ 18 python3-click \
diff --git a/meta-python/recipes-devtools/python/python3-virtualenv_20.35.4.bb b/meta-python/recipes-devtools/python/python3-virtualenv_20.36.1.bb
index 0c50a35be9..d5fad314fd 100644
--- a/meta-python/recipes-devtools/python/python3-virtualenv_20.35.4.bb
+++ b/meta-python/recipes-devtools/python/python3-virtualenv_20.36.1.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/pypa/virtualenv"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=0ce089158cf60a8ab6abb452b6405538" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=0ce089158cf60a8ab6abb452b6405538"
8 8
9SRC_URI[sha256sum] = "643d3914d73d3eeb0c552cbb12d7e82adf0e504dbf86a3182f8771a153a1971c" 9SRC_URI[sha256sum] = "8befb5c81842c641f8ee658481e42641c68b5eab3521d8e092d18320902466ba"
10 10
11BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "native nativesdk"
12inherit pypi python_hatchling 12inherit pypi python_hatchling
diff --git a/meta-python/recipes-devtools/python/python3-waitress/run-ptest b/meta-python/recipes-devtools/python/python3-waitress/run-ptest
new file mode 100644
index 0000000000..2e0e96d0b1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-waitress/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3python3 -mputao.unittest
diff --git a/meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb b/meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb
index c495132c59..cc705f4efe 100644
--- a/meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-waitress_3.0.2.bb
@@ -12,6 +12,20 @@ RDEPENDS:${PN} += " \
12 python3-logging \ 12 python3-logging \
13" 13"
14 14
15RDEPENDS:${PN}-ptest += "\
16 python3-doctest \
17 python3-json \
18 python3-multiprocessing \
19 python3-pytest \
20 python3-unittest \
21 python3-unittest-automake-output \
22"
23
24SRC_URI += "file://run-ptest"
15SRC_URI[sha256sum] = "682aaaf2af0c44ada4abfb70ded36393f0e307f4ab9456a215ce0020baefc31f" 25SRC_URI[sha256sum] = "682aaaf2af0c44ada4abfb70ded36393f0e307f4ab9456a215ce0020baefc31f"
16 26
17inherit python_setuptools_build_meta pypi 27inherit python_setuptools_build_meta pypi ptest
28
29do_install_ptest(){
30 cp -r ${S}/tests ${D}${PTEST_PATH}
31}
diff --git a/meta-python/recipes-devtools/python/python3-xmlschema_4.2.0.bb b/meta-python/recipes-devtools/python/python3-xmlschema_4.3.0.bb
index 7ff9b8a21d..86554f087f 100644
--- a/meta-python/recipes-devtools/python/python3-xmlschema_4.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-xmlschema_4.3.0.bb
@@ -1,9 +1,9 @@
1SUMMARY = "The xmlschema library is an implementation of XML Schema for Python." 1SUMMARY = "The xmlschema library is an implementation of XML Schema for Python."
2HOMEPAGE = "https://github.com/sissaschool/xmlschema" 2HOMEPAGE = "https://github.com/sissaschool/xmlschema"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=26aa26eda991a3a2b61c11b62d3fda65" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=385fddea479acdec12ab77a938f68cd9"
5 5
6SRC_URI[sha256sum] = "b1f88c53493b2e75471977cbf218d939b872d0c7046bb63d48cc219fa7e241b9" 6SRC_URI[sha256sum] = "174c531dd869cd29bf2d1203603d9e619bddf168d6289725738914c96c80936e"
7 7
8inherit pypi python_setuptools_build_meta 8inherit pypi python_setuptools_build_meta
9 9
diff --git a/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.0.bb b/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb
index 127aa8b4a3..f02c96e405 100644
--- a/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.0.bb
+++ b/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://pywbemtools.readthedocs.io/en/stable/"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
6 6
7SRC_URI[sha256sum] = "9d0162b74c0b34d4500c099dddfe518cadc295a1a7bfb0abefa740a134d80fea" 7SRC_URI[sha256sum] = "7fb1c32e358d55c2c6966a071c8ecc0ca81de3d32944a67cc646c57b1a7a337a"
8 8
9inherit pypi setuptools3 9inherit pypi setuptools3
10 10
diff --git a/meta-python/recipes-extended/send2trash/python3-send2trash/0001-add-missing-conftest.py.patch b/meta-python/recipes-extended/send2trash/python3-send2trash/0001-add-missing-conftest.py.patch
new file mode 100644
index 0000000000..1592fd661c
--- /dev/null
+++ b/meta-python/recipes-extended/send2trash/python3-send2trash/0001-add-missing-conftest.py.patch
@@ -0,0 +1,52 @@
1From ed6d20884108fd7e681baf7278e38ac4800fb5c1 Mon Sep 17 00:00:00 2001
2From: Gyorgy Sarvari <skandigraun@gmail.com>
3Date: Fri, 9 Jan 2026 18:04:08 +0100
4Subject: [PATCH] add missing conftest.py
5
6Conftest.py is missing from the source dictribution of v2.0.0,
7making the tests to fail.
8
9The issue is already solved by upstream, but not tagged yet.
10This patch can be removed with the next release.
11
12Upstream-Status: Inappropriate [workaround until https://github.com/arsenetar/send2trash/commit/f8a40143f696da41f81cae87e1c7f9a345cd4003 is tagged]
13
14Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
15---
16 tests/conftest.py | 27 +++++++++++++++++++++++++++
17 1 file changed, 27 insertions(+)
18 create mode 100644 tests/conftest.py
19
20diff --git a/tests/conftest.py b/tests/conftest.py
21new file mode 100644
22index 0000000..0753384
23--- /dev/null
24+++ b/tests/conftest.py
25@@ -0,0 +1,27 @@
26+# encoding: utf-8
27+import sys
28+import os
29+from tempfile import NamedTemporaryFile
30+import pytest
31+
32+# Only import HOMETRASH on supported platforms
33+if sys.platform != "win32":
34+ from send2trash.plat_other import HOMETRASH
35+
36+
37+@pytest.fixture(name="test_file")
38+def fixture_test_file():
39+ file = NamedTemporaryFile(dir=os.path.expanduser("~"), prefix="send2trash_test", delete=False)
40+ file.close()
41+ # Verify file was actually created
42+ assert os.path.exists(file.name) is True
43+ yield file.name
44+ # Cleanup trash files on supported platforms
45+ if sys.platform != "win32":
46+ name = os.path.basename(file.name)
47+ # Remove trash files if they exist
48+ if os.path.exists(os.path.join(HOMETRASH, "files", name)):
49+ os.remove(os.path.join(HOMETRASH, "files", name))
50+ os.remove(os.path.join(HOMETRASH, "info", name + ".trashinfo"))
51+ if os.path.exists(file.name):
52+ os.remove(file.name)
diff --git a/meta-python/recipes-extended/send2trash/python3-send2trash/run-ptest b/meta-python/recipes-extended/send2trash/python3-send2trash/run-ptest
new file mode 100644
index 0000000000..d8d5e7bd08
--- /dev/null
+++ b/meta-python/recipes-extended/send2trash/python3-send2trash/run-ptest
@@ -0,0 +1,10 @@
1#!/bin/sh
2# Not all tests can run as root
3useradd tester || echo test user already exists
4
5# The test are running in /tmp folder by default, but
6# the tests expect the test folder to be a regular folder, not
7# a mount/symlink. Specify the TMP folder explicitly.
8export TMP=/var/volatile/tmp
9
10su tester -c "pytest --automake"
diff --git a/meta-python/recipes-extended/send2trash/python3-send2trash_2.0.0.bb b/meta-python/recipes-extended/send2trash/python3-send2trash_2.0.0.bb
index 0bd89f887a..48dc8e793f 100644
--- a/meta-python/recipes-extended/send2trash/python3-send2trash_2.0.0.bb
+++ b/meta-python/recipes-extended/send2trash/python3-send2trash_2.0.0.bb
@@ -2,8 +2,10 @@ SUMMARY = "Send file to trash natively under Mac OS X, Windows and Linux"
2LICENSE = "BSD-3-Clause" 2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=a02659c2d5f4cc626e4dcf6504b865eb" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=a02659c2d5f4cc626e4dcf6504b865eb"
4 4
5inherit pypi python_setuptools_build_meta 5inherit pypi python_setuptools_build_meta ptest-python-pytest
6 6
7SRC_URI += "file://0001-add-missing-conftest.py.patch \
8 file://run-ptest"
7SRC_URI[sha256sum] = "1761421da3f9930bfe51ed7c45343948573383ad4c27e3acebc91be324e7770d" 9SRC_URI[sha256sum] = "1761421da3f9930bfe51ed7c45343948573383ad4c27e3acebc91be324e7770d"
8 10
9PYPI_PACKAGE = "send2trash" 11PYPI_PACKAGE = "send2trash"