diff mbox series

[meta-python,1/6] python3-pydantic: Upgrade 2.7.3 -> 2.8.2

Message ID 20240808122301.2271346-1-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-python,1/6] python3-pydantic: Upgrade 2.7.3 -> 2.8.2 | expand

Commit Message

Leon Anavi Aug. 8, 2024, 12:22 p.m. UTC
Upgrade to version 2.8.2:

- Fix issue with assertion caused by pluggable schema
- Fix breaking change in to_snake from v2.7 -> v2.8
- Fix list constraint json schema application
- Support time duration more than 23
- Fix millisecond fraction being handled with the wrong scale
- Handle negative fractional durations correctly
- Update citation version automatically with new releases
- Add support for Python 3.13
- Experimental: support defer_build for TypeAdapter
- Implement deprecated field in json schema
- Experimental: Add pipeline API
- Add support for programmatic title generation
- Implement fail_fast feature
- Add ser_json_inf_nan='strings' mode to produce valid JSON

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{python3-pydantic_2.7.3.bb => python3-pydantic_2.8.2.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pydantic_2.7.3.bb => python3-pydantic_2.8.2.bb} (95%)

Comments

Tim Orling Aug. 8, 2024, 1:01 p.m. UTC | #1
Please hold off on this one, it requires a newer python3-pydantic-core that
I am working on now.

On Thu, Aug 8, 2024 at 5:23 AM Leon Anavi via lists.openembedded.org
<leon.anavi=konsulko.com@lists.openembedded.org> wrote:

> Upgrade to version 2.8.2:
>
> - Fix issue with assertion caused by pluggable schema
> - Fix breaking change in to_snake from v2.7 -> v2.8
> - Fix list constraint json schema application
> - Support time duration more than 23
> - Fix millisecond fraction being handled with the wrong scale
> - Handle negative fractional durations correctly
> - Update citation version automatically with new releases
> - Add support for Python 3.13
> - Experimental: support defer_build for TypeAdapter
> - Implement deprecated field in json schema
> - Experimental: Add pipeline API
> - Add support for programmatic title generation
> - Implement fail_fast feature
> - Add ser_json_inf_nan='strings' mode to produce valid JSON
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
> ---
>  .../{python3-pydantic_2.7.3.bb => python3-pydantic_2.8.2.bb}    | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta-python/recipes-devtools/python/{python3-pydantic_2.7.3.bb =>
> python3-pydantic_2.8.2.bb} (95%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb
> b/meta-python/recipes-devtools/python/python3-pydantic_2.8.2.bb
> similarity index 95%
> rename from meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb
> rename to meta-python/recipes-devtools/python/python3-pydantic_2.8.2.bb
> index 423fe7673..fb1e7b3ac 100644
> --- a/meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb
> +++ b/meta-python/recipes-devtools/python/python3-pydantic_2.8.2.bb
> @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM =
> "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
>
>  inherit pypi python_hatchling
>
> -SRC_URI[sha256sum] =
> "c46c76a40bb1296728d7a8b99aa73dd70a48c3510111ff290034f860c99c419e"
> +SRC_URI[sha256sum] =
> "6f62c13d067b0755ad1c21a34bdd06c0c12625a22b0fc09c6b149816604f7c2a"
>
>  DEPENDS += "python3-hatch-fancy-pypi-readme-native"
>
> --
> 2.39.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#111654):
> https://lists.openembedded.org/g/openembedded-devel/message/111654
> Mute This Topic: https://lists.openembedded.org/mt/107788297/924729
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.8.2.bb
similarity index 95%
rename from meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb
rename to meta-python/recipes-devtools/python/python3-pydantic_2.8.2.bb
index 423fe7673..fb1e7b3ac 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.8.2.bb
@@ -11,7 +11,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
 
 inherit pypi python_hatchling
 
-SRC_URI[sha256sum] = "c46c76a40bb1296728d7a8b99aa73dd70a48c3510111ff290034f860c99c419e"
+SRC_URI[sha256sum] = "6f62c13d067b0755ad1c21a34bdd06c0c12625a22b0fc09c6b149816604f7c2a"
 
 DEPENDS += "python3-hatch-fancy-pypi-readme-native"