diff mbox series

[meta-python,5/5] python3-pydantic-core: backport patch

Message ID 60a5d0f7cb4dd09c3ec77e3d1867728b9a8c763a.1723134758.git.tim.orling@konsulko.com
State Accepted
Headers show
Series [meta-python,1/5] python3-tzdata: add recipe for v2024.1 | expand

Commit Message

Tim Orling Aug. 8, 2024, 4:38 p.m. UTC
From: Tim Orling <tim.orling@konsulko.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

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 .../recipes-devtools/python/python3-pydantic-core_2.21.0.bb      | 1 +
 1 file changed, 1 insertion(+)

Comments

Khem Raj Aug. 9, 2024, 4:33 a.m. UTC | #1
On Thu, Aug 8, 2024 at 9:38 AM Tim Orling via lists.openembedded.org
<tim.orling=konsulko.com@lists.openembedded.org> wrote:
>
> From: Tim Orling <tim.orling@konsulko.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
>
> Signed-off-by: Tim Orling <tim.orling@konsulko.com>
> ---
>  .../recipes-devtools/python/python3-pydantic-core_2.21.0.bb      | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.21.0.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.21.0.bb
> index b4ca66a54d..b24e141f60 100644
> --- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.21.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.21.0.bb
> @@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c"
>  require ${BPN}-crates.inc
>
>  SRC_URI += "file://run-ptest"
> +SRC_URI += "file://0001-dont-embed-RUSTFLAGS-in-final-binary-1396.patch"

Where is the patch file ?

>
>  SRC_URI[sha256sum] = "79c747f9916e5b6cb588dfd994d9ac15a93e43eb07467d9e6f24d892c176bbf5"
>
> --
> 2.46.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#111674): https://lists.openembedded.org/g/openembedded-devel/message/111674
> Mute This Topic: https://lists.openembedded.org/mt/107793251/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.21.0.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.21.0.bb
index b4ca66a54d..b24e141f60 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.21.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.21.0.bb
@@ -11,6 +11,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c"
 require ${BPN}-crates.inc
 
 SRC_URI += "file://run-ptest"
+SRC_URI += "file://0001-dont-embed-RUSTFLAGS-in-final-binary-1396.patch"
 
 SRC_URI[sha256sum] = "79c747f9916e5b6cb588dfd994d9ac15a93e43eb07467d9e6f24d892c176bbf5"