diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-07-22 08:39:02 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-23 08:46:33 -0700 |
| commit | 64c46bbb7264957cf0145047fa7825ee3ca73ad1 (patch) | |
| tree | 6cdbe4a54cb68093e62b992b27d636e126cef6a5 /meta-python/recipes-devtools/python/python3-pydantic/0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch | |
| parent | 67c5a7a7eb6dcc54e69637c263dda38a3b9a8420 (diff) | |
| download | meta-openembedded-64c46bbb7264957cf0145047fa7825ee3ca73ad1.tar.gz | |
python3-pydantic: Upgrade to 2.11.7
Fix build with pydantic-core 2.35.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pydantic/0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pydantic/0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic/0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch b/meta-python/recipes-devtools/python/python3-pydantic/0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch new file mode 100644 index 0000000000..794ebdbbc7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic/0001-pyprojects-Bump-pydantic-core-to-2.35.2.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | From 6558daf87f8ae156f913c0e76403cbffee40e3cc Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 22 Jul 2025 11:46:35 -0700 | ||
| 4 | Subject: [PATCH] pyprojects: Bump pydantic-core to 2.35.2 | ||
| 5 | |||
| 6 | This matches with recipe in meta-python | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | |||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | pyproject.toml | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | --- a/pyproject.toml | ||
| 16 | +++ b/pyproject.toml | ||
| 17 | @@ -48,7 +48,7 @@ dependencies = [ | ||
| 18 | 'typing-extensions>=4.13.0', | ||
| 19 | 'annotated-types>=0.6.0', | ||
| 20 | # Keep this in sync with the version in the `check_pydantic_core_version()` function: | ||
| 21 | - 'pydantic-core==2.35.1', | ||
| 22 | + 'pydantic-core==2.35.2', | ||
| 23 | 'typing-inspection>=0.4.0', | ||
| 24 | ] | ||
| 25 | dynamic = ['version', 'readme'] | ||
| 26 | --- a/pydantic/version.py | ||
| 27 | +++ b/pydantic/version.py | ||
| 28 | @@ -66,7 +66,7 @@ def version_info() -> str: | ||
| 29 | def check_pydantic_core_version() -> bool: | ||
| 30 | """Check that the installed `pydantic-core` dependency is compatible.""" | ||
| 31 | # Keep this in sync with the version constraint in the `pyproject.toml` dependencies: | ||
| 32 | - return __pydantic_core_version__ == '2.35.1' | ||
| 33 | + return __pydantic_core_version__ == '2.35.2' | ||
| 34 | |||
| 35 | |||
| 36 | def parse_mypy_version(version: str) -> tuple[int, int, int]: | ||
