Accepting request 1179027 from devel:languages:python

- update to 2.7.3:
  * Bump `pydantic-core` to `v2.18.4`
  * Fix u style unicode strings in python @samuelcolvin in
    pydantic/jiter#110
  * Replace `__spec__.parent` with `__package__`
  * Fix validation of `int`s with leading unary minus
  * Fix `str` subclass validation for enums
  * Support `BigInt`s in `Literal`s and `Enum`s
  * Fix: uuid - allow `str` subclass as input

OBS-URL: https://build.opensuse.org/request/show/1179027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydantic?expand=0&rev=27
This commit is contained in:
Ana Guerrero 2024-06-07 13:02:31 +00:00 committed by Git OBS Bridge
commit 734ab25439
4 changed files with 18 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c23e1eed9c4abcc2f23a82bf8915750a5fffe6e089ca3cd573a47d20a7691c72
size 2749202

BIN
pydantic-2.7.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Jun 6 14:14:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.7.3:
* Bump `pydantic-core` to `v2.18.4`
* Fix u style unicode strings in python @samuelcolvin in
pydantic/jiter#110
* Replace `__spec__.parent` with `__package__`
* Fix validation of `int`s with leading unary minus
* Fix `str` subclass validation for enums
* Support `BigInt`s in `Literal`s and `Enum`s
* Fix: uuid - allow `str` subclass as input
-------------------------------------------------------------------
Thu May 30 04:56:19 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -27,7 +27,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pydantic%{psuffix}
Version: 2.7.1
Version: 2.7.3
Release: 0
Summary: Data validation and settings management using python type hinting
License: MIT
@ -58,7 +58,7 @@ Requires: python-annotated-types >= 0.4.0
%if 0%{?python_version_nodots} < 310
Requires: python-eval-type-backport
%endif
Requires: python-pydantic-core == 2.18.2
Requires: python-pydantic-core == 2.18.4
Requires: python-typing_extensions >= 4.6.1
Suggests: python-email-validator >= 2.0
BuildArch: noarch