mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 04:20:38 -09:00
package/python-pydantic-core: downgrade to 2.33.2 to sync with pydantic
pydantic pins an exact version of pydantic-core in it's pyproject.toml [1]. This was missed during the last pydantic bump where pydantic-core was erroneously updated to the latest release instead, in commit [2] and [3]. Modify the pydantic runtime test to catch this error in the future. [1] https://github.com/pydantic/pydantic/blob/v2.11.4/pyproject.toml#L49 [2]e1c939e426[3]e42de820cdSigned-off-by: Marcus Hoffmann <buildroot@bubu1.eu> [Julien: add reference to commits introducing the issue] Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
0839545a9b
commit
e05648d133
@@ -1,6 +1,11 @@
|
||||
from datetime import datetime
|
||||
|
||||
from pydantic import BaseModel, PositiveInt
|
||||
from pydantic.version import check_pydantic_core_version
|
||||
|
||||
# pydantic pins an exact version of pydantic core
|
||||
# verify these are in sync in buildroots packaging
|
||||
assert check_pydantic_core_version()
|
||||
|
||||
|
||||
class User(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user