Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [AUH] python3-pydantic: upgrading to 2.0.2 FAILED
@ 2023-07-12  5:31 auh
  0 siblings, 0 replies; only message in thread
From: auh @ 2023-07-12  5:31 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3337 bytes --]

Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe *python3-pydantic* to *2.0.2* has Failed(do_compile).

Detailed error information:

do_compile failed



Next steps:
    - apply the patch: git am 0001-python3-pydantic-upgrade-1.10.7-2.0.2.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 2523cd5b7ff52bb84a3f783d90cc3132b7c73c6e Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@moto-timo.dev>
Date: Tue, 11 Jul 2023 21:47:23 -0500
Subject: [PATCH] python3-pydantic: upgrade 1.10.7 -> 2.0.2

---
 ...ic_1.10.7.bb => python3-pydantic_2.0.2.bb} | 25 +++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pydantic_1.10.7.bb => python3-pydantic_2.0.2.bb} (31%)

diff --git a/meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb
similarity index 31%
rename from meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb
rename to meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb
index 9d59cf859..9c9ed1ca3 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb
@@ -1,11 +1,32 @@
+# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'.
+# The following is the difference between the old and the new license text.
+# Please update the LICENSE value if needed, and summarize the changes in
+# the commit message via 'License-Update:' tag.
+# (example: 'License-Update: copyright years updated.')
+#
+# The changes:
+#
+# --- LICENSE
+# +++ LICENSE
+# @@ -1,6 +1,6 @@
+#  The MIT License (MIT)
+#  
+# -Copyright (c) 2017, 2018, 2019, 2020, 2021 Samuel Colvin and other contributors
+# +Copyright (c) 2017 to present Pydantic Services Inc. and individual contributors.
+#  
+#  Permission is hereby granted, free of charge, to any person obtaining a copy
+#  of this software and associated documentation files (the "Software"), to deal
+# 
+#
+
 SUMMARY = "Data validation and settings management using Python type hinting"
 HOMEPAGE = "https://github.com/samuelcolvin/pydantic"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2c02ea30650b91528657db64baea1757"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "cfc83c0678b6ba51b0532bea66860617c4cd4251ecf76e9846fa5a9f3454e97e"
+SRC_URI[sha256sum] = "b802f5245b8576315fe619e5989fd083448fa1258638ef9dac301ca60878396d"
 
 RDEPENDS:${PN} += "\
     python3-core \
-- 
2.25.1


[-- Attachment #2: 0001-python3-pydantic-upgrade-1.10.7-2.0.2.patch --]
[-- Type: text/x-diff, Size: 2290 bytes --]

From 2523cd5b7ff52bb84a3f783d90cc3132b7c73c6e Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@moto-timo.dev>
Date: Tue, 11 Jul 2023 21:47:23 -0500
Subject: [PATCH] python3-pydantic: upgrade 1.10.7 -> 2.0.2

---
 ...ic_1.10.7.bb => python3-pydantic_2.0.2.bb} | 25 +++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pydantic_1.10.7.bb => python3-pydantic_2.0.2.bb} (31%)

diff --git a/meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb
similarity index 31%
rename from meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb
rename to meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb
index 9d59cf859..9c9ed1ca3 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_1.10.7.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb
@@ -1,11 +1,32 @@
+# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'.
+# The following is the difference between the old and the new license text.
+# Please update the LICENSE value if needed, and summarize the changes in
+# the commit message via 'License-Update:' tag.
+# (example: 'License-Update: copyright years updated.')
+#
+# The changes:
+#
+# --- LICENSE
+# +++ LICENSE
+# @@ -1,6 +1,6 @@
+#  The MIT License (MIT)
+#  
+# -Copyright (c) 2017, 2018, 2019, 2020, 2021 Samuel Colvin and other contributors
+# +Copyright (c) 2017 to present Pydantic Services Inc. and individual contributors.
+#  
+#  Permission is hereby granted, free of charge, to any person obtaining a copy
+#  of this software and associated documentation files (the "Software"), to deal
+# 
+#
+
 SUMMARY = "Data validation and settings management using Python type hinting"
 HOMEPAGE = "https://github.com/samuelcolvin/pydantic"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2c02ea30650b91528657db64baea1757"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = "cfc83c0678b6ba51b0532bea66860617c4cd4251ecf76e9846fa5a9f3454e97e"
+SRC_URI[sha256sum] = "b802f5245b8576315fe619e5989fd083448fa1258638ef9dac301ca60878396d"
 
 RDEPENDS:${PN} += "\
     python3-core \
-- 
2.25.1


