diff --git a/0.1.1.tar.gz b/0.1.1.tar.gz deleted file mode 100644 index 651cfc9..0000000 --- a/0.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d31ac768e3c35ec81af247b57483fa3c91eeeca6d7b59655310145fb853fb8fe -size 8156 diff --git a/0.2.3.tar.gz b/0.2.3.tar.gz new file mode 100644 index 0000000..fa23cce --- /dev/null +++ b/0.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e4a2a53d8302127aefbee02c8784b3e648f8a5dd71f757aa98c83dc1a09a705 +size 25501 diff --git a/python-openapi-schema-validator.changes b/python-openapi-schema-validator.changes index f9dca73..3c31d0e 100644 --- a/python-openapi-schema-validator.changes +++ b/python-openapi-schema-validator.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Mon Mar 28 10:45:14 UTC 2022 - pgajdos@suse.com + +- version update to 0.2.3 + * readOnly and writeOnly on jsonschema4 fix #41 + * Validate oneOf, anyOf and allOf with discriminator (cherry-pick from 0.3.x) #30 + * Revert "make jsonschema4 compatible (DeprecationWarning fix)" #34 + * Drop python 3.6 support (cherry-pick from 0.3.x and part 2) #35 + * Limit jsonschema dependency #36 + * switch to poetry #27 + * drop python 2.7 and 3.5 support #27 #28 + * make jsonschema4 compatible (DeprecationWarning fix) #25 + * Fix required in composition #16 + * Prevent Schema Mutation #26 + * Stop assigning a version to our Validator (#12) + * Switch to a MIT-licensed dependency (#4) + * Pypi license fix (#10) + * jsonschema dependency fix + * Permit uppercase characters in UUID (#8) +- python-mock is not required for build + ------------------------------------------------------------------- Tue Mar 31 06:52:02 UTC 2020 - pgajdos@suse.com diff --git a/python-openapi-schema-validator.spec b/python-openapi-schema-validator.spec index 7b71f0d..66e97c4 100644 --- a/python-openapi-schema-validator.spec +++ b/python-openapi-schema-validator.spec @@ -1,7 +1,7 @@ # # spec file for package python-openapi-schema-validator # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-openapi-schema-validator -Version: 0.1.1 +Version: 0.2.3 Release: 0 Summary: OpenAPI schema validator for Python License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/p1c2u/openapi-schema-validator Source: https://github.com/p1c2u/openapi-schema-validator/archive/%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -37,7 +39,6 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module isodate} BuildRequires: %{python_module jsonschema} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six} BuildRequires: %{python_module strict-rfc3339} @@ -54,14 +55,16 @@ Wright Draft 00. %setup -q -n openapi-schema-validator-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -sed -i 's:\(addopts = -sv\).*:\1:' setup.cfg +sed -i 's:tool.pytest.ini_options:hide:' pyproject.toml +# no rfc3339-validator installed +sed -i 's:\(DATETIME_HAS_RFC3339_VALIDATOR.*\)True:\1False:' tests/integration/test_validators.py %pytest %files %{python_files}