diff --git a/pydantic-1.7.3.tar.gz b/pydantic-1.7.3.tar.gz deleted file mode 100644 index 298d837..0000000 --- a/pydantic-1.7.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0fef39e969d69cc73af8c98728c27e719ccb38b16a52ef2e69a088540731f1fa -size 266702 diff --git a/pydantic-1.8.2.tar.gz b/pydantic-1.8.2.tar.gz new file mode 100644 index 0000000..92a14b2 --- /dev/null +++ b/pydantic-1.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4419cc01218f54ce54976a446c81513bd5a1424923b98817d6dcec260c143783 +size 301802 diff --git a/python-pydantic.changes b/python-pydantic.changes index cb810d5..f2ce516 100644 --- a/python-pydantic.changes +++ b/python-pydantic.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Thu May 13 11:07:30 UTC 2021 - Markéta Machová + +- 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á diff --git a/python-pydantic.spec b/python-pydantic.spec index 2155900..910d853 100644 --- a/python-pydantic.spec +++ b/python-pydantic.spec @@ -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