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

Julien Olivain ju.o at free.fr
Wed Sep 17 19:30:41 UTC 2025


Hi James,

On 17/09/2025 20:24, James Hilliard wrote:
> On Wed, Sep 17, 2025 at 11:52 AM Julien Olivain <ju.o at free.fr> wrote:
>> 
>> Hi James,
>> 
>> On 17/09/2025 19:29, James Hilliard wrote:
>> > On Wed, Sep 17, 2025 at 11:19 AM Julien Olivain <ju.o at free.fr> wrote:
>> >>
>> >> Hi James,
>> >>
>> >> Thanks for the patch.
>> >>
>> >> On 16/09/2025 02:30, James Hilliard wrote:
>> >> > Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
>> >> > ---
>> >> [...]
>> >> > diff --git a/package/python-pydantic-core/python-pydantic-core.mk
>> >> > b/package/python-pydantic-core/python-pydantic-core.mk
>> >> > index 5085b906d5..7342711b2a 100644
>> >> > --- a/package/python-pydantic-core/python-pydantic-core.mk
>> >> > +++ b/package/python-pydantic-core/python-pydantic-core.mk
>> >> > @@ -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
>> >>
>> >> 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/20250916003319.2510050-1-james.hilliard1@gmail.com/
>> >>
>> >> 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.
> 
> 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.


More information about the buildroot mailing list