Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-openapi-core for 
openSUSE:Factory checked in at 2021-08-23 10:07:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openapi-core (Old)
 and      /work/SRC/openSUSE:Factory/.python-openapi-core.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-openapi-core"

Mon Aug 23 10:07:51 2021 rev:10 rq:912672 version:0.14.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-openapi-core/python-openapi-core.changes  
2020-06-02 14:36:03.811032547 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openapi-core.new.1899/python-openapi-core.changes
        2021-08-23 10:08:33.296219455 +0200
@@ -1,0 +2,23 @@
+Mon Aug 16 13:17:44 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to version 0.14.2
+  * Non required request body fix (#325)
+  * Parameter simple scenarion for any schema type fix (#323)
+- Release notes for 0.14.0
+  Changes:
+  * Spec replaced with SpecPath (#318)
+  Backward incompatibilities:
+  * create_spec shortcut returns SpecPath instead of Spec
+  * removed Spec-related schema package
+  * schema-related exceptions moved to top level exceptions module
+  * readOnly/writeOnly invalid properties raise error (before were
+    ommitted)
+  * MediaTypeDeserializersFactory.create expects mimetype string
+    instead of media_type
+  * MediaTypeFinder.find returns media_type, mimetype tuple instead
+    of just media_type
+- Changelog between 0.13.3 and 0.14.0:
+  https://github.com/p1c2u/openapi-core/releases
+- Edit out mock test requirement for Python 3
+
+-------------------------------------------------------------------

Old:
----
  0.13.3.tar.gz

New:
----
  openapi-core-0.14.2-gh.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-openapi-core.spec ++++++
--- /var/tmp/diff_new_pack.SU0faK/_old  2021-08-23 10:08:33.824218839 +0200
+++ /var/tmp/diff_new_pack.SU0faK/_new  2021-08-23 10:08:33.828218835 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-openapi-core
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,28 +19,33 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:           python-openapi-core
-Version:        0.13.3
+Version:        0.14.2
 Release:        0
 Summary:        Adds client-side and server-side support for the oas3
 License:        BSD-3-Clause
 URL:            https://github.com/p1c2u/openapi-core
-Source:         https://github.com/p1c2u/openapi-core/archive/%{version}.tar.gz
+Source:         
https://github.com/p1c2u/openapi-core/archive/%{version}.tar.gz#/openapi-core-%{version}-gh.tar.gz
 BuildRequires:  %{python_module Flask}
+BuildRequires:  %{python_module WebOb}
+BuildRequires:  %{python_module Werkzeug}
 BuildRequires:  %{python_module attrs}
+BuildRequires:  %{python_module dictpath}
+BuildRequires:  %{python_module falcon}
 BuildRequires:  %{python_module isodate}
 BuildRequires:  %{python_module lazy-object-proxy}
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module more-itertools >= 5.0.0}
 BuildRequires:  %{python_module openapi-schema-validator}
 BuildRequires:  %{python_module openapi-spec-validator}
 BuildRequires:  %{python_module parse >= 1.14.0}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module responses}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
-BuildRequires:  %{python_module strict-rfc3339}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-Werkzeug
 Requires:       python-attrs
+Requires:       python-dictpath
 Requires:       python-isodate
 Requires:       python-lazy-object-proxy
 Requires:       python-more-itertools >= 5.0.0
@@ -48,12 +53,12 @@
 Requires:       python-openapi-spec-validator
 Requires:       python-parse >= 1.14.0
 Requires:       python-six
-Requires:       python-strict-rfc3339
 BuildArch:      noarch
 %if %{with python2}
 BuildRequires:  python-backports.functools_lru_cache
 BuildRequires:  python-backports.functools_partialmethod
 BuildRequires:  python-enum34
+BuildRequires:  python2-mock
 %endif
 %ifpython2
 Requires:       python-backports.functools_lru_cache
@@ -69,6 +74,12 @@
 
 %prep
 %setup -q -n openapi-core-%{version}
+# remove extra mock for Python 3
+find tests -name "*.py" -exec sed -i '/^import mock/ c try:\
+    from unittest import mock\
+except ImportError:\
+    import mock\
+' {} ';'
 
 %build
 export LANG=en_US.UTF-8
@@ -82,12 +93,15 @@
 %check
 sed -i '/addopts/d' setup.cfg
 export LANG=en_US.UTF-8
-# test_string_format_invalid_value pytest5 incompatible, fixed in git by major 
rewrite
+# test_string_format_invalid_value: pytest >=5 incompatible,
+# fixed in git by major rewrite (but still not released in 0.14.2)
+# https://github.com/p1c2u/openapi-core/issues/158
 %pytest tests/unit -k 'not test_string_format_invalid_value'
 
 %files %{python_files}
 %license LICENSE
 %doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/openapi_core
+%{python_sitelib}/openapi_core-%{version}*-info
 
 %changelog

Reply via email to