From 757277f2261b4350a3bd470bc484fc42f6975cd2f975a0a6ad0817c6143c9132 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 27 Apr 2024 07:57:12 +0000 Subject: [PATCH] - update to 2.18.2: * Support multiple zeros as an `int` * Fix validation of `int`s with leading unary plus * Fix interaction between `extra != 'ignore'` and `from_attributes=True` * Handle error from `Enum`'s `missing` function as `ValidationError` * Fix memory leak with `Iterable` validation - update to 2.18.1: * allow serialization functions to upgrade warnings to exceptions * Fix: add `coerce_numbers_to_str option` in `StringSchema` * Trim leading zeros before parsing `str` -> `int` * Prevent trailing dots in integers - update to 2.18.0: * update to PyO3 0.21 final * Add coerce_numbers_to_str option in str_schema * caching strings from JSON * fix build warnings on python <3.11 * Fixes for `ser_json_inf_nan` inference * Adopt jiter `0.2.0` - update to 2.17.0: * Add benchmarks for serializing model with complete schema * Prevent panicking when `__dict__` changes during iteration * Fix `TzInfo` equality check based on offset * Fix stack overflow due to recursion in some recursive serializer schemas. * Use PEP570 syntax * Fix parsing `BigInt` from `str` * Use new typing syntax for `_pydantic_core.pyi` OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic-core?expand=0&rev=6 --- _service | 6 ++--- pydantic_core-2.16.3.tar.gz | 3 --- pydantic_core-2.18.2.tar.gz | 3 +++ python-pydantic-core.changes | 50 +++++++++++++++++++++++++++++++++++- python-pydantic-core.spec | 2 +- vendor.tar.xz | 4 +-- 6 files changed, 58 insertions(+), 10 deletions(-) delete mode 100644 pydantic_core-2.16.3.tar.gz create mode 100644 pydantic_core-2.18.2.tar.gz diff --git a/_service b/_service index ffc59d7..02409b9 100644 --- a/_service +++ b/_service @@ -1,9 +1,9 @@ - - pydantic_core-2.16.3.tar.gz + + pydantic_core-2.18.2.tar.gz xz true - + diff --git a/pydantic_core-2.16.3.tar.gz b/pydantic_core-2.16.3.tar.gz deleted file mode 100644 index e883bde..0000000 --- a/pydantic_core-2.16.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1cac689f80a3abab2d3c0048b29eea5751114054f032a941a32de4c852c59cad -size 368930 diff --git a/pydantic_core-2.18.2.tar.gz b/pydantic_core-2.18.2.tar.gz new file mode 100644 index 0000000..05550fd --- /dev/null +++ b/pydantic_core-2.18.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e29d20810dfc3043ee13ac7d9e25105799817683348823f305ab3f349b9386e +size 383446 diff --git a/python-pydantic-core.changes b/python-pydantic-core.changes index 3cea4c8..0b7ecb0 100644 --- a/python-pydantic-core.changes +++ b/python-pydantic-core.changes @@ -1,7 +1,55 @@ +------------------------------------------------------------------- +Sat Apr 27 07:55:51 UTC 2024 - Dirk Müller + +- update to 2.18.2: + * Support multiple zeros as an `int` + * Fix validation of `int`s with leading unary plus + * Fix interaction between `extra != 'ignore'` and + `from_attributes=True` + * Handle error from `Enum`'s `missing` function as + `ValidationError` + * Fix memory leak with `Iterable` validation +- update to 2.18.1: + * allow serialization functions to upgrade warnings to + exceptions + * Fix: add `coerce_numbers_to_str option` in `StringSchema` + * Trim leading zeros before parsing `str` -> `int` + * Prevent trailing dots in integers +- update to 2.18.0: + * update to PyO3 0.21 final + * Add coerce_numbers_to_str option in str_schema + * caching strings from JSON + * fix build warnings on python <3.11 + * Fixes for `ser_json_inf_nan` inference + * Adopt jiter `0.2.0` +- update to 2.17.0: + * Add benchmarks for serializing model with complete schema + * Prevent panicking when `__dict__` changes during iteration + * Fix `TzInfo` equality check based on offset + * Fix stack overflow due to recursion in some recursive + serializer schemas. + * Use PEP570 syntax + * Fix parsing `BigInt` from `str` + * Use new typing syntax for `_pydantic_core.pyi` + * separate `Input` trait `'a` and `'py` lifetimes + * Fix json serialization when `computed_field` is excluded + * Implement `Input` for `str` + * Move list validation to produce an associated type + * Remove `with_new_extra` + * Associated types for arguments in Input + * Associated types for dict in input + * Remaining associated types + * Refactor `Input` trait to have single `as_python` cast for + python inputs + * Allow case where `__pydantic_extra__` is `None`, even if + `extra='allow'` + * Add ability to pass `context` to serialization + * Add `serialize_as_any` runtime flag support + ------------------------------------------------------------------- Tue Mar 12 00:24:28 UTC 2024 - Steve Kowalik -- Sprinkle in multibuild to avoid build cycles. +- Sprinkle in multibuild to avoid build cycles. ------------------------------------------------------------------- Sat Mar 9 13:15:13 UTC 2024 - ecsos diff --git a/python-pydantic-core.spec b/python-pydantic-core.spec index ed8b451..c8a4ec8 100644 --- a/python-pydantic-core.spec +++ b/python-pydantic-core.spec @@ -26,7 +26,7 @@ %endif %{?sle15_python_module_pythons} Name: python-pydantic-core%{psuffix} -Version: 2.16.3 +Version: 2.18.2 Release: 0 Summary: Core functionality for pydantic validation and serialization License: MIT diff --git a/vendor.tar.xz b/vendor.tar.xz index d12c3fc..12b3f75 100644 --- a/vendor.tar.xz +++ b/vendor.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0f1d0b79f65728ece854f6fe1986d0940874ecc9395a306c81010616e934b1b6 -size 7048020 +oid sha256:7144326bef16e06d5a21a7a073e00092994459d12db55bdc9f8bdf5ed2fee0ed +size 7394172