14
0

- update to 2.20.0:

* Tidy up `tagged_union_schema`
  * Improvements in `Union` matching logic during validation
  * Fix `Union` validation logic when `extra='allow'`
  * Add list `fail_fast` config option
  * Update to PyO3 0.22, add Python 3.13 support
- update to 2.19.0:
  * Lower MSRV to 1.75
  * Bump `libc` from 0.2.147 to 0.2.155
  * Make `ValidatorFunctionWrapHandler` positional only
  * Reuse `re.Pattern` object in regex patterns
  * Add ser_json_inf_nan='strings' mode to produce valid JSON

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic-core?expand=0&rev=10
This commit is contained in:
2024-07-01 17:06:13 +00:00
committed by Git OBS Bridge
parent 1220fe1d3f
commit 3886019aa5
6 changed files with 27 additions and 9 deletions

View File

@@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pydantic-core%{psuffix}
Version: 2.18.4
Version: 2.20.0
Release: 0
Summary: Core functionality for pydantic validation and serialization
License: MIT
@@ -54,7 +54,8 @@ Requires: python-typing-extensions >= 4.6.0
%python_subpackages
%description
This package provides the core functionality for [pydantic](https://docs.pydantic.dev) validation and serialization.
This package provides the core functionality for
[pydantic](https://docs.pydantic.dev) validation and serialization.
Pydantic-core is currently around 17x faster than pydantic V1.