Skip to contentSkip to conversation

package/python-pydantic-core: bump to version 2.39.0

PATCH In review James Hilliard 2 participants 6 messages Sep 16, 2025 – Sep 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-pydantic-core: bump to version 2.39.0

---
 package/python-pydantic-core/python-pydantic-core.hash | 2 +-
 package/python-pydantic-core/python-pydantic-core.mk   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
package/python-pydantic-core/python-pydantic-core.hash +1 -1
index 735abcb4c6..4f4fb124d2 100644
@@ -1,4 +1,4 @@
 # Locally calculated after vendoring
-sha256  d075c06f299090879748db99ab202a253e9a2b22ee4140b96c0257257b9351c8  python-pydantic-core-2.33.2-cargo4.tar.gz
+sha256  7bd7d4a01c14c612d1f03654695e57ce4669df7bbfda1febc23b08b79dafd4cd  python-pydantic-core-2.39.0-cargo4.tar.gz
 # Locally computed sha256 checksums
 sha256  2afdd30d54b4d62b6f488a6bcc1546e84ec5061f13f4209c03d012348783795a  LICENSE
package/python-pydantic-core/python-pydantic-core.mk +2 -2
index 5085b906d5..7342711b2a 100644
@@ -6,10 +6,10 @@
 
 # python-pydantic pins an exact version of pydantic-core in pyproject.toml,
 # make sure to sync pydantic-core to this version when updating pydantic
-PYTHON_PYDANTIC_CORE_VERSION = 2.33.2
+PYTHON_PYDANTIC_CORE_VERSION = 2.39.0
 PYTHON_PYDANTIC_CORE_SOURCE_PYPI = pydantic_core-$(PYTHON_PYDANTIC_CORE_VERSION).tar.gz
 PYTHON_PYDANTIC_CORE_SITE = $(PYTHON_PYDANTIC_CORE_SITE_PYPI)/$(PYTHON_PYDANTIC_CORE_SOURCE_PYPI)?buildroot-path=filename
-PYTHON_PYDANTIC_CORE_SITE_PYPI = https://files.pythonhosted.org/packages/ad/88/5f2260bdfae97aabf98f1778d43f69574390ad787afb646292a638c923d4
+PYTHON_PYDANTIC_CORE_SITE_PYPI = https://files.pythonhosted.org/packages/fe/29/7ce2ccd75e3da2dae8b2c21ed15f596ddd6430fc603951b4c6292b47dec3
 PYTHON_PYDANTIC_CORE_SETUP_TYPE = maturin
 PYTHON_PYDANTIC_CORE_LICENSE = MIT
 PYTHON_PYDANTIC_CORE_LICENSE_FILES = LICENSE
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi James,

Thanks for the patch.

Quoted 2 lines · James Hilliard

---

[...]

package/python-pydantic-core/python-pydantic-core.mk line 9

Quoted 12 lines
package/python-pydantic-core/python-pydantic-core.mk +0 -0
index 5085b906d5..7342711b2a 100644
@@ -6,10 +6,10 @@
 
 # python-pydantic pins an exact version of pydantic-core in 
 pyproject.toml,
 # make sure to sync pydantic-core to this version when updating 

pydantic

package/python-pydantic-core/python-pydantic-core.mk +1 -1
-PYTHON_PYDANTIC_CORE_VERSION = 2.33.2
+PYTHON_PYDANTIC_CORE_VERSION = 2.39.0

This new version breaks the runtime tests. See:
https://gitlab.com/jolivain/buildroot/-/pipelines/2045487786

Could you have a look please?

It is likely a missing runtime dependency. I did not applied the python-pydantic bump from:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

I'll retest both bumps at the same time.

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
Quoted 26 lines · Julien Olivain

Hi James,

Thanks for the patch.

Quoted 2 lines · James Hilliard

---

[...]

package/python-pydantic-core/python-pydantic-core.mk line 9

Quoted 13 lines
package/python-pydantic-core/python-pydantic-core.mk +0 -0
index 5085b906d5..7342711b2a 100644
@@ -6,10 +6,10 @@
 
 # python-pydantic pins an exact version of pydantic-core in
 pyproject.toml,
 # make sure to sync pydantic-core to this version when updating

pydantic

package/python-pydantic-core/python-pydantic-core.mk +1 -1
-PYTHON_PYDANTIC_CORE_VERSION = 2.33.2
+PYTHON_PYDANTIC_CORE_VERSION = 2.39.0

This new version breaks the runtime tests. See:
https://gitlab.com/jolivain/buildroot/-/pipelines/2045487786

Quoted 7 lines

Could you have a look please?

It is likely a missing runtime dependency. I did not applied the python-pydantic bump from:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

I'll retest both bumps at the same time.

Yeah, based on the error I think applying both at the same time should fix it.

Quoted 4 lines

Best regards,

Julien.

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw

Hi James,

Quoted 29 lines · James Hilliard
Quoted 28 lines · Julien Olivain

Hi James,

Thanks for the patch.

Quoted 2 lines · James Hilliard

---

[...]

package/python-pydantic-core/python-pydantic-core.mk line 9

