Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-openapi-spec-validator for 
openSUSE:Factory checked in at 2022-03-28 19:24:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openapi-spec-validator (Old)
 and      /work/SRC/openSUSE:Factory/.python-openapi-spec-validator.new.1900 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-openapi-spec-validator"

Mon Mar 28 19:24:31 2022 rev:8 rq:965440 version:0.4.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-openapi-spec-validator/python-openapi-spec-validator.changes
      2020-12-22 11:52:43.038122015 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-openapi-spec-validator.new.1900/python-openapi-spec-validator.changes
    2022-03-28 19:24:35.381038701 +0200
@@ -1,0 +2,24 @@
+Mon Mar 28 15:10:50 UTC 2022 - pgaj...@suse.com
+
+- version update to 0.4.0
+  * Drop Python 2.7, 3.5 and 3.6 support #137
+  * Add Python 3.10 support #137
+  * Bump dependency upper bounds #137
+  * Drop pyrsistent direct dependency #142
+  * Use valid licence registry identifier for Apache-2.0 licence #139
+  * add setuptools dependency for pkg_resources, sort deps #141
+  * On validation error: add cause and context. #129
+  * Switch to poetry and update dependencies #136
+  * File handler Windows compatibility fix (#122)
+  * Recurse references in validation (#125)
+  * A $ref may be a property name fix (#124)
+  * Latest spec 3.0 schema (#110)
+  * Switched to using requests rather than direct use of urllib3 (#93)
+  * Handlers timeout param fix (#107)
+  * Detect duplicate operationId fix (#109)
+  * Repair default and $ref issue (#91)
+- python-mock is not required for build
+- modified patches
+  % openapi-spec-validator-skip-urls.patch (refreshed)
+
+-------------------------------------------------------------------

Old:
----
  0.2.9.tar.gz

New:
----
  0.4.0.tar.gz

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

Other differences:
------------------
++++++ python-openapi-spec-validator.spec ++++++
--- /var/tmp/diff_new_pack.J1gECV/_old  2022-03-28 19:24:35.817039247 +0200
+++ /var/tmp/diff_new_pack.J1gECV/_new  2022-03-28 19:24:35.825039257 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-openapi-spec-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
@@ -19,27 +19,30 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:           python-openapi-spec-validator
-Version:        0.2.9
+Version:        0.4.0
 Release:        0
 Summary:        Python module for validating OpenAPI Specs against Swagger and 
OAS3
 License:        Apache-2.0
 URL:            https://github.com/p1c2u/openapi-spec-validator
 Source:         
https://github.com/p1c2u/openapi-spec-validator/archive/%{version}.tar.gz
 Patch0:         openapi-spec-validator-skip-urls.patch
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module poetry}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-PyYAML >= 5.1
 Requires:       python-jsonschema
+Requires:       python-openapi-schema-validator
 Requires:       python-setuptools
 Requires:       python-six
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module PyYAML >= 5.1}
 BuildRequires:  %{python_module jsonschema}
-BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module openapi-schema-validator}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module six}
 # /SECTION
@@ -62,10 +65,10 @@
 %patch0 -p1
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/openapi-spec-validator
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
@@ -76,10 +79,11 @@
 %python_uninstall_alternative openapi-spec-validator
 
 %check
+sed -i 's:tool.pytest.ini_options:hide:' pyproject.toml
 %pytest -rs
 
 %files %{python_files}
-%doc README.md
+%doc README.rst
 %license LICENSE
 %python_alternative %{_bindir}/openapi-spec-validator
 %{python_sitelib}/*

++++++ 0.2.9.tar.gz -> 0.4.0.tar.gz ++++++
++++ 4205 lines of diff (skipped)

++++++ openapi-spec-validator-skip-urls.patch ++++++
--- /var/tmp/diff_new_pack.J1gECV/_old  2022-03-28 19:24:35.921039377 +0200
+++ /var/tmp/diff_new_pack.J1gECV/_new  2022-03-28 19:24:35.925039382 +0200
@@ -1,70 +1,70 @@
-Index: openapi-spec-validator-0.2.4/tests/integration/test_shortcuts.py
+Index: openapi-spec-validator-0.4.0/tests/integration/test_shortcuts.py
 ===================================================================
---- openapi-spec-validator-0.2.4.orig/tests/integration/test_shortcuts.py
-+++ openapi-spec-validator-0.2.4/tests/integration/test_shortcuts.py
-@@ -78,6 +78,7 @@ class TestLocalPetstoreExample(BaseTestV
+--- openapi-spec-validator-0.4.0.orig/tests/integration/test_shortcuts.py      
2022-03-28 17:05:43.215031152 +0200
++++ openapi-spec-validator-0.4.0/tests/integration/test_shortcuts.py   
2022-03-28 17:06:09.911189896 +0200
+@@ -112,6 +112,7 @@ class TestLocalPetstoreExample(BaseTestV
          return factory.spec_from_file("data/v3.0/petstore.yaml")
  
  
 +@pytest.mark.skip
- class TestPetstoreV2Example(BaseTestValidValidteV2SpecUrl):
+ class TestPetstoreV2Example(BaseTestValidValidateV2SpecUrl):
  
      @pytest.fixture
-@@ -88,7 +89,7 @@ class TestPetstoreV2Example(BaseTestVali
+@@ -122,7 +123,7 @@ class TestPetstoreV2Example(BaseTestVali
              'yaml/petstore.yaml'
          )
  
 -
 +@pytest.mark.skip
- class TestApiV2WithExampe(BaseTestValidValidteV2SpecUrl):
+ class TestApiV2WithExampe(BaseTestValidValidateV2SpecUrl):
  
      @pytest.fixture
-@@ -99,7 +100,7 @@ class TestApiV2WithExampe(BaseTestValidV
+@@ -133,7 +134,7 @@ class TestApiV2WithExampe(BaseTestValidV
              'yaml/api-with-examples.yaml'
          )
  
 -
 +@pytest.mark.skip
- class TestPetstoreV2ExpandedExample(BaseTestValidValidteV2SpecUrl):
+ class TestPetstoreV2ExpandedExample(BaseTestValidValidateV2SpecUrl):
  
      @pytest.fixture
-@@ -110,7 +111,7 @@ class TestPetstoreV2ExpandedExample(Base
+@@ -144,7 +145,7 @@ class TestPetstoreV2ExpandedExample(Base
              'yaml/petstore-expanded.yaml'
          )
  
 -
 +@pytest.mark.skip
- class TestPetstoreExample(BaseTestValidValidteSpecUrl):
+ class TestPetstoreExample(BaseTestValidValidateV3SpecUrl):
  
      @pytest.fixture
-@@ -121,7 +122,7 @@ class TestPetstoreExample(BaseTestValidV
+@@ -155,7 +156,7 @@ class TestPetstoreExample(BaseTestValidV
              'petstore.yaml'
          )
  
 -
 +@pytest.mark.skip
- class TestApiWithExampe(BaseTestValidValidteSpecUrl):
+ class TestApiWithExample(BaseTestValidValidateV3SpecUrl):
  
      @pytest.fixture
-@@ -132,7 +133,7 @@ class TestApiWithExampe(BaseTestValidVal
+@@ -166,7 +167,7 @@ class TestApiWithExample(BaseTestValidVa
              'api-with-examples.yaml'
          )
  
 -
 +@pytest.mark.skip
- class TestPetstoreExpandedExample(BaseTestValidValidteSpecUrl):
+ class TestPetstoreExpandedExample(BaseTestValidValidateV3SpecUrl):
  
      @pytest.fixture
-Index: openapi-spec-validator-0.2.4/tests/integration/test_validate.py
+Index: openapi-spec-validator-0.4.0/tests/integration/test_validate.py
 ===================================================================
---- openapi-spec-validator-0.2.4.orig/tests/integration/test_validate.py
-+++ openapi-spec-validator-0.2.4/tests/integration/test_validate.py
+--- openapi-spec-validator-0.4.0.orig/tests/integration/test_validate.py       
2022-03-28 17:05:43.215031152 +0200
++++ openapi-spec-validator-0.4.0/tests/integration/test_validate.py    
2022-03-28 17:05:59.471127814 +0200
 @@ -64,6 +64,7 @@ class TestLocalParentReferenceExample(Ba
          return factory.spec_from_file(self.spec_file)
  
  
 +@pytest.mark.skip
- class TestPetstoreExample(BaseTestValidOpeAPIv3Validator):
+ class TestPetstoreExample(BaseTestValidOpenAPIv3Validator):
  
      @pytest.fixture
 @@ -75,7 +76,7 @@ class TestPetstoreExample(BaseTestValidO
@@ -73,16 +73,16 @@
  
 -
 +@pytest.mark.skip
- class TestApiWithExampe(BaseTestValidOpeAPIv3Validator):
+ class TestApiWithExample(BaseTestValidOpenAPIv3Validator):
  
      @pytest.fixture
-@@ -87,7 +88,7 @@ class TestApiWithExampe(BaseTestValidOpe
+@@ -87,7 +88,7 @@ class TestApiWithExample(BaseTestValidOp
          )
          return factory.spec_from_url(url)
  
 -
 +@pytest.mark.skip
- class TestPetstoreExpandedExample(BaseTestValidOpeAPIv3Validator):
+ class TestPetstoreExpandedExample(BaseTestValidOpenAPIv3Validator):
  
      @pytest.fixture
 

Reply via email to