forked from pool/python-pydantic-core
- 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
This commit is contained in:
6
_service
6
_service
@@ -1,9 +1,9 @@
|
||||
<services>
|
||||
<service name="cargo_vendor" mode="disabled">
|
||||
<param name="srctar">pydantic_core-2.16.3.tar.gz</param>
|
||||
<service name="cargo_vendor" mode="manual">
|
||||
<param name="srctar">pydantic_core-2.18.2.tar.gz</param>
|
||||
<param name="compression">xz</param>
|
||||
<param name="update">true</param>
|
||||
</service>
|
||||
<service name="cargo_audit" mode="disabled"></service>
|
||||
<service name="cargo_audit" mode="manual"></service>
|
||||
</services>
|
||||
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1cac689f80a3abab2d3c0048b29eea5751114054f032a941a32de4c852c59cad
|
||||
size 368930
|
3
pydantic_core-2.18.2.tar.gz
Normal file
3
pydantic_core-2.18.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2e29d20810dfc3043ee13ac7d9e25105799817683348823f305ab3f349b9386e
|
||||
size 383446
|
@@ -1,7 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 27 07:55:51 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <steven.kowalik@suse.com>
|
||||
|
||||
- Sprinkle in multibuild to avoid build cycles.
|
||||
- Sprinkle in multibuild to avoid build cycles.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 9 13:15:13 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||
|
@@ -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
|
||||
|
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0f1d0b79f65728ece854f6fe1986d0940874ecc9395a306c81010616e934b1b6
|
||||
size 7048020
|
||||
oid sha256:7144326bef16e06d5a21a7a073e00092994459d12db55bdc9f8bdf5ed2fee0ed
|
||||
size 7394172
|
||||
|
Reference in New Issue
Block a user