From cdd36c50e249dc522cc8d8e9f6ffdb7ca3dcfe4cc0eb353cf789469503931e80 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 5 Jan 2022 23:16:35 +0000 Subject: [PATCH] Accepting request 944129 from home:bnavigator:py310_nonring Update for python310 compatibility. This is resolvable in Factory/standard, but obviously not in snapshots yet. OBS-URL: https://build.opensuse.org/request/show/944129 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic?expand=0&rev=20 --- pydantic-1.8.2.tar.gz | 3 --- pydantic-1.9.0.tar.gz | 3 +++ python-pydantic.changes | 17 +++++++++++++++++ python-pydantic.spec | 9 ++++----- 4 files changed, 24 insertions(+), 8 deletions(-) delete mode 100644 pydantic-1.8.2.tar.gz create mode 100644 pydantic-1.9.0.tar.gz diff --git a/pydantic-1.8.2.tar.gz b/pydantic-1.8.2.tar.gz deleted file mode 100644 index 92a14b2..0000000 --- a/pydantic-1.8.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4419cc01218f54ce54976a446c81513bd5a1424923b98817d6dcec260c143783 -size 301802 diff --git a/pydantic-1.9.0.tar.gz b/pydantic-1.9.0.tar.gz new file mode 100644 index 0000000..0623709 --- /dev/null +++ b/pydantic-1.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a02ed110f264f57788e4761f6a772cdcf02dad65b73be280265e7bb4fc66793 +size 577619 diff --git a/python-pydantic.changes b/python-pydantic.changes index f2ce516..49a5cb1 100644 --- a/python-pydantic.changes +++ b/python-pydantic.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Jan 5 16:08:23 UTC 2022 - Ben Greiner + +- Update to 1.9.0 + * add python 3.10 support, #2885 by @PrettyWood + * Discriminated unions, #619 by @PrettyWood + * Config.smart_union for better union logic, #2092 by @PrettyWood + * Binaries for Macos M1 CPUs, #3498 by @samuelcolvin + * Complex types can be set via nested environment variables, e.g. + foo___bar, #3159 by @Air-Mark + * add a dark mode to pydantic documentation, #2913 by @gbdlin + * Add support for autocomplete in VS Code via + __dataclass_transform__, #2721 by @tiangolo + * Add "exclude" as a field parameter so that it can be configured + using model config, #660 by @daviskirk +- Full changelog in HISTORY.md + ------------------------------------------------------------------- Thu May 13 11:07:30 UTC 2021 - Markéta Machová diff --git a/python-pydantic.spec b/python-pydantic.spec index 910d853..5a27ef2 100644 --- a/python-pydantic.spec +++ b/python-pydantic.spec @@ -1,7 +1,7 @@ # # spec file for package python-pydantic # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2019, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -17,10 +17,10 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-pydantic -Version: 1.8.2 +Version: 1.9.0 Release: 0 Summary: Data validation and settings management using python type hinting License: MIT @@ -30,13 +30,12 @@ Source: https://github.com/samuelcolvin/pydantic/archive/v%{version}.tar BuildRequires: %{python_module email_validator >= 1.0.3} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module dataclasses if %python-base < 3.7} BuildRequires: %{python_module python-dotenv >= 0.10.4} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module typing_extensions >= 3.7.4.3} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: (python3-dataclasses if python3-base < 3.7) -BuildRequires: (python36-dataclasses if python36-base) %if 0%{?python_version_nodots} == 36 Requires: python-dataclasses %endif