Accepting request 892675 from home:mcalabkova:branches:devel:languages:python
- Update to 1.8.2 (bsc#1186019, CVE-2021-29510) * Security fix: Fix date and datetime parsing so passing either 'infinity' or float('inf') (or their negative values) does not cause an infinite loop * Allow passing json_encoders in class kwargs * support arbitrary types with custom __eq__ * Hypothesis plugin for testing * support for NamedTuple and TypedDict * Support Annotated hints on model fields * frozen parameter on Config to allow models to be hashed * Breaking Change, remove old deprecation aliases from v1 * Breaking Change: always validate only first sublevel items with each_item * many more changes, see upstream changelog OBS-URL: https://build.opensuse.org/request/show/892675 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic?expand=0&rev=18
This commit is contained in:
parent
2980a88758
commit
35d63c53cf
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0fef39e969d69cc73af8c98728c27e719ccb38b16a52ef2e69a088540731f1fa
|
||||
size 266702
|
3
pydantic-1.8.2.tar.gz
Normal file
3
pydantic-1.8.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4419cc01218f54ce54976a446c81513bd5a1424923b98817d6dcec260c143783
|
||||
size 301802
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 13 11:07:30 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 1.8.2 (bsc#1186019, CVE-2021-29510)
|
||||
* Security fix: Fix date and datetime parsing so passing either 'infinity'
|
||||
or float('inf') (or their negative values) does not cause an infinite loop
|
||||
* Allow passing json_encoders in class kwargs
|
||||
* support arbitrary types with custom __eq__
|
||||
* Hypothesis plugin for testing
|
||||
* support for NamedTuple and TypedDict
|
||||
* Support Annotated hints on model fields
|
||||
* frozen parameter on Config to allow models to be hashed
|
||||
* Breaking Change, remove old deprecation aliases from v1
|
||||
* Breaking Change: always validate only first sublevel items with each_item
|
||||
* many more changes, see upstream changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 8 13:10:40 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-pydantic
|
||||
Version: 1.7.3
|
||||
Version: 1.8.2
|
||||
Release: 0
|
||||
Summary: Data validation and settings management using python type hinting
|
||||
License: MIT
|
||||
@ -32,7 +32,7 @@ BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-dotenv >= 0.10.4}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module typing_extensions >= 3.7.2}
|
||||
BuildRequires: %{python_module typing_extensions >= 3.7.4.3}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: (python3-dataclasses if python3-base < 3.7)
|
||||
@ -40,7 +40,7 @@ BuildRequires: (python36-dataclasses if python36-base)
|
||||
%if 0%{?python_version_nodots} == 36
|
||||
Requires: python-dataclasses
|
||||
%endif
|
||||
Recommends: python-typing_extensions >= 3.7.2
|
||||
Requires: python-typing_extensions >= 3.7.4.3
|
||||
Suggests: python-email_validator >= 1.0.3
|
||||
Suggests: python-python-dotenv >= 0.10.4
|
||||
BuildArch: noarch
|
||||
@ -51,8 +51,6 @@ Data validation and settings management using Python type hinting.
|
||||
|
||||
%prep
|
||||
%setup -q -n pydantic-%{version}
|
||||
# compatibility with new pytest
|
||||
sed -i 's/yield_fixture/fixture/' tests/conftest.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user