mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-02 22:30:26 +00:00
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:e07c41b3baSimilar to Styhead6f0a41130c, but for 2.18.4 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
994221f60c
commit
e041b4d270
@@ -8,7 +8,8 @@ HOMEPAGE = "https://github.com/pydantic/pydantic-core"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c"
|
||||
|
||||
SRC_URI += "file://0001-Set-rust-version-from-1.76-to-1.75-in-Cargo.toml.patch"
|
||||
SRC_URI += "file://0001-Set-rust-version-from-1.76-to-1.75-in-Cargo.toml.patch \
|
||||
file://0002-Dont-embed-RUSTFLAGS-in-final-binary.patch"
|
||||
SRC_URI[sha256sum] = "ec3beeada09ff865c344ff3bc2f427f5e6c26401cc6113d77e372c3fdac73864"
|
||||
|
||||
DEPENDS = "python3-maturin-native python3-typing-extensions"
|
||||
@@ -25,7 +26,6 @@ RDEPENDS:${PN} += " \
|
||||
"
|
||||
|
||||
INSANE_SKIP:${PN} = "already-stripped"
|
||||
INSANE_SKIP:${PN} += "buildpaths"
|
||||
|
||||
inherit ptest
|
||||
SRC_URI += "file://run-ptest"
|
||||
|
||||
Reference in New Issue
Block a user