From 43b4415883ba09e45b154bd7468e7d6d1c91fb37 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 29 Oct 2026 11:21:45 +0200 Subject: [PATCH] python3-platformdirs: Upgrade 4.10.1 -> 4.13.5 Upgrade to release 4.13.5: - Publish a GitHub Release with changelog notes, a PyPI link, and a version comparison after each PyPI release. Deselect failing tests from the run-ptest script for ptest-runner. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-platformdirs/run-ptest | 4 ++++ ...-platformdirs_4.10.1.bb => python3-platformdirs_4.13.5.bb} | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-platformdirs/run-ptest rename meta-python/recipes-devtools/python/{python3-platformdirs_4.10.1.bb => python3-platformdirs_4.13.5.bb} (80%) diff --git a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest new file mode 100644 index 0000000000..fa98212711 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest @@ -0,0 +1,4 @@ +#!/bin/sh + +pytest --automake \ + --deselect tests/test_pytest_plugin.py::test_import_before_pytest_main diff --git a/meta-python/recipes-devtools/python/python3-platformdirs_4.10.1.bb b/meta-python/recipes-devtools/python/python3-platformdirs_4.13.5.bb similarity index 80% rename from meta-python/recipes-devtools/python/python3-platformdirs_4.10.1.bb rename to meta-python/recipes-devtools/python/python3-platformdirs_4.13.5.bb index 7c004a1ed3..40c7b25333 100644 --- a/meta-python/recipes-devtools/python/python3-platformdirs_4.10.1.bb +++ b/meta-python/recipes-devtools/python/python3-platformdirs_4.13.5.bb @@ -3,10 +3,12 @@ HOMEPAGE = "https://github.com/platformdirs/platformdirs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" -SRC_URI[sha256sum] = "ceab4084426fe6319ce18e86deada8ab1b7487c7aee7040c55e277c9ae793695" +SRC_URI[sha256sum] = "05831adf87d392760f4b5c3a0a95579ab5a10b18b9b9bd43680dcb47544788a0" inherit pypi python_hatchling ptest-python-pytest +SRC_URI += "file://run-ptest" + DEPENDS += " \ python3-hatch-vcs-native \ "