summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb
diff options
context:
space:
mode:
authorFrank de Brabander <debrabander@gmail.com>2024-08-08 10:44:58 +0200
committerArmin Kuster <akuster808@gmail.com>2024-08-14 10:15:30 -0400
commite041b4d270cd074ebfd6d906466bc68776ae3bf9 (patch)
treefcea7536714976f26f6fdaee8129638abd290059 /meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb
parent994221f60ca12c75e3c107e9882fcb5ccdc5ea4e (diff)
downloadmeta-openembedded-e041b4d270cd074ebfd6d906466bc68776ae3bf9.tar.gz
python3-pydantic-core: fix TMPDIR path reference
Backport a new upstream fix to remove the TMPDIR reference from the rust code. Signed-off-by: Frank de Brabander <debrabander@gmail.com> We've seen TMPDIR [build-paths] contamination in the built pydantic_core/_pydantic_core.cpython-*-*-linux-gnu.so See discussion upstream in: https://github.com/pydantic/pydantic-core/issues/1365 Backport fix from: https://github.com/pydantic/pydantic-core/commit/e07c41b3bad75948201a2201387225694c2fb501 Similar to Styhead 6f0a41130c0dcf80e22f6f3fd93d39369c235693, but for 2.18.4 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb
index cd8ebf9c07..58afc6cd1c 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.18.4.bb
@@ -8,7 +8,8 @@ HOMEPAGE = "https://github.com/pydantic/pydantic-core"
8LICENSE = "MIT" 8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c"
10 10
11SRC_URI += "file://0001-Set-rust-version-from-1.76-to-1.75-in-Cargo.toml.patch" 11SRC_URI += "file://0001-Set-rust-version-from-1.76-to-1.75-in-Cargo.toml.patch \
12 file://0002-Dont-embed-RUSTFLAGS-in-final-binary.patch"
12SRC_URI[sha256sum] = "ec3beeada09ff865c344ff3bc2f427f5e6c26401cc6113d77e372c3fdac73864" 13SRC_URI[sha256sum] = "ec3beeada09ff865c344ff3bc2f427f5e6c26401cc6113d77e372c3fdac73864"
13 14
14DEPENDS = "python3-maturin-native python3-typing-extensions" 15DEPENDS = "python3-maturin-native python3-typing-extensions"
@@ -25,7 +26,6 @@ RDEPENDS:${PN} += " \
25" 26"
26 27
27INSANE_SKIP:${PN} = "already-stripped" 28INSANE_SKIP:${PN} = "already-stripped"
28INSANE_SKIP:${PN} += "buildpaths"
29 29
30inherit ptest 30inherit ptest
31SRC_URI += "file://run-ptest" 31SRC_URI += "file://run-ptest"