- update to 1.10.7:
* Fix creating schema from model using `ConstrainedStr` with `regex` as dict key * Address bug in mypy plugin caused by explicit_package_bases=True * Add implicit defaults in the mypy plugin for Field with no default argument * Fix schema generated for Enum values used as Literals in discriminated unions * Fix mypy failures caused by the pydantic mypy plugin when users define `from_orm` in their own classes * Fix `InitVar` usage with pydantic dataclasses, mypy version `1.1.1` and the custom mypy plugin * Implement logic to support creating validators from non standard callables by using defaults to identify them and unwrapping `functools.partial` and `functools.partialmethod` when checking the signature * Fix mypy plugin for v1.1.1, and fix `dataclass_transform` decorator for pydantic dataclasses * Raise `ValidationError`, not `ConfigError`, when a discriminator value is unhashable * Fix broken parametrized bases handling with `GenericModel`s with complex sets of models * Invalidate mypy cache if plugin config changes * Fix `RecursionError` when deep-copying dataclass types wrapped by pydantic * Fix `X | Y` union syntax breaking `GenericModel` OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic?expand=0&rev=32
This commit is contained in:
parent
3859f30f38
commit
432b74e3d2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:99f7712a6641a0a262822cea09a14f927c6998b509039a041c984bf9d2544d5d
|
||||
size 898916
|
BIN
pydantic-1.10.7.tar.gz
(Stored with Git LFS)
Normal file
BIN
pydantic-1.10.7.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 27 10:00:20 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.10.7:
|
||||
* Fix creating schema from model using `ConstrainedStr` with
|
||||
`regex` as dict key
|
||||
* Address bug in mypy plugin caused by
|
||||
explicit_package_bases=True
|
||||
* Add implicit defaults in the mypy plugin for Field with no
|
||||
default argument
|
||||
* Fix schema generated for Enum values used as Literals in
|
||||
discriminated unions
|
||||
* Fix mypy failures caused by the pydantic mypy plugin when
|
||||
users define `from_orm` in their own classes
|
||||
* Fix `InitVar` usage with pydantic dataclasses, mypy version
|
||||
`1.1.1` and the custom mypy plugin
|
||||
* Implement logic to support creating validators from non
|
||||
standard callables by using defaults to identify them and
|
||||
unwrapping `functools.partial` and `functools.partialmethod`
|
||||
when checking the signature
|
||||
* Fix mypy plugin for v1.1.1, and fix `dataclass_transform`
|
||||
decorator for pydantic dataclasses
|
||||
* Raise `ValidationError`, not `ConfigError`, when a
|
||||
discriminator value is unhashable
|
||||
* Fix broken parametrized bases handling with `GenericModel`s
|
||||
with complex sets of models
|
||||
* Invalidate mypy cache if plugin config changes
|
||||
* Fix `RecursionError` when deep-copying dataclass types
|
||||
wrapped by pydantic
|
||||
* Fix `X | Y` union syntax breaking `GenericModel`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 16 07:18:03 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
%define skip_python2 1
|
||||
Name: python-pydantic
|
||||
Version: 1.10.4
|
||||
Version: 1.10.7
|
||||
Release: 0
|
||||
Summary: Data validation and settings management using python type hinting
|
||||
License: MIT
|
||||
|
Loading…
x
Reference in New Issue
Block a user