forked from pool/python-pydantic
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
This commit is contained in:
parent
35d63c53cf
commit
cdd36c50e2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4419cc01218f54ce54976a446c81513bd5a1424923b98817d6dcec260c143783
|
|
||||||
size 301802
|
|
3
pydantic-1.9.0.tar.gz
Normal file
3
pydantic-1.9.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8a02ed110f264f57788e4761f6a772cdcf02dad65b73be280265e7bb4fc66793
|
||||||
|
size 577619
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 5 16:08:23 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- 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á <mmachova@suse.com>
|
Thu May 13 11:07:30 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pydantic
|
# spec file for package python-pydantic
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
# Copyright (c) 2019, Martin Hauke <mardnh@gmx.de>
|
# Copyright (c) 2019, Martin Hauke <mardnh@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# 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
|
%define skip_python2 1
|
||||||
Name: python-pydantic
|
Name: python-pydantic
|
||||||
Version: 1.8.2
|
Version: 1.9.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Data validation and settings management using python type hinting
|
Summary: Data validation and settings management using python type hinting
|
||||||
License: MIT
|
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 email_validator >= 1.0.3}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module dataclasses if %python-base < 3.7}
|
||||||
BuildRequires: %{python_module python-dotenv >= 0.10.4}
|
BuildRequires: %{python_module python-dotenv >= 0.10.4}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module typing_extensions >= 3.7.4.3}
|
BuildRequires: %{python_module typing_extensions >= 3.7.4.3}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: (python3-dataclasses if python3-base < 3.7)
|
|
||||||
BuildRequires: (python36-dataclasses if python36-base)
|
|
||||||
%if 0%{?python_version_nodots} == 36
|
%if 0%{?python_version_nodots} == 36
|
||||||
Requires: python-dataclasses
|
Requires: python-dataclasses
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user