[-- Attachment #3: bitbake-output-qemux86-64.txt --]
[-- Type: text/plain, Size: 6934 bytes --]

Loading cache...done.
Loaded 12783 entries from dependency cache.
Parsing recipes...done.
Parsing of 7305 .bb files complete (7302 cached, 3 parsed). 12567 targets, 310 skipped, 0 masked, 0 errors.
Removing 1 recipes from the core2-64 sysroot...done.
Removing 1 recipes from the qemux86_64 sysroot...done.
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies
NOTE: Resolving any missing task queue dependencies

Build Configuration (mc:default):
BB_VERSION           = "2.4.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "4.2"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "master:a43fa36614977745fcbd6441d1c3c20321a8201d"
meta-oe              
meta-python          
meta-perl            = "tmp-auh-upgrades:812973bf8c6e72c2944deb4e83269cc57b5b5440"
workspace            = "<unknown>:<unknown>"


Build Configuration (mc:qemux86-musl):
BB_VERSION           = "2.4.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux-musl"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "4.2"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "master:a43fa36614977745fcbd6441d1c3c20321a8201d"
meta-oe              
meta-python          
meta-perl            = "tmp-auh-upgrades:812973bf8c6e72c2944deb4e83269cc57b5b5440"
workspace            = "<unknown>:<unknown>"


Build Configuration (mc:qemuarm64):
BB_VERSION           = "2.4.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "4.2"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "master:a43fa36614977745fcbd6441d1c3c20321a8201d"
meta-oe              
meta-python          
meta-perl            = "tmp-auh-upgrades:812973bf8c6e72c2944deb4e83269cc57b5b5440"
workspace            = "<unknown>:<unknown>"

Initialising tasks...done.
Checking sstate mirror object availability...done.
Sstate summary: Wanted 234 Local 9 Mirrors 217 Missed 8 Current 157 (96% match, 97% complete)
NOTE: Executing Tasks
NOTE: Running setscene task 164 of 391 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb:do_populate_lic_setscene)
NOTE: Running setscene task 166 of 391 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb:do_deploy_source_date_epoch_setscene)
NOTE: recipe python3-pydantic-2.0.2-r0: task do_populate_lic_setscene: Started
NOTE: recipe python3-pydantic-2.0.2-r0: task do_deploy_source_date_epoch_setscene: Started
NOTE: recipe python3-pydantic-2.0.2-r0: task do_populate_lic_setscene: Succeeded
NOTE: recipe python3-pydantic-2.0.2-r0: task do_deploy_source_date_epoch_setscene: Succeeded
NOTE: Running task 1049 of 1346 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb:do_fetch)
NOTE: recipe python3-pydantic-2.0.2-r0: task do_fetch: Started
NOTE: recipe python3-pydantic-2.0.2-r0: task do_fetch: Succeeded
NOTE: Running task 1330 of 1346 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb:do_unpack)
NOTE: Running task 1331 of 1346 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb:do_prepare_recipe_sysroot)
NOTE: recipe python3-pydantic-2.0.2-r0: task do_unpack: Started
NOTE: recipe python3-pydantic-2.0.2-r0: task do_prepare_recipe_sysroot: Started
NOTE: recipe python3-pydantic-2.0.2-r0: task do_unpack: Succeeded
NOTE: Running task 1332 of 1346 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb:do_patch)
NOTE: Running task 1333 of 1346 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb:do_collect_spdx_deps)
NOTE: recipe python3-pydantic-2.0.2-r0: task do_patch: Started
NOTE: recipe python3-pydantic-2.0.2-r0: task do_collect_spdx_deps: Started
NOTE: recipe python3-pydantic-2.0.2-r0: task do_prepare_recipe_sysroot: Succeeded
NOTE: recipe python3-pydantic-2.0.2-r0: task do_collect_spdx_deps: Succeeded
NOTE: recipe python3-pydantic-2.0.2-r0: task do_patch: Succeeded
NOTE: Running task 1335 of 1346 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb:do_configure)
NOTE: recipe python3-pydantic-2.0.2-r0: task do_configure: Started
NOTE: recipe python3-pydantic-2.0.2-r0: task do_configure: Succeeded
NOTE: Running task 1337 of 1346 (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb:do_compile)
NOTE: recipe python3-pydantic-2.0.2-r0: task do_compile: Started
Log data follows:
| DEBUG: Executing shell function do_compile
| /scratch1/auh/build-auh/tmp/work/core2-64-poky-linux/python3-pydantic/2.0.2-r0/recipe-sysroot-native/usr/bin/python3-native/python3: can't open file '/scratch1/auh/build-auh/tmp/work/core2-64-poky-linux/python3-pydantic/2.0.2-r0/pydantic-2.0.2/setup.py': [Errno 2] No such file or directory
| ERROR: 'python3 setup.py bdist_wheel ' execution failed.
| WARNING: exit code 1 from a shell command.
NOTE: recipe python3-pydantic-2.0.2-r0: task do_compile: Failed
NOTE: Tasks Summary: Attempted 1337 tasks of which 1330 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 3 seconds

Summary: 1 task failed:
  /home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.
ERROR: python3-pydantic-2.0.2-r0 do_compile: 'python3 setup.py bdist_wheel ' execution failed.
ERROR: python3-pydantic-2.0.2-r0 do_compile: ExecutionError('/scratch1/auh/build-auh/tmp/work/core2-64-poky-linux/python3-pydantic/2.0.2-r0/temp/run.do_compile.1426694', 1, None, None)
ERROR: Logfile of failure stored in: /scratch1/auh/build-auh/tmp/work/core2-64-poky-linux/python3-pydantic/2.0.2-r0/temp/log.do_compile.1426694
ERROR: Task (/home/auh/Projects/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.0.2.bb:do_compile) failed with exit code '1'

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-12  5:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-12  5:31 [AUH] python3-pydantic: upgrading to 2.0.2 FAILED auh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox