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 2021-11-07 00:19:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-os-api-ref (Old)
and /work/SRC/openSUSE:Factory/.python-os-api-ref.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-os-api-ref"
Sun Nov 7 00:19:10 2021 rev:13 rq:929914 version:2.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-os-api-ref/python-os-api-ref.changes
2021-09-15 22:51:55.074945064 +0200
+++
/work/SRC/openSUSE:Factory/.python-os-api-ref.new.1890/python-os-api-ref.changes
2021-11-07 00:19:31.252553158 +0100
@@ -1,0 +2,18 @@
+Sat Nov 6 18:24:32 UTC 2021 - [email protected]
+
+- removed 0001-Replace-add_stylesheet-add_javascript.patch
+- update to version 2.2.0
+ - Use py3 as the default runtime for tox
+ - setup.cfg: Replace dashes with underscores
+ - Move flake8 as a pre-commit local target.
+ - Adding pre-commit
+ - Fix hacking min version to 3.0.1
+ - Remove install unnecessary packages
+ - Use TOX_CONSTRAINTS_FILE
+ - bump py37 to py38 in tox.ini
+ - Replace 'add_stylesheet', 'add_javascript'
+ - Bump py37 to py38 in tox.ini
+ - Switch testing to Xena testing runtime
+ - Stop install unnecessary packages when run tox -edocs
+
+-------------------------------------------------------------------
Old:
----
0001-Replace-add_stylesheet-add_javascript.patch
os-api-ref-2.1.0.tar.gz
New:
----
os-api-ref-2.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-os-api-ref.spec ++++++
--- /var/tmp/diff_new_pack.G6PpW4/_old 2021-11-07 00:19:31.804553185 +0100
+++ /var/tmp/diff_new_pack.G6PpW4/_new 2021-11-07 00:19:31.808553185 +0100
@@ -17,14 +17,13 @@
Name: python-os-api-ref
-Version: 2.1.0
+Version: 2.2.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.1.0.tar.gz
-Patch1: 0001-Replace-add_stylesheet-add_javascript.patch
+Source0:
https://files.pythonhosted.org/packages/source/o/os-api-ref/os-api-ref-2.2.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-PyYAML >= 3.12
BuildRequires: python3-Sphinx
@@ -32,7 +31,7 @@
BuildRequires: python3-openstackdocstheme >= 2.2.1
BuildRequires: python3-pbr >= 2.0.0
BuildRequires: python3-python-subunit
-BuildRequires: python3-six >= 1.10.0
+BuildRequires: python3-six
BuildRequires: python3-sphinx-testing
BuildRequires: python3-stestr
BuildRequires: python3-testtools
@@ -56,7 +55,7 @@
Requires: python3-Sphinx
Requires: python3-openstackdocstheme >= 2.2.1
Requires: python3-pbr >= 2.0.0
-Requires: python3-six >= 1.10.0
+Requires: python3-six
%description -n python3-os-api-ref
This project is a collection of sphinx stanzas that assist in building an API
@@ -73,7 +72,7 @@
This package contains the Python 3.x module.
%prep
-%autosetup -p1 -n os-api-ref-2.1.0
+%autosetup -p1 -n os-api-ref-2.2.0
%py_req_cleanup
%build
++++++ _service ++++++
--- /var/tmp/diff_new_pack.G6PpW4/_old 2021-11-07 00:19:31.836553187 +0100
+++ /var/tmp/diff_new_pack.G6PpW4/_new 2021-11-07 00:19:31.840553186 +0100
@@ -1,6 +1,6 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/wallaby/openstack/os-api-ref/os-api-ref.spec.j2</param>
+ <param
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/master/openstack/os-api-ref/os-api-ref.spec.j2</param>
<param name="output-name">python-os-api-ref.spec</param>
<param
name="requirements">https://opendev.org/openstack/os-api-ref/raw/branch/master/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
++++++ os-api-ref-2.1.0.tar.gz -> os-api-ref-2.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/os-api-ref-2.1.0/.pre-commit-config.yaml
new/os-api-ref-2.2.0/.pre-commit-config.yaml
--- old/os-api-ref-2.1.0/.pre-commit-config.yaml 1970-01-01
01:00:00.000000000 +0100
+++ new/os-api-ref-2.2.0/.pre-commit-config.yaml 2021-05-18
11:10:50.000000000 +0200
@@ -0,0 +1,39 @@
+# We from the Oslo project decided to pin repos based on the
+# commit hash instead of the version tag to prevend arbitrary
+# code from running in developer's machines. To update to a
+# newer version, run `pre-commit autoupdate` and then replace
+# the newer versions with their commit hash.
+
+default_language_version:
+ python: python3
+
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: 9136088a246768144165fcc3ecc3d31bb686920a # v3.3.0
+ hooks:
+ - id: trailing-whitespace
+ # Replaces or checks mixed line ending
+ - id: mixed-line-ending
+ args: ['--fix', 'lf']
+ exclude: '.*\.(svg)$'
+ # Forbid files which have a UTF-8 byte-order marker
+ - id: check-byte-order-marker
+ # Checks that non-binary executables have a proper shebang
+ - id: check-executables-have-shebangs
+ # Check for files that contain merge conflict strings.
+ - id: check-merge-conflict
+ # Check for debugger imports and py37+ breakpoint()
+ # calls in python source
+ - id: debug-statements
+ - id: check-yaml
+ files: .*\.(yaml|yml)$
+ - repo: local
+ hooks:
+ - id: flake8
+ name: flake8
+ additional_dependencies:
+ - hacking>=3.0.1,<3.1.0
+ language: python
+ entry: flake8
+ files: '^.*\.py$'
+ exclude: '^(doc|releasenotes|tools)/.*$'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/os-api-ref-2.1.0/.zuul.yaml
new/os-api-ref-2.2.0/.zuul.yaml
--- old/os-api-ref-2.1.0/.zuul.yaml 2020-06-18 17:27:09.000000000 +0200
+++ new/os-api-ref-2.2.0/.zuul.yaml 2021-05-18 11:10:50.000000000 +0200
@@ -11,7 +11,7 @@
- project:
templates:
- - openstack-python3-ussuri-jobs
+ - openstack-python3-xena-jobs
- check-requirements
- publish-openstack-docs-pti
check:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/os-api-ref-2.1.0/AUTHORS new/os-api-ref-2.2.0/AUTHORS
--- old/os-api-ref-2.1.0/AUTHORS 2020-06-18 17:28:22.000000000 +0200
+++ new/os-api-ref-2.2.0/AUTHORS 2021-05-18 11:11:35.000000000 +0200
@@ -3,6 +3,7 @@
Anne Gentle <[email protected]>
Cao Xuan Hoang <[email protected]>
Corey Bryant <[email protected]>
+Daniel Bengtsson <[email protected]>
Daniel Gonzalez <[email protected]>
Dirk Mueller <[email protected]>
Dmitry Shachnev <[email protected]>
@@ -11,6 +12,7 @@
Gergely Csatari <[email protected]>
Graham Hayes <[email protected]>
Graham Hayes <[email protected]>
+Herv?? Beraud <[email protected]>
Karen Bradshaw <[email protected]>
Luigi Toscano <[email protected]>
Masayuki Igawa <[email protected]>
@@ -30,10 +32,13 @@
gengchc2 <[email protected]>
ghanshyam <[email protected]>
jacky06 <[email protected]>
+maaoyu <[email protected]>
melissaml <[email protected]>
ricolin <[email protected]>
shangxiaobj <[email protected]>
shashi.kant <[email protected]>
tengqm <[email protected]>
yanghuichan <[email protected]>
+yangyawei <[email protected]>
+zhoulinhui <[email protected]>
zhulingjie <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/os-api-ref-2.1.0/ChangeLog
new/os-api-ref-2.2.0/ChangeLog
--- old/os-api-ref-2.1.0/ChangeLog 2020-06-18 17:28:22.000000000 +0200
+++ new/os-api-ref-2.2.0/ChangeLog 2021-05-18 11:11:35.000000000 +0200
@@ -1,6 +1,22 @@
CHANGES
=======
+2.2.0
+-----
+
+* setup.cfg: Replace dashes with underscores
+* Switch testing to Xena testing runtime
+* Move flake8 as a pre-commit local target
+* Replace 'add\_stylesheet', 'add\_javascript'
+* Use TOX\_CONSTRAINTS\_FILE
+* Use py3 as the default runtime for tox
+* Bump py37 to py38 in tox.ini
+* bump py37 to py38 in tox.ini
+* Fix hacking min version to 3.0.1
+* Stop install unnecessary packages when run tox -edocs
+* Remove install unnecessary packages
+* Adding pre-commit
+
2.1.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/os-api-ref-2.1.0/PKG-INFO
new/os-api-ref-2.2.0/PKG-INFO
--- old/os-api-ref-2.1.0/PKG-INFO 2020-06-18 17:28:22.000000000 +0200
+++ new/os-api-ref-2.2.0/PKG-INFO 2021-05-18 11:11:36.087057000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: os-api-ref
-Version: 2.1.0
+Version: 2.2.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.1.0/doc/source/conf.py
new/os-api-ref-2.2.0/doc/source/conf.py
--- old/os-api-ref-2.1.0/doc/source/conf.py 2020-06-18 17:27:09.000000000
+0200
+++ new/os-api-ref-2.2.0/doc/source/conf.py 2021-05-18 11:10:50.000000000
+0200
@@ -1,3 +1,5 @@
+# Copyright (C) 2020 Red Hat, Inc.
+#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@@ -21,7 +23,6 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'sphinx.ext.autodoc',
- #'sphinx.ext.intersphinx',
'openstackdocstheme'
]
@@ -77,6 +78,3 @@
u'%s Documentation' % project,
u'OpenStack Foundation', 'manual'),
]
-
-# Example configuration for intersphinx: refer to the Python standard library.
-#intersphinx_mapping = {'http://docs.python.org/': None}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/os-api-ref-2.1.0/os_api_ref/__init__.py
new/os-api-ref-2.2.0/os_api_ref/__init__.py
--- old/os-api-ref-2.1.0/os_api_ref/__init__.py 2020-06-18 17:27:09.000000000
+0200
+++ new/os-api-ref-2.2.0/os_api_ref/__init__.py 2021-05-18 11:10:50.000000000
+0200
@@ -655,9 +655,9 @@
def add_assets(app):
- app.add_stylesheet('api-site.css')
- app.add_javascript('api-site.js')
- app.add_javascript('combobox.js')
+ app.add_css_file('api-site.css')
+ app.add_js_file('api-site.js')
+ app.add_js_file('combobox.js')
def setup(app):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/os-api-ref-2.1.0/os_api_ref.egg-info/PKG-INFO
new/os-api-ref-2.2.0/os_api_ref.egg-info/PKG-INFO
--- old/os-api-ref-2.1.0/os_api_ref.egg-info/PKG-INFO 2020-06-18
17:28:22.000000000 +0200
+++ new/os-api-ref-2.2.0/os_api_ref.egg-info/PKG-INFO 2021-05-18
11:11:36.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: os-api-ref
-Version: 2.1.0
+Version: 2.2.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.1.0/os_api_ref.egg-info/SOURCES.txt
new/os-api-ref-2.2.0/os_api_ref.egg-info/SOURCES.txt
--- old/os-api-ref-2.1.0/os_api_ref.egg-info/SOURCES.txt 2020-06-18
17:28:22.000000000 +0200
+++ new/os-api-ref-2.2.0/os_api_ref.egg-info/SOURCES.txt 2021-05-18
11:11:36.000000000 +0200
@@ -1,5 +1,6 @@
.coveragerc
.mailmap
+.pre-commit-config.yaml
.stestr.conf
.zuul.yaml
AUTHORS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/os-api-ref-2.1.0/os_api_ref.egg-info/pbr.json
new/os-api-ref-2.2.0/os_api_ref.egg-info/pbr.json
--- old/os-api-ref-2.1.0/os_api_ref.egg-info/pbr.json 2020-06-18
17:28:22.000000000 +0200
+++ new/os-api-ref-2.2.0/os_api_ref.egg-info/pbr.json 2021-05-18
11:11:36.000000000 +0200
@@ -1 +1 @@
-{"git_version": "ca0db9d", "is_release": true}
\ No newline at end of file
+{"git_version": "79b9b69", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/os-api-ref-2.1.0/setup.cfg
new/os-api-ref-2.2.0/setup.cfg
--- old/os-api-ref-2.1.0/setup.cfg 2020-06-18 17:28:22.000000000 +0200
+++ new/os-api-ref-2.2.0/setup.cfg 2021-05-18 11:11:36.087057000 +0200
@@ -1,12 +1,12 @@
[metadata]
name = os-api-ref
summary = Sphinx Extensions to support API reference sites in OpenStack
-description-file =
+description_file =
README.rst
author = OpenStack
-author-email = [email protected]
-home-page = https://docs.openstack.org/os-api-ref/latest/
-python-requires = >=3.6
+author_email = [email protected]
+home_page = https://docs.openstack.org/os-api-ref/latest/
+python_requires = >=3.6
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/os-api-ref-2.1.0/test-requirements.txt
new/os-api-ref-2.2.0/test-requirements.txt
--- old/os-api-ref-2.1.0/test-requirements.txt 2020-06-18 17:27:09.000000000
+0200
+++ new/os-api-ref-2.2.0/test-requirements.txt 2021-05-18 11:10:50.000000000
+0200
@@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-hacking>=3.0,<3.1.0 # Apache-2.0
+hacking>=3.0.1,<3.1.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
python-subunit>=1.0.0 # Apache-2.0/BSD
@@ -11,3 +11,4 @@
sphinx-testing>=1.0.1 # BSD License
beautifulsoup4>=4.6.0 # MIT
stestr>=2.0.0 # Apache-2.0
+pre-commit>=2.6.0 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/os-api-ref-2.1.0/tox.ini new/os-api-ref-2.2.0/tox.ini
--- old/os-api-ref-2.1.0/tox.ini 2020-06-18 17:27:09.000000000 +0200
+++ new/os-api-ref-2.2.0/tox.ini 2021-05-18 11:10:50.000000000 +0200
@@ -1,6 +1,6 @@
[tox]
minversion = 3.1.1
-envlist = py37,pep8,docs
+envlist = py3,pep8,docs
ignore_basepython_conflict = True
skipsdist = True
@@ -9,13 +9,13 @@
setenv =
VIRTUAL_ENV={envdir}
deps =
-
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
+
-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
commands = stestr run {posargs}
[testenv:pep8]
-commands = flake8 {posargs}
+commands = pre-commit run -a
[testenv:venv]
commands = {posargs}
@@ -25,8 +25,7 @@
[testenv:docs]
deps =
-
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
- -r{toxinidir}/requirements.txt
+
-c{env:TOX_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html -d doc/build/doctrees doc/source
doc/build/html