Sync from SUSE:SLFO:Main python-pydantic-core revision 6a134ffd9377b7c60e44716f491829db

This commit is contained in:
Adrian Schröter 2024-12-13 12:03:32 +01:00
parent 1baca94536
commit 7f152449f6
6 changed files with 95 additions and 9 deletions

View File

@ -1,8 +1,9 @@
<services>
<service name="download_files" mode="manual"/>
<service name="cargo_vendor" mode="manual">
<param name="srctar">pydantic_core-2.18.4.tar.gz</param>
<param name="srctar">pydantic_core-2.23.4.tar.gz</param>
<param name="compression">xz</param>
<param name="update">true</param>
<param name="update">false</param>
</service>
<service name="cargo_audit" mode="manual"></service>
</services>

BIN
pydantic_core-2.18.4.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pydantic_core-2.23.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,87 @@
-------------------------------------------------------------------
Wed Oct 2 21:42:30 UTC 2024 - Meera Belur <mbelur@suse.com>
- update 2.23.4
Clean up serialization warnings for invalid data in unions
Fix variance issue in `_IncEx` type alias, only allow `True`
Bump version to v2.23.3
Fix `_IncEx` type annotation
Fix tagged union serialization warning when using aliases
Bump serde_json from 1.0.127 to 1.0.128
Improve test_valid_complex_string_with_space
Negative integers with leading zeros raise ValueError
Bump serde_json from 1.0.121 to 1.0.127
Bump regex from 1.10.5 to 1.10.6
Bump uuid from 1.9.1 to 1.10.0
Bump idna from 1.0.1 to 1.0.2
Bump serde from 1.0.204 to 1.0.209
Bump the python-packages group with 8 updates
Try removing flaky xfail test
Version bump for docs update
Adding missing API docs to `pydantic_core`
Prep for `v2.23.1` patch release
Refactor `BigInt` boilerplate
Support `BigInt` serialization for `int` subclasses
Use more explicit warning regarding serialization warning for missing fields
Prep for v2.23.0
Breaking change: Change `metadata` type hint from `Any` -> `Dict[str, Any] | None`
Adding `cls` reference to `TypedDictSchema`
Disable automatic assignees with `hooky`
Version bump to prep for new release
Introduce `exactness` into `Decimal` validation logic
Adding tagged union serializer 🚀
Support complex numbers
Use `typing_extensions.TypedDict` on Python < 3.12
For missing fields, we don't warn on `exclude_`, so don't warn on `exclude`
Fix float serialization behavior in strict mode
stop clone-ing serializers
Try each option in union serializer before inference
Show value of wrongly typed in serialization warning
Validate base64 standard encoding
dont embed `RUSTFLAGS` in final binary
Expose AnySerializer via core schema
Revert "use little endian int
Uprev to v2.21.0
Support `allow_partial='trailing-strings'`
Bump base64 from 0.21.7 to 0.22.1
clean up some string handling cases
Bump serde from 1.0.203 to 1.0.204
Bump serde_json from 1.0.118 to 1.0.121
Bump pyo3 from 0.22.0 to 0.22.2
Bump version_check from 0.9.4 to 0.9.5
Bump the python-packages group with 7 updates
Bump CodSpeedHQ/action from 2 to 3
Validate bytes based on ser_json_bytes
Fix lints firing since rust 1.80
Bump idna from 0.5.0 to 1.0.1
use little endian int
Fix model field serializer with computed field
use Uuid:::from_u128 for uuid_to_string
string: Use 're.Pattern.search' instead of 're.Pattern.match'
Fixes discriminated union bug regression when using enums
Bump `speedate` to v0.14.1 and prep for v0.20.1
Bump the python-packages group across 1 directory with 7 updates
Bump num-bigint from 0.4.5 to 0.4.6
Bump uuid from 1.9.0 to 1.9.1
Bump `pytest-examples` to get tests passing with ruff `v0.5.0`
try restore 3.13 PGO builds
-------------------------------------------------------------------
Mon Jul 1 17:05:35 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Thu Jun 6 14:46:29 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pydantic-core%{psuffix}
Version: 2.18.4
Version: 2.23.4
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.

BIN
vendor.tar.xz (Stored with Git LFS)

Binary file not shown.