Quoted 13 lines
package/python-pydantic-core/python-pydantic-core.mk +0 -0
index 5085b906d5..7342711b2a 100644
@@ -6,10 +6,10 @@
 
 # python-pydantic pins an exact version of pydantic-core in
 pyproject.toml,
 # make sure to sync pydantic-core to this version when updating

pydantic

package/python-pydantic-core/python-pydantic-core.mk +1 -1
-PYTHON_PYDANTIC_CORE_VERSION = 2.33.2
+PYTHON_PYDANTIC_CORE_VERSION = 2.39.0

This new version breaks the runtime tests. See:
https://gitlab.com/jolivain/buildroot/-/pipelines/2045487786

Could you have a look please?

Quoted 7 lines
Quoted 5 lines

It is likely a missing runtime dependency. I did not applied the python-pydantic bump from:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

I'll retest both bumps at the same time.

Yeah, based on the error I think applying both at the same time should fix it.

I don't think so. I tested with both patches applied on top of the rest of your python updates. See:
https://gitlab.com/jolivain/buildroot/-/commits/bump-tests.package.test_python_pydantic

So I think there is really some new runtime dependency missing.

Quoted 4 lines
Quoted 4 lines

Best regards,

Julien.

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw
Quoted 39 lines · Julien Olivain

Hi James,

Quoted 35 lines · James Hilliard
Quoted 33 lines · Julien Olivain

Hi James,

Thanks for the patch.

Quoted 2 lines · James Hilliard

---

[...]

package/python-pydantic-core/python-pydantic-core.mk line 9

Quoted 13 lines
package/python-pydantic-core/python-pydantic-core.mk +0 -0
index 5085b906d5..7342711b2a 100644
@@ -6,10 +6,10 @@
 
 # python-pydantic pins an exact version of pydantic-core in
 pyproject.toml,
 # make sure to sync pydantic-core to this version when updating

pydantic

package/python-pydantic-core/python-pydantic-core.mk +1 -1
-PYTHON_PYDANTIC_CORE_VERSION = 2.33.2
+PYTHON_PYDANTIC_CORE_VERSION = 2.39.0

This new version breaks the runtime tests. See:
https://gitlab.com/jolivain/buildroot/-/pipelines/2045487786

Could you have a look please?

It is likely a missing runtime dependency. I did not applied the python-pydantic bump from:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

I'll retest both bumps at the same time.

Quoted 8 lines
Quoted 2 lines

Yeah, based on the error I think applying both at the same time should fix it.

I don't think so. I tested with both patches applied on top of the rest of your python updates. See:
https://gitlab.com/jolivain/buildroot/-/commits/bump-tests.package.test_python_pydantic

So I think there is really some new runtime dependency missing.

I think I see the issue, the latest version of pydantic specifies an older version(our current version) of pydantic-core for compatibility:
https://github.com/pydantic/pydantic/blob/v2.11.9/pyproject.toml#L49

So I'll drop the pydantic-core bump, you should be able to merge the pydantic bump by itself.

Quoted 9 lines
Quoted 5 lines
Quoted 5 lines

Best regards,

Julien.

Best regards,

Julien.

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw

Hi James,

Quoted 47 lines · James Hilliard
Quoted 46 lines · Julien Olivain

Hi James,

Quoted 29 lines · James Hilliard
Quoted 28 lines · Julien Olivain

Hi James,

Thanks for the patch.

Quoted 2 lines · James Hilliard

---

[...]

package/python-pydantic-core/python-pydantic-core.mk line 9

Quoted 13 lines
package/python-pydantic-core/python-pydantic-core.mk +0 -0
index 5085b906d5..7342711b2a 100644
@@ -6,10 +6,10 @@
 
 # python-pydantic pins an exact version of pydantic-core in
 pyproject.toml,
 # make sure to sync pydantic-core to this version when updating

pydantic

package/python-pydantic-core/python-pydantic-core.mk +1 -1
-PYTHON_PYDANTIC_CORE_VERSION = 2.33.2
+PYTHON_PYDANTIC_CORE_VERSION = 2.39.0

This new version breaks the runtime tests. See:
https://gitlab.com/jolivain/buildroot/-/pipelines/2045487786

Could you have a look please?

Quoted 8 lines
Quoted 5 lines

It is likely a missing runtime dependency. I did not applied the python-pydantic bump from:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

I'll retest both bumps at the same time.

Yeah, based on the error I think applying both at the same time should fix it.

I don't think so. I tested with both patches applied on top of the rest of your python updates. See:
https://gitlab.com/jolivain/buildroot/-/commits/bump-tests.package.test_python_pydantic

Quoted 8 lines
Quoted 1 line

So I think there is really some new runtime dependency missing.

I think I see the issue, the latest version of pydantic specifies an older version(our current version) of pydantic-core for compatibility:
https://github.com/pydantic/pydantic/blob/v2.11.9/pyproject.toml#L49

So I'll drop the pydantic-core bump, you should be able to merge the pydantic bump by itself.

I confirm the pydantic bump alone works fine:
https://gitlab.com/jolivain/buildroot/-/pipelines/2045697266

So I'll apply it and ignore pydantic-core for the the moment.

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot