Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-openapi-schema-validator for
openSUSE:Factory checked in at 2022-03-29 18:14:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openapi-schema-validator (Old)
and /work/SRC/openSUSE:Factory/.python-openapi-schema-validator.new.1900
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-openapi-schema-validator"
Tue Mar 29 18:14:59 2022 rev:2 rq:965430 version:0.2.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-openapi-schema-validator/python-openapi-schema-validator.changes
2020-03-31 17:16:24.163671702 +0200
+++
/work/SRC/openSUSE:Factory/.python-openapi-schema-validator.new.1900/python-openapi-schema-validator.changes
2022-03-29 18:15:31.499138864 +0200
@@ -1,0 +2,21 @@
+Mon Mar 28 10:45:14 UTC 2022 - [email protected]
+
+- 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
+
+-------------------------------------------------------------------
Old:
----
0.1.1.tar.gz
New:
----
0.2.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-openapi-schema-validator.spec ++++++
--- /var/tmp/diff_new_pack.8jZQXN/_old 2022-03-29 18:15:31.971139344 +0200
+++ /var/tmp/diff_new_pack.8jZQXN/_new 2022-03-29 18:15:31.975139348 +0200
@@ -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 @@
# 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 @@
%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}
++++++ 0.1.1.tar.gz -> 0.2.3.tar.gz ++++++
++++ 1959 lines of diff (skipped)