From patchwork Sun Jun 1 13:55:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 64006 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91BC5C5B552 for ; Sun, 1 Jun 2025 13:55:44 +0000 (UTC) Received: from a27-31.smtp-out.us-west-2.amazonses.com (a27-31.smtp-out.us-west-2.amazonses.com [54.240.27.31]) by mx.groups.io with SMTP id smtpd.web10.27798.1748786134729313030 for ; Sun, 01 Jun 2025 06:55:34 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=j46ser6a2yusdzubpv7m7ewqgesde2ie header.b=11siQ0ic; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b=bNAM+4Z5; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.31, mailfrom: 010101972bc6bc7a-cbc119bf-a012-445f-9fc2-295ea975f58a-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=j46ser6a2yusdzubpv7m7ewqgesde2ie; d=yoctoproject.org; t=1748786134; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=SesPzq2mMQsZVMH2JgvNnvnGOlLMGzrDFi3zdqfMCK8=; b=11siQ0icXJK4K9h43u2TbAVPFmyKxqOWwsra5bqRSP1nooFPbpnh85EUAfXp+Jd/ vKUQA/+Jaq5bcZrWiGk2okKg2/zvgW534j0sn/+UCbheAaixn4feV13s+mXLS05/fTs 3ufketIcphUmWjCB5XJav88IpWqIp6gh7nVXfNTM= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1748786134; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=SesPzq2mMQsZVMH2JgvNnvnGOlLMGzrDFi3zdqfMCK8=; b=bNAM+4Z5uxpxGVbsTbrZu8DykszX7nxGj7uZRreARHdrTCjJYK8zoxYfk7rbTFoN i55yGP1CBU9qPXfE7lA0K8cFamt0QtKrKmpkgGGCg9IhWsG2ls+ghGkjunFXIaCDu4H tDFg3wQbg90fu3D2d+d0tgn7SVF7FyfOP8tX/HNs= MIME-Version: 1.0 From: auh@yoctoproject.org To: Bruce Ashfield Cc: openembedded-core@lists.openembedded.org Subject: [AUH] python3-jsonschema: upgrading to 4.24.0 SUCCEEDED Message-ID: <010101972bc6bc7a-cbc119bf-a012-445f-9fc2-295ea975f58a-000000@us-west-2.amazonses.com> Date: Sun, 1 Jun 2025 13:55:34 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2025.06.01-54.240.27.31 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 01 Jun 2025 13:55:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/217600 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *python3-jsonschema* to *4.24.0* has Succeeded. Next steps: - apply the patch: git am 0001-python3-jsonschema-upgrade-4.23.0-4.24.0.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 3fc31ad6cd0bf25ba0044a979f3113cb31518ac8 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Sun, 1 Jun 2025 09:26:31 +0000 Subject: [PATCH] python3-jsonschema: upgrade 4.23.0 -> 4.24.0 --- ...96a6523875c9694fcdf468c9f458323d07f2.patch | 44 ------------------- ...4.23.0.bb => python3-jsonschema_4.24.0.bb} | 4 +- 2 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-jsonschema/d71f96a6523875c9694fcdf468c9f458323d07f2.patch rename meta/recipes-devtools/python/{python3-jsonschema_4.23.0.bb => python3-jsonschema_4.24.0.bb} (88%) diff --git a/meta/recipes-devtools/python/python3-jsonschema/d71f96a6523875c9694fcdf468c9f458323d07f2.patch b/meta/recipes-devtools/python/python3-jsonschema/d71f96a6523875c9694fcdf468c9f458323d07f2.patch deleted file mode 100644 index 65cc2b4cf0..0000000000 --- a/meta/recipes-devtools/python/python3-jsonschema/d71f96a6523875c9694fcdf468c9f458323d07f2.patch +++ /dev/null @@ -1,44 +0,0 @@ -From d71f96a6523875c9694fcdf468c9f458323d07f2 Mon Sep 17 00:00:00 2001 -From: Julian Berman -Date: Thu, 17 Oct 2024 09:36:35 -0400 -Subject: [PATCH] Fix the annotation for validator_for's default. - -This still doesn't seem to satisfy mypy, so tell it to be quiet. - -Upstream-Status: Backport [https://github.com/python-jsonschema/jsonschema/commit/d71f96a6523875c9694fcdf468c9f458323d07f2] -Signed-off-by: Khem Raj ---- - jsonschema/validators.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/jsonschema/validators.py b/jsonschema/validators.py -index 85c39160..b8ca3bd4 100644 ---- a/jsonschema/validators.py -+++ b/jsonschema/validators.py -@@ -857,7 +857,7 @@ def extend( - version="draft2020-12", - ) - --_LATEST_VERSION = Draft202012Validator -+_LATEST_VERSION: type[Validator] = Draft202012Validator - - - class _RefResolver: -@@ -1334,7 +1334,7 @@ def validate(instance, schema, cls=None, *args, **kwargs): # noqa: D417 - - def validator_for( - schema, -- default: Validator | _utils.Unset = _UNSET, -+ default: type[Validator] | _utils.Unset = _UNSET, - ) -> type[Validator]: - """ - Retrieve the validator class appropriate for validating the given schema. -@@ -1396,7 +1396,7 @@ class is returned: - DefaultValidator = _LATEST_VERSION if default is _UNSET else default - - if schema is True or schema is False or "$schema" not in schema: -- return DefaultValidator -+ return DefaultValidator # type: ignore[return-value] - if schema["$schema"] not in _META_SCHEMAS and default is _UNSET: - warn( - ( diff --git a/meta/recipes-devtools/python/python3-jsonschema_4.23.0.bb b/meta/recipes-devtools/python/python3-jsonschema_4.24.0.bb similarity index 88% rename from meta/recipes-devtools/python/python3-jsonschema_4.23.0.bb rename to meta/recipes-devtools/python/python3-jsonschema_4.24.0.bb index 82b7bb23ed..9f8aa88ceb 100644 --- a/meta/recipes-devtools/python/python3-jsonschema_4.23.0.bb +++ b/meta/recipes-devtools/python/python3-jsonschema_4.24.0.bb @@ -4,9 +4,9 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \ file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af" -SRC_URI += "file://d71f96a6523875c9694fcdf468c9f458323d07f2.patch" +SRC_URI += "${PYPI_SRC_URI}" -SRC_URI[sha256sum] = "d71497fef26351a33265337fa77ffeb82423f3ea21283cd9467bb03999266bc4" +SRC_URI[sha256sum] = "0b4e8069eb12aedfa881333004bccaec24ecef5a8a6a4b6df142b2cc9599d196" inherit pypi python_hatchling