From d7f8adba160e15c8cc194d6b3919e84f94d2df7234d359f79899a98ed4d8be2f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Mar 2024 11:56:33 +0000 Subject: [PATCH] - update to 2.6.4: * Fix usage of `AliasGenerator` with `computed_field` decorator * Fix nested discriminated union schema gen, pt 2 * Fix bug with no_strict_optional=True caused by API deferral * Fix issue `unittest.mock` deprecation warnings OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic?expand=0&rev=45 --- pydantic-2.6.3.tar.gz | 3 --- pydantic-2.6.4.tar.gz | 3 +++ python-pydantic.changes | 10 +++++++++- python-pydantic.spec | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) delete mode 100644 pydantic-2.6.3.tar.gz create mode 100644 pydantic-2.6.4.tar.gz diff --git a/pydantic-2.6.3.tar.gz b/pydantic-2.6.3.tar.gz deleted file mode 100644 index d1a4054..0000000 --- a/pydantic-2.6.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9719ee749800091e3d81316ca60dea40d17c8be41e68a331d7c0b87b7ce74375 -size 2710761 diff --git a/pydantic-2.6.4.tar.gz b/pydantic-2.6.4.tar.gz new file mode 100644 index 0000000..87e55f5 --- /dev/null +++ b/pydantic-2.6.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3680f26accf05a8f627b95e5a7f036332d2bf9f121852c004bdf66f47494263d +size 2711126 diff --git a/python-pydantic.changes b/python-pydantic.changes index de0eaf6..dda89ab 100644 --- a/python-pydantic.changes +++ b/python-pydantic.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Mar 16 11:56:01 UTC 2024 - Dirk Müller + +- update to 2.6.4: + * Fix usage of `AliasGenerator` with `computed_field` decorator + * Fix nested discriminated union schema gen, pt 2 + * Fix bug with no_strict_optional=True caused by API deferral + ------------------------------------------------------------------- Thu Mar 7 03:28:00 UTC 2024 - Steve Kowalik @@ -21,7 +29,7 @@ Thu Mar 7 03:28:00 UTC 2024 - Steve Kowalik * Move `getattr` warning in deprecated `BaseConfig` * Only hash `model_fields`, not whole `__dict__` * Fix overload position of `computed_field` - * Fix issue `unittest.mock` deprecation warnings + * Fix issue `unittest.mock` deprecation warnings * Fix `to_snake` conversion * Add support for field `alias` in `dataclass` signature * Fix ordering of keys in `__dict__` with `model_construct` call diff --git a/python-pydantic.spec b/python-pydantic.spec index 77c20f4..063fb1a 100644 --- a/python-pydantic.spec +++ b/python-pydantic.spec @@ -27,7 +27,7 @@ %endif %{?sle15_python_module_pythons} Name: python-pydantic%{psuffix} -Version: 2.6.3 +Version: 2.6.4 Release: 0 Summary: Data validation and settings management using python type hinting License: MIT