Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-oslo.service for 
openSUSE:Factory checked in at 2021-05-10 15:37:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.service (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.service.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.service"

Mon May 10 15:37:41 2021 rev:19 rq:889998 version:2.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.service/python-oslo.service.changes  
2020-10-26 16:17:53.659011424 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.service.new.2988/python-oslo.service.changes
        2021-05-10 15:39:52.885441132 +0200
@@ -1,0 +2,12 @@
+Sun May  2 16:35:02 UTC 2021 - [email protected]
+
+- update to version 2.5.0
+  - Use TOX_CONSTRAINTS_FILE
+  - Add Python3 wallaby unit tests
+  - Drop custom implementation of EVENTLET_HUB
+  - Adding pre-commit
+  - Update master for stable/victoria
+  - Dropping lower constraints testing
+  - Use py3 as the default runtime for tox
+
+-------------------------------------------------------------------

Old:
----
  oslo.service-2.4.0.tar.gz

New:
----
  oslo.service-2.5.0.tar.gz

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

Other differences:
------------------
++++++ python-oslo.service.spec ++++++
--- /var/tmp/diff_new_pack.swz68P/_old  2021-05-10 15:39:53.373439135 +0200
+++ /var/tmp/diff_new_pack.swz68P/_new  2021-05-10 15:39:53.377439118 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-oslo.service
 #
-# 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
@@ -20,13 +20,13 @@
 %global rdo 1
 %endif
 Name:           python-oslo.service
-Version:        2.4.0
+Version:        2.5.0
 Release:        0
 Summary:        OpenStack oslo.service library
 License:        Apache-2.0
 Group:          Development/Languages/Python
-URL:            https://launchpad.net/oslo.service
-Source0:        
https://files.pythonhosted.org/packages/source/o/oslo.service/oslo.service-2.4.0.tar.gz
+URL:            https://docs.openstack.org/oslo.service
+Source0:        
https://files.pythonhosted.org/packages/source/o/oslo.service/oslo.service-2.5.0.tar.gz
 BuildRequires:  openstack-macros
 BuildRequires:  procps
 BuildRequires:  python3-Paste >= 2.0.2
@@ -58,7 +58,6 @@
 
 %package -n python3-oslo.service
 Summary:        OpenStack oslo.service library
-Group:          Development/Languages/Python
 Requires:       python3-Paste >= 2.0.2
 Requires:       python3-PasteDeploy >= 1.5.0
 Requires:       python3-Routes >= 2.3.1
@@ -83,7 +82,6 @@
 
 %package -n python-oslo.service-doc
 Summary:        Documentation for OpenStack service library
-Group:          Development/Languages/Python
 BuildRequires:  python3-Sphinx
 BuildRequires:  python3-openstackdocstheme
 
@@ -95,7 +93,7 @@
 This package contains the documentation.
 
 %prep
-%autosetup -p1 -n oslo.service-2.4.0
+%autosetup -p1 -n oslo.service-2.5.0
 %py_req_cleanup
 
 %build

++++++ _service ++++++
--- /var/tmp/diff_new_pack.swz68P/_old  2021-05-10 15:39:53.417438955 +0200
+++ /var/tmp/diff_new_pack.swz68P/_new  2021-05-10 15:39:53.417438955 +0200
@@ -1,8 +1,8 @@
 <services>
   <service mode="disabled" name="renderspec">
-    <param 
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/victoria/openstack/oslo.service/oslo.service.spec.j2</param>
+    <param 
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/wallaby/openstack/oslo.service/oslo.service.spec.j2</param>
     <param name="output-name">python-oslo.service.spec</param>
-    <param 
name="requirements">https://opendev.org/openstack/oslo.service/raw/branch/stable/victoria/requirements.txt</param>
+    <param 
name="requirements">https://opendev.org/openstack/oslo.service/raw/branch/stable/wallaby/requirements.txt</param>
     <param name="changelog-email">[email protected]</param>
     <param name="changelog-provider">gh,openstack,oslo.service</param>
   </service>

++++++ oslo.service-2.4.0.tar.gz -> oslo.service-2.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/.pre-commit-config.yaml 
new/oslo.service-2.5.0/.pre-commit-config.yaml
--- old/oslo.service-2.4.0/.pre-commit-config.yaml      1970-01-01 
01:00:00.000000000 +0100
+++ new/oslo.service-2.5.0/.pre-commit-config.yaml      2021-02-08 
14:18:46.000000000 +0100
@@ -0,0 +1,35 @@
+# 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: ebc15addedad713c86ef18ae9632c88e187dd0af  # v3.1.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: https://gitlab.com/pycqa/flake8
+    rev: 181bb46098dddf7e2d45319ea654b4b4d58c2840 # 3.8.3
+    hooks:
+      - id: flake8
+        additional_dependencies:
+          - hacking>=3.0.1,<3.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/.zuul.yaml 
new/oslo.service-2.5.0/.zuul.yaml
--- old/oslo.service-2.4.0/.zuul.yaml   2020-09-11 21:18:58.000000000 +0200
+++ new/oslo.service-2.5.0/.zuul.yaml   2021-02-08 14:18:46.000000000 +0100
@@ -2,8 +2,7 @@
     templates:
       - check-requirements
       - lib-forward-testing-python3
-      - openstack-lower-constraints-jobs
-      - openstack-python3-victoria-jobs
+      - openstack-python3-wallaby-jobs
       - periodic-stable-jobs
       - publish-openstack-docs-pti
       - release-notes-jobs-python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/AUTHORS 
new/oslo.service-2.5.0/AUTHORS
--- old/oslo.service-2.4.0/AUTHORS      2020-09-11 21:19:53.000000000 +0200
+++ new/oslo.service-2.5.0/AUTHORS      2021-02-08 14:19:29.000000000 +0100
@@ -137,6 +137,7 @@
 jacky06 <[email protected]>
 jun923.gu <[email protected]>
 lei zhang <[email protected]>
+likui <[email protected]>
 lin-hua-cheng <[email protected]>
 liu-sheng <[email protected]>
 liyingjun <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/ChangeLog 
new/oslo.service-2.5.0/ChangeLog
--- old/oslo.service-2.4.0/ChangeLog    2020-09-11 21:19:53.000000000 +0200
+++ new/oslo.service-2.5.0/ChangeLog    2021-02-08 14:19:29.000000000 +0100
@@ -1,6 +1,18 @@
 CHANGES
 =======
 
+2.5.0
+-----
+
+* Dropping lower constraints testing
+* Drop custom implementation of EVENTLET\_HUB
+* Use TOX\_CONSTRAINTS\_FILE
+* Use py3 as the default runtime for tox
+* Use TOX\_CONSTRAINTS\_FILE
+* Add Python3 wallaby unit tests
+* Update master for stable/victoria
+* Adding pre-commit
+
 2.4.0
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/PKG-INFO 
new/oslo.service-2.5.0/PKG-INFO
--- old/oslo.service-2.4.0/PKG-INFO     2020-09-11 21:19:54.000000000 +0200
+++ new/oslo.service-2.5.0/PKG-INFO     2021-02-08 14:19:30.136819400 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: oslo.service
-Version: 2.4.0
+Version: 2.5.0
 Summary: oslo.service library
 Home-page: https://docs.openstack.org/oslo.service/latest/
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/doc/source/conf.py 
new/oslo.service-2.5.0/doc/source/conf.py
--- old/oslo.service-2.4.0/doc/source/conf.py   2020-09-11 21:18:58.000000000 
+0200
+++ new/oslo.service-2.5.0/doc/source/conf.py   2021-02-08 14:18:46.000000000 
+0100
@@ -1,4 +1,6 @@
 # -*- coding: utf-8 -*-
+# 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
@@ -77,6 +79,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/oslo.service-2.4.0/oslo.service.egg-info/PKG-INFO 
new/oslo.service-2.5.0/oslo.service.egg-info/PKG-INFO
--- old/oslo.service-2.4.0/oslo.service.egg-info/PKG-INFO       2020-09-11 
21:19:53.000000000 +0200
+++ new/oslo.service-2.5.0/oslo.service.egg-info/PKG-INFO       2021-02-08 
14:19:30.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: oslo.service
-Version: 2.4.0
+Version: 2.5.0
 Summary: oslo.service library
 Home-page: https://docs.openstack.org/oslo.service/latest/
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/oslo.service.egg-info/SOURCES.txt 
new/oslo.service-2.5.0/oslo.service.egg-info/SOURCES.txt
--- old/oslo.service-2.4.0/oslo.service.egg-info/SOURCES.txt    2020-09-11 
21:19:54.000000000 +0200
+++ new/oslo.service-2.5.0/oslo.service.egg-info/SOURCES.txt    2021-02-08 
14:19:30.000000000 +0100
@@ -1,5 +1,6 @@
 .coveragerc
 .mailmap
+.pre-commit-config.yaml
 .stestr.conf
 .zuul.yaml
 AUTHORS
@@ -89,6 +90,7 @@
 releasenotes/source/train.rst
 releasenotes/source/unreleased.rst
 releasenotes/source/ussuri.rst
+releasenotes/source/victoria.rst
 releasenotes/source/_static/.placeholder
 releasenotes/source/_templates/.placeholder
 releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/oslo.service.egg-info/pbr.json 
new/oslo.service-2.5.0/oslo.service.egg-info/pbr.json
--- old/oslo.service-2.4.0/oslo.service.egg-info/pbr.json       2020-09-11 
21:19:53.000000000 +0200
+++ new/oslo.service-2.5.0/oslo.service.egg-info/pbr.json       2021-02-08 
14:19:30.000000000 +0100
@@ -1 +1 @@
-{"git_version": "58466a6", "is_release": true}
\ No newline at end of file
+{"git_version": "d25e454", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/oslo_service/__init__.py 
new/oslo.service-2.5.0/oslo_service/__init__.py
--- old/oslo.service-2.4.0/oslo_service/__init__.py     2020-09-11 
21:18:58.000000000 +0200
+++ new/oslo.service-2.5.0/oslo_service/__init__.py     2021-02-08 
14:18:46.000000000 +0100
@@ -1,33 +0,0 @@
-# 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
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-import os
-
-import eventlet.patcher
-
-
-time = eventlet.patcher.original('time')
-
-
-def service_hub():
-    # NOTE(dims): Add a custom impl for EVENTLET_HUB, so we can
-    # override the clock used in the eventlet hubs. The default
-    # uses time.time() and we need to use a monotonic timer
-    # to ensure that things like loopingcall work properly.
-    hub = eventlet.hubs.get_default_hub().Hub()
-    hub.clock = time.monotonic
-    # get_default_hub() will return a hub that is supported on this platform
-    hub.is_available = lambda: True
-    return hub
-
-
-os.environ['EVENTLET_HUB'] = 'oslo_service:service_hub'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.service-2.4.0/oslo_service/tests/test_service.py 
new/oslo.service-2.5.0/oslo_service/tests/test_service.py
--- old/oslo.service-2.4.0/oslo_service/tests/test_service.py   2020-09-11 
21:18:58.000000000 +0200
+++ new/oslo.service-2.5.0/oslo_service/tests/test_service.py   2021-02-08 
14:18:46.000000000 +0100
@@ -164,8 +164,8 @@
         # Skip ps header
         f.readline()
 
-        processes = [tuple(int(p) for p in l.strip().split()[:2])
-                     for l in f]
+        processes = [tuple(int(p) for p in line.strip().split()[:2])
+                     for line in f]
         return [p for p, pp in processes if pp == self.pid]
 
     def test_killed_worker_recover(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/releasenotes/source/conf.py 
new/oslo.service-2.5.0/releasenotes/source/conf.py
--- old/oslo.service-2.4.0/releasenotes/source/conf.py  2020-09-11 
21:18:58.000000000 +0200
+++ new/oslo.service-2.5.0/releasenotes/source/conf.py  2021-02-08 
14:18:46.000000000 +0100
@@ -1,4 +1,6 @@
 # -*- coding: utf-8 -*-
+# 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/releasenotes/source/index.rst 
new/oslo.service-2.5.0/releasenotes/source/index.rst
--- old/oslo.service-2.4.0/releasenotes/source/index.rst        2020-09-11 
21:18:58.000000000 +0200
+++ new/oslo.service-2.5.0/releasenotes/source/index.rst        2021-02-08 
14:18:46.000000000 +0100
@@ -6,6 +6,7 @@
    :maxdepth: 1
 
    unreleased
+   victoria
    ussuri
    train
    stein
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/releasenotes/source/victoria.rst 
new/oslo.service-2.5.0/releasenotes/source/victoria.rst
--- old/oslo.service-2.4.0/releasenotes/source/victoria.rst     1970-01-01 
01:00:00.000000000 +0100
+++ new/oslo.service-2.5.0/releasenotes/source/victoria.rst     2021-02-08 
14:18:46.000000000 +0100
@@ -0,0 +1,6 @@
+=============================
+Victoria Series Release Notes
+=============================
+
+.. release-notes::
+   :branch: stable/victoria
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/test-requirements.txt 
new/oslo.service-2.5.0/test-requirements.txt
--- old/oslo.service-2.4.0/test-requirements.txt        2020-09-11 
21:18:58.000000000 +0200
+++ new/oslo.service-2.5.0/test-requirements.txt        2021-02-08 
14:18:46.000000000 +0100
@@ -14,3 +14,5 @@
 
 # Bandit security code scanner
 bandit>=1.6.0,<1.7.0 # Apache-2.0
+
+pre-commit>=2.6.0 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.service-2.4.0/tox.ini 
new/oslo.service-2.5.0/tox.ini
--- old/oslo.service-2.4.0/tox.ini      2020-09-11 21:18:58.000000000 +0200
+++ new/oslo.service-2.5.0/tox.ini      2021-02-08 14:18:46.000000000 +0100
@@ -1,6 +1,6 @@
 [tox]
 minversion = 3.2.0
-envlist = py38,pep8,bandit
+envlist = py3,pep8,bandit
 ignore_basepython_conflict = true
 
 [testenv]
@@ -10,7 +10,7 @@
     BRANCH_NAME=master
     CLIENT_NAME=oslo.service
 deps =
-  
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+  
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
   -r{toxinidir}/doc/requirements.txt
   -r{toxinidir}/test-requirements.txt
   -r{toxinidir}/requirements.txt
@@ -21,7 +21,7 @@
 
 [testenv:pep8]
 commands =
-    flake8
+    pre-commit run -a
     bandit -r oslo_service -n5 -x tests
     doc8 --ignore-path "doc/source/history.rst" doc/source
 
@@ -54,7 +54,7 @@
 
 [testenv:bandit]
 deps =
-  
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+  
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
   -r{toxinidir}/test-requirements.txt
   -r{toxinidir}/requirements.txt
 commands = bandit -r oslo_service -n5 -x tests {posargs}

Reply via email to