From patchwork Sat Jul 1 16:02:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 26822 Return-Path: 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 66BE3C10F00 for ; Sat, 1 Jul 2023 16:02:07 +0000 (UTC) Received: from a27-29.smtp-out.us-west-2.amazonses.com (a27-29.smtp-out.us-west-2.amazonses.com [54.240.27.29]) by mx.groups.io with SMTP id smtpd.web10.10507.1688227323786127340 for ; Sat, 01 Jul 2023 09:02:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=CD2lBfgu; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.29, mailfrom: 0101018912309ac9-7822f6c7-5599-4144-b434-926f01ac0e2c-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1688227323; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=wcIz11mEqbEm3Mxe4VoAr9LfKV8EAD7hkZdnrPjzyEE=; b=CD2lBfguoQuvzghzVGcbB1sw3YRMJKU/jIeZMCrwHDZpPKB3pKY5Yu9YS2SkWE6B tyE+UcTJINaRumq1bdQbSgZ/sUU1P4GNzeVu4xYAH4vk529eUOBrP1qDHk8BKhE7jAd IPLAWRHQEcNI5t3Tc13uW00h1gBxKtc5VYpDnzAo= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1688227323; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=wcIz11mEqbEm3Mxe4VoAr9LfKV8EAD7hkZdnrPjzyEE=; b=lF1fD3iOkR1tXnVH7d9HsqqZppzR7yrthqp5KugDazLfhZKVt5Oybua9canHpqY5 dirzbxYpkYLMGt2FWzw9xZdTl4/gP5yPMvzQwN++9dMh0UgYUGYdhGg1reX4HmrbHHp O147T//nFXhLrT8shGXYwiORBM/ffgrADE6Jpug0= MIME-Version: 1.0 From: auh@yoctoproject.org To: Bruce Ashfield Cc: openembedded-core@lists.openembedded.org Subject: [AUH] python3-jsonpointer: upgrading to 2.4 FAILED Message-ID: <0101018912309ac9-7822f6c7-5599-4144-b434-926f01ac0e2c-000000@us-west-2.amazonses.com> Date: Sat, 1 Jul 2023 16:02:02 +0000 Feedback-ID: 1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2023.07.01-54.240.27.29 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 ; Sat, 01 Jul 2023 16:02:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/183745 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe *python3-jsonpointer* to *2.4* has Failed(do_compile). Detailed error information: do_compile failed Next steps: - apply the patch: git am 0001-python3-jsonpointer-upgrade-2.3-2.4.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 0f078e101ac6fdcf2b38b106fa76485defd4897b Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Sat, 1 Jul 2023 08:57:34 +0000 Subject: [PATCH] python3-jsonpointer: upgrade 2.3 -> 2.4 --- .../0001-Clean-up-test-runner.patch | 62 ------------------- ...nter_2.3.bb => python3-jsonpointer_2.4.bb} | 8 +-- 2 files changed, 2 insertions(+), 68 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-jsonpointer/0001-Clean-up-test-runner.patch rename meta/recipes-devtools/python/{python3-jsonpointer_2.3.bb => python3-jsonpointer_2.4.bb} (74%) diff --git a/meta/recipes-devtools/python/python3-jsonpointer/0001-Clean-up-test-runner.patch b/meta/recipes-devtools/python/python3-jsonpointer/0001-Clean-up-test-runner.patch deleted file mode 100644 index 4121834dbf..0000000000 --- a/meta/recipes-devtools/python/python3-jsonpointer/0001-Clean-up-test-runner.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 04a864f33848da6af1dea906ba4922770022ef66 Mon Sep 17 00:00:00 2001 -From: Ross Burton -Date: Thu, 16 Mar 2023 14:21:32 +0000 -Subject: [PATCH] Clean up test runner - -Test code doesn't need to manually construct a TestSuite and a -TextTestRunner, the unittest module has a discovery function that does -all this for you. - -Delete all of the manual logic from tests.py, replace it with the two -lines to bring in the doctest unit tests, and update the makefile to -run the unittest discovery. - -Upstream-Status: Submitted [https://github.com/stefankoegl/python-json-pointer/pull/54] -Signed-off-by: Ross Burton ---- - makefile | 2 +- - tests.py | 24 ++++-------------------- - 2 files changed, 5 insertions(+), 21 deletions(-) - -diff --git a/tests.py b/tests.py -index 9252369..6b4b8cc 100755 ---- a/tests.py -+++ b/tests.py -@@ -7,6 +7,7 @@ import doctest - import unittest - import sys - import copy -+import jsonpointer - from jsonpointer import resolve_pointer, EndOfList, JsonPointerException, \ - JsonPointer, set_pointer - -@@ -410,23 +411,6 @@ class AltTypesTests(unittest.TestCase): - self.assertRaises(JsonPointerException, resolve_pointer, doc, '/root/1/2/3/4') - - -- --suite = unittest.TestSuite() --suite.addTest(unittest.makeSuite(SpecificationTests)) --suite.addTest(unittest.makeSuite(ComparisonTests)) --suite.addTest(unittest.makeSuite(WrongInputTests)) --suite.addTest(unittest.makeSuite(ToLastTests)) --suite.addTest(unittest.makeSuite(SetTests)) --suite.addTest(unittest.makeSuite(AltTypesTests)) -- --modules = ['jsonpointer'] -- --for module in modules: -- m = __import__(module, fromlist=[module]) -- suite.addTest(doctest.DocTestSuite(m)) -- --runner = unittest.TextTestRunner(verbosity=1) --result = runner.run(suite) -- --if not result.wasSuccessful(): -- sys.exit(1) -+def load_tests(loader, tests, ignore): -+ tests.addTests(doctest.DocTestSuite(jsonpointer)) -+ return tests --- -2.34.1 - diff --git a/meta/recipes-devtools/python/python3-jsonpointer_2.3.bb b/meta/recipes-devtools/python/python3-jsonpointer_2.4.bb similarity index 74% rename from meta/recipes-devtools/python/python3-jsonpointer_2.3.bb rename to meta/recipes-devtools/python/python3-jsonpointer_2.4.bb index 0ec4de055c..530828d565 100644 --- a/meta/recipes-devtools/python/python3-jsonpointer_2.3.bb +++ b/meta/recipes-devtools/python/python3-jsonpointer_2.4.bb @@ -5,9 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3" inherit pypi ptest setuptools3 -SRC_URI += "file://0001-Clean-up-test-runner.patch" +SRC_URI += "file://run-ptest" -SRC_URI[sha256sum] = "97cba51526c829282218feb99dab1b1e6bdf8efd1c43dc9d57be093c0d69c99a" +SRC_URI[sha256sum] = "585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88" RDEPENDS:${PN} += " \ ${PYTHON_PN}-json \ @@ -15,10 +15,6 @@ RDEPENDS:${PN} += " \ BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-doctest \ ${PYTHON_PN}-unittest \