Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-os-api-ref for openSUSE:Factory checked in at 2022-05-13 23:03:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-os-api-ref (Old) and /work/SRC/openSUSE:Factory/.python-os-api-ref.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-os-api-ref" Fri May 13 23:03:39 2022 rev:14 rq:977080 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-os-api-ref/python-os-api-ref.changes 2021-11-07 00:19:31.252553158 +0100 +++ /work/SRC/openSUSE:Factory/.python-os-api-ref.new.1538/python-os-api-ref.changes 2022-05-13 23:03:49.671159326 +0200 @@ -1,0 +2,9 @@ +Fri May 13 18:43:59 UTC 2022 - cloud-de...@suse.de + +- update to version 2.3.0 + - tox: Don't use distutils entrypoint for coverage + - Drop support for Sphinx < 4.x + - Remove six + - Fix exception logging + +------------------------------------------------------------------- Old: ---- os-api-ref-2.2.0.tar.gz New: ---- os-api-ref-2.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-os-api-ref.spec ++++++ --- /var/tmp/diff_new_pack.aAhodU/_old 2022-05-13 23:03:50.175159790 +0200 +++ /var/tmp/diff_new_pack.aAhodU/_new 2022-05-13 23:03:50.183159797 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-os-api-ref # -# Copyright (c) 2021 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 @@ -17,13 +17,13 @@ Name: python-os-api-ref -Version: 2.2.0 +Version: 2.3.0 Release: 0 Summary: Sphinx Extensions to support API reference sites in OpenStack License: Apache-2.0 Group: Development/Languages/Python URL: https://docs.openstack.org/os-api-ref -Source0: https://files.pythonhosted.org/packages/source/o/os-api-ref/os-api-ref-2.2.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/o/os-api-ref/os-api-ref-2.3.0.tar.gz BuildRequires: openstack-macros BuildRequires: python3-PyYAML >= 3.12 BuildRequires: python3-Sphinx @@ -72,7 +72,7 @@ This package contains the Python 3.x module. %prep -%autosetup -p1 -n os-api-ref-2.2.0 +%autosetup -p1 -n os-api-ref-2.3.0 %py_req_cleanup %build ++++++ os-api-ref-2.2.0.tar.gz -> os-api-ref-2.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/AUTHORS new/os-api-ref-2.3.0/AUTHORS --- old/os-api-ref-2.2.0/AUTHORS 2021-05-18 11:11:35.000000000 +0200 +++ new/os-api-ref-2.3.0/AUTHORS 2021-10-28 12:45:36.000000000 +0200 @@ -19,6 +19,7 @@ Monty Taylor <mord...@inaugust.com> Nam Nguyen Hoai <na...@vn.fujitsu.com> Ond??ej Nov?? <ondrej.n...@firma.seznam.cz> +Rafael Weing??rtner <raf...@apache.org> Sean Dague <s...@dague.net> Sean McGinnis <sean.mcgin...@gmail.com> Stephen Finucane <stephen...@redhat.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/ChangeLog new/os-api-ref-2.3.0/ChangeLog --- old/os-api-ref-2.2.0/ChangeLog 2021-05-18 11:11:35.000000000 +0200 +++ new/os-api-ref-2.3.0/ChangeLog 2021-10-28 12:45:36.000000000 +0200 @@ -1,6 +1,14 @@ CHANGES ======= +2.3.0 +----- + +* Fix exception logging +* tox: Don't use distutils entrypoint for coverage +* Remove six +* Drop support for Sphinx < 4.x + 2.2.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/MANIFEST.in new/os-api-ref-2.3.0/MANIFEST.in --- old/os-api-ref-2.2.0/MANIFEST.in 2021-05-18 11:10:50.000000000 +0200 +++ new/os-api-ref-2.3.0/MANIFEST.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -include AUTHORS -include ChangeLog -exclude .gitignore -exclude .gitreview - -global-exclude *.pyc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/PKG-INFO new/os-api-ref-2.3.0/PKG-INFO --- old/os-api-ref-2.2.0/PKG-INFO 2021-05-18 11:11:36.087057000 +0200 +++ new/os-api-ref-2.3.0/PKG-INFO 2021-10-28 12:45:36.781576200 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: os-api-ref -Version: 2.2.0 +Version: 2.3.0 Summary: Sphinx Extensions to support API reference sites in OpenStack Home-page: https://docs.openstack.org/os-api-ref/latest/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/doc/requirements.txt new/os-api-ref-2.3.0/doc/requirements.txt --- old/os-api-ref-2.2.0/doc/requirements.txt 2021-05-18 11:10:50.000000000 +0200 +++ new/os-api-ref-2.3.0/doc/requirements.txt 2021-10-28 12:44:56.000000000 +0200 @@ -1,5 +1,5 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -sphinx>=2.0.0,!=2.1.0 # BSD -openstackdocstheme>=2.2.1 # Apache-2.0 \ No newline at end of file +sphinx>=4.0.0 # BSD +openstackdocstheme>=2.2.1 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/os_api_ref/__init__.py new/os-api-ref-2.3.0/os_api_ref/__init__.py --- old/os-api-ref-2.2.0/os_api_ref/__init__.py 2021-05-18 11:10:50.000000000 +0200 +++ new/os-api-ref-2.3.0/os_api_ref/__init__.py 2021-10-28 12:44:56.000000000 +0200 @@ -20,7 +20,6 @@ from docutils.parsers.rst.directives.tables import Table from docutils.statemachine import ViewList import pbr.version -import six from sphinx.util import logging from sphinx.util.osutil import copyfile import yaml @@ -230,7 +229,8 @@ location=(self.env.docname, None)) return except yaml.YAMLError as exc: - LOG.exception(exc_info=exc) + LOG.exception(exc_info=exc, + msg="Error while parsing file [%s]." % fpath) raise if lookup: @@ -392,7 +392,7 @@ groups = [] trow = nodes.row() entry = nodes.entry() - para = nodes.paragraph(text=six.u(table_data)) + para = nodes.paragraph(text=str(table_data)) entry += para trow += entry rows.append(trow) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/os_api_ref/http_codes.py new/os-api-ref-2.3.0/os_api_ref/http_codes.py --- old/os-api-ref-2.2.0/os_api_ref/http_codes.py 2021-05-18 11:10:50.000000000 +0200 +++ new/os-api-ref-2.3.0/os_api_ref/http_codes.py 2021-10-28 12:44:56.000000000 +0200 @@ -10,10 +10,11 @@ # License for the specific language governing permissions and limitations # under the License. +from http.client import responses + from docutils import nodes from docutils.parsers.rst.directives.tables import Table from docutils.statemachine import ViewList -from six.moves.http_client import responses from sphinx.util import logging import yaml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/os_api_ref/tests/test_basic_example.py new/os-api-ref-2.3.0/os_api_ref/tests/test_basic_example.py --- old/os-api-ref-2.2.0/os_api_ref/tests/test_basic_example.py 2021-05-18 11:10:50.000000000 +0200 +++ new/os-api-ref-2.3.0/os_api_ref/tests/test_basic_example.py 2021-10-28 12:44:56.000000000 +0200 @@ -32,10 +32,7 @@ # for some reason and this is bound to have some side effects # # [1] https://github.com/sphinx-doc/sphinx/commit/3a85b3502f -try: - sphinx.application.abspath = lambda x: x -except ImportError: # Sphinx < 1.8 - pass +sphinx.application.abspath = lambda x: x class TestBasicExample(base.TestCase): @@ -90,11 +87,7 @@ def test_parameters(self): """Do we get some parameters table""" - - # TODO(stephenfin): Drop support for this once we drop support for both - # Python 2.7 and Sphinx < 2.0, likely in "U" - if sphinx.version_info >= (2, 0, 0): - table = """<table class="docutils align-{}"> + table = """<table class="docutils align-default"> <colgroup> <col style="width: 20%"/> <col style="width: 10%"/> @@ -115,40 +108,11 @@ <td><p>The name of things</p></td> </tr> </tbody> -</table>""".format('center' if sphinx.version_info < (2, 1, 0) - else 'default') - else: - table = """<table border="1" class="docutils"> -<colgroup> -<col width="20%"/> -<col width="10%"/> -<col width="10%"/> -<col width="60%"/> -</colgroup> -<thead valign="bottom"> -<tr class="row-odd"><th class="head">Name</th> -<th class="head">In</th> -<th class="head">Type</th> -<th class="head">Description</th> -</tr> -</thead> -<tbody valign="top"> -<tr class="row-even"><td>name</td> -<td>body</td> -<td>string</td> -<td>The name of things</td> -</tr> -</tbody> </table>""" - self.assertIn(table, self.content) def test_rest_response(self): - - # TODO(stephenfin): Drop support for this once we drop support for both - # Python 2.7 and Sphinx < 2.0, likely in "U" - if sphinx.version_info >= (2, 0, 0): - success_table = """<table class="docutils align-{}"> + success_table = """<table class="docutils align-default"> <colgroup> <col style="width: 30%"/> <col style="width: 70%"/> @@ -169,10 +133,9 @@ <td><p>Resource was created and is ready to use.</p></td> </tr> </tbody> -</table>""".format('center' if sphinx.version_info < (2, 1, 0) - else 'default') +</table>""" - error_table = """<table class="docutils align-{}"> + error_table = """<table class="docutils align-default"> <colgroup> <col style="width: 30%"/> <col style="width: 70%"/> @@ -202,65 +165,7 @@ <td><p>There is already a zone with this name.</p></td> </tr> </tbody> -</table>""".format('center' if sphinx.version_info < (2, 1, 0) - else 'default') - else: - success_table = """table border="1" class="docutils"> -<colgroup> -<col width="30%"/> -<col width="70%"/> -</colgroup> -<thead valign="bottom"> -<tr class="row-odd"><th class="head">Code</th> -<th class="head">Reason</th> -</tr> -</thead> -<tbody valign="top"> -<tr class="row-even"><td><code>200 - OK</code></td> -<td>Request was successful.</td> -</tr> -<tr class="row-odd"><td><code>100 - Continue</code></td> -<td>An unusual code for an API</td> -</tr> -<tr class="row-even"><td><code>201 - Created</code></td> -<td>Resource was created and is ready to use.</td> -</tr> -</tbody> -</table> -""" - - error_table = """<table border="1" class="docutils"> -<colgroup> -<col width="30%"/> -<col width="70%"/> -</colgroup> -<thead valign="bottom"> -<tr class="row-odd"><th class="head">Code</th> -<th class="head">Reason</th> -</tr> -</thead> -<tbody valign="top"> -<tr class="row-even"><td><code>405 - Method Not Allowed</code></td> -<td>Method is not valid for this endpoint.</td> -</tr> -<tr class="row-odd"><td><code>403 - Forbidden</code></td> -<td>Policy does not allow current user to do this operation.</td> -</tr> -<tr class="row-even"><td><code>401 - Unauthorized</code></td> -<td>User must authenticate before making a request</td> -</tr> -<tr class="row-odd"><td><code>400 - Bad Request</code></td> -<td>Some content in the request was invalid</td> -</tr> -<tr class="row-even"><td><code>500 - Internal Server Error</code></td> -<td>Something went wrong inside the service.</td> -</tr> -<tr class="row-odd"><td><code>409 - Conflict</code></td> -<td>There is already a zone with this name.</td> -</tr> -</tbody> -</table> -""" +</table>""" self.assertIn(success_table, self.content) self.assertIn(error_table, self.content) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/os_api_ref/tests/test_microversions.py new/os-api-ref-2.3.0/os_api_ref/tests/test_microversions.py --- old/os-api-ref-2.2.0/os_api_ref/tests/test_microversions.py 2021-05-18 11:10:50.000000000 +0200 +++ new/os-api-ref-2.3.0/os_api_ref/tests/test_microversions.py 2021-10-28 12:44:56.000000000 +0200 @@ -18,7 +18,6 @@ """ from bs4 import BeautifulSoup -import sphinx from sphinx_testing import with_app from os_api_ref.tests import base @@ -56,9 +55,8 @@ def test_parameters_table(self): """Test that min / max mv css class attributes are set in params""" - if sphinx.version_info >= (2, 0, 0): - table = """<div class="api-detail collapse section" id="list-servers-detail"> -<table class="docutils align-{}"> + table = """ +<table class="docutils align-default"> <colgroup> <col style="width: 20%"/> <col style="width: 10%"/> @@ -94,49 +92,7 @@ </tr> </tbody> </table> -</div> -""".format('center' if sphinx.version_info < (2, 1, 0) else 'default') # noqa - else: - table = """<div class="api-detail collapse section" id="list-servers-detail"> -<table border="1" class="docutils"> -<colgroup> -<col width="20%"/> -<col width="10%"/> -<col width="10%"/> -<col width="60%"/> -</colgroup> -<thead valign="bottom"> -<tr class="row-odd"><th class="head">Name</th> -<th class="head">In</th> -<th class="head">Type</th> -<th class="head">Description</th> -</tr> -</thead> -<tbody valign="top"> -<tr class="row-even"><td>name</td> -<td>body</td> -<td>string</td> -<td>The name of things</td> -</tr> -<tr class="rp_min_ver_2_11 row-odd"><td>name2</td> -<td>body</td> -<td>string</td> -<td><p class="first">The name of things</p> -<p class="last"><strong>New in version 2.11</strong></p> -</td> -</tr> -<tr class="rp_max_ver_2_20 row-even"><td>name3</td> -<td>body</td> -<td>string</td> -<td><p class="first">The name of things</p> -<p class="last"><strong>Available until version 2.20</strong></p> -</td> -</tr> -</tbody> -</table> -</div> -""" # noqa - +""" self.assertIn(table, self.content) def test_mv_selector(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/os_api_ref.egg-info/PKG-INFO new/os-api-ref-2.3.0/os_api_ref.egg-info/PKG-INFO --- old/os-api-ref-2.2.0/os_api_ref.egg-info/PKG-INFO 2021-05-18 11:11:36.000000000 +0200 +++ new/os-api-ref-2.3.0/os_api_ref.egg-info/PKG-INFO 2021-10-28 12:45:36.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: os-api-ref -Version: 2.2.0 +Version: 2.3.0 Summary: Sphinx Extensions to support API reference sites in OpenStack Home-page: https://docs.openstack.org/os-api-ref/latest/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/os_api_ref.egg-info/SOURCES.txt new/os-api-ref-2.3.0/os_api_ref.egg-info/SOURCES.txt --- old/os-api-ref-2.2.0/os_api_ref.egg-info/SOURCES.txt 2021-05-18 11:11:36.000000000 +0200 +++ new/os-api-ref-2.3.0/os_api_ref.egg-info/SOURCES.txt 2021-10-28 12:45:36.000000000 +0200 @@ -8,7 +8,6 @@ ChangeLog HACKING.rst LICENSE -MANIFEST.in README.rst RELEASING.rst TESTS.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/os_api_ref.egg-info/pbr.json new/os-api-ref-2.3.0/os_api_ref.egg-info/pbr.json --- old/os-api-ref-2.2.0/os_api_ref.egg-info/pbr.json 2021-05-18 11:11:36.000000000 +0200 +++ new/os-api-ref-2.3.0/os_api_ref.egg-info/pbr.json 2021-10-28 12:45:36.000000000 +0200 @@ -1 +1 @@ -{"git_version": "79b9b69", "is_release": true} \ No newline at end of file +{"git_version": "3d4f056", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/os_api_ref.egg-info/requires.txt new/os-api-ref-2.3.0/os_api_ref.egg-info/requires.txt --- old/os-api-ref-2.2.0/os_api_ref.egg-info/requires.txt 2021-05-18 11:11:36.000000000 +0200 +++ new/os-api-ref-2.3.0/os_api_ref.egg-info/requires.txt 2021-10-28 12:45:36.000000000 +0200 @@ -1,5 +1,4 @@ PyYAML>=3.12 openstackdocstheme>=2.2.1 pbr!=2.1.0,>=2.0.0 -six>=1.10.0 -sphinx!=2.1.0,>=2.0.0 +sphinx>=4.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/requirements.txt new/os-api-ref-2.3.0/requirements.txt --- old/os-api-ref-2.2.0/requirements.txt 2021-05-18 11:10:50.000000000 +0200 +++ new/os-api-ref-2.3.0/requirements.txt 2021-10-28 12:44:56.000000000 +0200 @@ -4,6 +4,5 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 PyYAML>=3.12 # MIT -six>=1.10.0 # MIT -sphinx>=2.0.0,!=2.1.0 # BSD +sphinx>=4.0.0 # BSD openstackdocstheme>=2.2.1 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-api-ref-2.2.0/tox.ini new/os-api-ref-2.3.0/tox.ini --- old/os-api-ref-2.2.0/tox.ini 2021-05-18 11:10:50.000000000 +0200 +++ new/os-api-ref-2.3.0/tox.ini 2021-10-28 12:44:56.000000000 +0200 @@ -1,17 +1,17 @@ [tox] minversion = 3.1.1 envlist = py3,pep8,docs -ignore_basepython_conflict = True -skipsdist = True +ignore_basepython_conflict = true +skipsdist = true [testenv] basepython = python3 setenv = - VIRTUAL_ENV={envdir} + VIRTUAL_ENV={envdir} deps = - -c{env:TOX_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} - -r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt commands = stestr run {posargs} [testenv:pep8] @@ -21,12 +21,20 @@ commands = {posargs} [testenv:cover] -commands = python setup.py test --coverage --testr-args='{posargs}' +setenv = + {[testenv]setenv} + PYTHON=coverage run --source nova --parallel-mode +commands = + coverage erase + stestr run {posargs} + coverage combine + coverage html -d cover + coverage report [testenv:docs] deps = - -c{env:TOX_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} - -r{toxinidir}/doc/requirements.txt + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/doc/requirements.txt commands = sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html [testenv:debug] @@ -34,7 +42,7 @@ [flake8] # E123, E125 skipped as they are invalid PEP-8. -show-source = True +show-source = true ignore = E123,E125,E129,W504 builtins = _ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build