forked from pool/python-pydantic-core
- Update to 2.34.1:
* Fixes + fix clippy lints for Rust 1.86 + Allow JSON BigInt to validate against float schema + Ensure ValidationInfo.field_name is correct on validator reuse + Coerce 'timedelta' schema constraints + Add support for extra keys validation for model fields + Revert by_alias default value change for to_json() and to_jsonable_python() + Skip reusing after validators in prebuilt schemas + Skip reusing wrap validators / serializers for prebuilt variants + Add cls_name to typed-dict schema + Coerce validator constraints to their valid type + Use core schema fns to initalize SchemaValidators in the test suite + Fix enum strict JSON validation when validators are present + Add support for validating v7 UUIDs + Refactor LookupKey logic to reduce redundancy + Add support for UUIDv6 and UUIDv8 validation + Remove unneeded Option map in PyMultiHostUrl.build + bump to PyO3 0.23.5, support PyPy 3.11 + Fix strict behavior for unions + Improving the alias configuration API for validation and serialization + Fix float multiple_of validation for negative numbers + Fix wasm preview + Raise validation error when unhashable items added to a set + Fix condition before using prebuilt validator/serializer + minimal upgrade to PyO3 0.23 (ignoring deprecations) + Use UserWarning from pyo3 + Forward default_value calls to the underlying schema for DefinitionRefValidator OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic-core?expand=0&rev=17
This commit is contained in:
@@ -26,13 +26,14 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pydantic-core%{psuffix}
|
||||
Version: 2.33.1
|
||||
Version: 2.34.1
|
||||
Release: 0
|
||||
Summary: Core functionality for pydantic validation and serialization
|
||||
License: MIT
|
||||
URL: https://github.com/pydantic/pydantic-core
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/pydantic-core/pydantic_core-%{version}.tar.gz
|
||||
Source1: vendor.tar.xz
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module inline-snapshot}
|
||||
BuildRequires: %{python_module maturin >= 1}
|
||||
BuildRequires: %{python_module pip}
|
||||
|
Reference in New Issue
Block a user