forked from pool/python-pydantic-core
6aeaf5b38cd4cac0b88cce8ce274647b28b87da75870785334256fdfe16ab6eb
- 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/request/show/1170439 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydantic-core?expand=0&rev=3
Description
No description provided
Languages
RPM Spec
100%