Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-oslo.reports for
openSUSE:Factory checked in at 2024-05-03 19:45:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.reports (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.reports.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.reports"
Fri May 3 19:45:33 2024 rev:16 rq:1171467 version:3.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.reports/python-oslo.reports.changes
2024-01-22 20:31:27.203145252 +0100
+++
/work/SRC/openSUSE:Factory/.python-oslo.reports.new.1880/python-oslo.reports.changes
2024-05-03 19:45:49.843645543 +0200
@@ -1,0 +2,16 @@
+Thu May 2 22:12:15 UTC 2024 - [email protected]
+
+- update to version 3.3.0
+ - Update python classifier in setup.cfg
+ - GMR: Allow disabling signal handler
+ - Remove logic for python 2 support
+ - Bump hacking
+ - Update coverage commands
+ - pre-commit: Integrate bandit
+ - pre-commit: Bump versions
+ - Add missing direct imports
+ - Bump bandit
+ - Update master for stable/2023.2
+ - Make greenlet optional
+
+-------------------------------------------------------------------
Old:
----
oslo.reports-3.1.0.tar.gz
New:
----
oslo.reports-3.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.reports.spec ++++++
--- /var/tmp/diff_new_pack.Y2Ovb2/_old 2024-05-03 19:45:50.579672301 +0200
+++ /var/tmp/diff_new_pack.Y2Ovb2/_new 2024-05-03 19:45:50.583672447 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.reports
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,18 @@
Name: python-oslo.reports
-Version: 3.1.0
+Version: 3.3.0
Release: 0
Summary: OpenStack oslo.reports library
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/oslo.reports
-Source0:
https://files.pythonhosted.org/packages/source/o/oslo.reports/oslo.reports-3.1.0.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/o/oslo.reports/oslo.reports-3.3.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-Jinja2 >= 2.10
BuildRequires: python3-eventlet
BuildRequires: python3-greenlet
-BuildRequires: python3-oslo.config
+BuildRequires: python3-oslo.config >= 5.1.0
BuildRequires: python3-oslo.i18n >= 3.15.3
BuildRequires: python3-oslo.serialization >= 2.18.0
BuildRequires: python3-oslo.utils >= 3.33.0
@@ -66,7 +66,7 @@
This package contains the documentation.
%prep
-%autosetup -p1 -n oslo.reports-3.1.0
+%autosetup -p1 -n oslo.reports-3.3.0
%py_req_cleanup
%build
++++++ oslo.reports-3.1.0.tar.gz -> oslo.reports-3.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/.pre-commit-config.yaml
new/oslo.reports-3.3.0/.pre-commit-config.yaml
--- old/oslo.reports-3.1.0/.pre-commit-config.yaml 2023-08-28
15:06:49.000000000 +0200
+++ new/oslo.reports-3.3.0/.pre-commit-config.yaml 2024-02-22
16:09:55.000000000 +0100
@@ -1,15 +1,6 @@
-# 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
+ rev: v4.5.0
hooks:
- id: trailing-whitespace
# Replaces or checks mixed line ending
@@ -27,13 +18,13 @@
- id: debug-statements
- id: check-yaml
files: .*\.(yaml|yml)$
- - repo: local
+ - repo: https://opendev.org/openstack/hacking
+ rev: 6.1.0
hooks:
- - id: flake8
- name: flake8
- additional_dependencies:
- - hacking>=3.0.1,<3.1.0
- language: python
- entry: flake8
- files: '^.*\.py$'
- exclude: '^(doc|releasenotes|tools)/.*$'
+ - id: hacking
+ additional_dependencies: []
+ - repo: https://github.com/PyCQA/bandit
+ rev: 1.7.6
+ hooks:
+ - id: bandit
+ args: ['-x', 'tests', '-s', 'B314,B405']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/AUTHORS
new/oslo.reports-3.3.0/AUTHORS
--- old/oslo.reports-3.1.0/AUTHORS 2023-08-28 15:07:18.000000000 +0200
+++ new/oslo.reports-3.3.0/AUTHORS 2024-02-22 16:10:24.000000000 +0100
@@ -41,7 +41,10 @@
Sean McGinnis <[email protected]>
Solly Ross <[email protected]>
Stephen Finucane <[email protected]>
+Takashi Kajinami <[email protected]>
+Takashi Kajinami <[email protected]>
Trevor Vardeman <[email protected]>
+Vasyl Saienko <[email protected]>
Victor Sergeyev <[email protected]>
Vu Cong Tuan <[email protected]>
Zang MingJie <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/ChangeLog
new/oslo.reports-3.3.0/ChangeLog
--- old/oslo.reports-3.1.0/ChangeLog 2023-08-28 15:07:18.000000000 +0200
+++ new/oslo.reports-3.3.0/ChangeLog 2024-02-22 16:10:24.000000000 +0100
@@ -1,10 +1,29 @@
CHANGES
=======
+3.3.0
+-----
+
+* Remove logic for python 2 support
+* Update coverage commands
+* pre-commit: Integrate bandit
+* pre-commit: Bump versions
+* Make greenlet optional
+* Add missing direct imports
+* Bump hacking
+* Update python classifier in setup.cfg
+
+3.2.0
+-----
+
+* Update master for stable/2023.2
+* GMR: Allow disabling signal handler
+
3.1.0
-----
* Imported Translations from Zanata
+* Bump bandit
* Revert "Moves supported python runtimes from version 3.8 to 3.10"
* Moves supported python runtimes from version 3.8 to 3.10
* Update master for stable/2023.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/PKG-INFO
new/oslo.reports-3.3.0/PKG-INFO
--- old/oslo.reports-3.1.0/PKG-INFO 2023-08-28 15:07:18.914895800 +0200
+++ new/oslo.reports-3.3.0/PKG-INFO 2024-02-22 16:10:24.255330300 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
Name: oslo.reports
-Version: 3.1.0
+Version: 3.3.0
Summary: oslo.reports library
Home-page: https://docs.openstack.org/oslo.reports/latest
Author: OpenStack
@@ -80,6 +80,9 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
+Provides-Extra: greenlet
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/oslo.reports.egg-info/PKG-INFO
new/oslo.reports-3.3.0/oslo.reports.egg-info/PKG-INFO
--- old/oslo.reports-3.1.0/oslo.reports.egg-info/PKG-INFO 2023-08-28
15:07:18.000000000 +0200
+++ new/oslo.reports-3.3.0/oslo.reports.egg-info/PKG-INFO 2024-02-22
16:10:24.000000000 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
Name: oslo.reports
-Version: 3.1.0
+Version: 3.3.0
Summary: oslo.reports library
Home-page: https://docs.openstack.org/oslo.reports/latest
Author: OpenStack
@@ -80,6 +80,9 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
+Provides-Extra: greenlet
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/oslo.reports.egg-info/SOURCES.txt
new/oslo.reports-3.3.0/oslo.reports.egg-info/SOURCES.txt
--- old/oslo.reports-3.1.0/oslo.reports.egg-info/SOURCES.txt 2023-08-28
15:07:18.000000000 +0200
+++ new/oslo.reports-3.3.0/oslo.reports.egg-info/SOURCES.txt 2024-02-22
16:10:24.000000000 +0100
@@ -71,6 +71,7 @@
releasenotes/notes/add-reno-996dd44974d53238.yaml
releasenotes/notes/drop-python27-support-26fad37c3f7a3d28.yaml
releasenotes/source/2023.1.rst
+releasenotes/source/2023.2.rst
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/ocata.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/oslo.reports.egg-info/pbr.json
new/oslo.reports-3.3.0/oslo.reports.egg-info/pbr.json
--- old/oslo.reports-3.1.0/oslo.reports.egg-info/pbr.json 2023-08-28
15:07:18.000000000 +0200
+++ new/oslo.reports-3.3.0/oslo.reports.egg-info/pbr.json 2024-02-22
16:10:24.000000000 +0100
@@ -1 +1 @@
-{"git_version": "ec934c2", "is_release": true}
\ No newline at end of file
+{"git_version": "592d8ac", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.reports-3.1.0/oslo.reports.egg-info/requires.txt
new/oslo.reports-3.3.0/oslo.reports.egg-info/requires.txt
--- old/oslo.reports-3.1.0/oslo.reports.egg-info/requires.txt 2023-08-28
15:07:18.000000000 +0200
+++ new/oslo.reports-3.3.0/oslo.reports.egg-info/requires.txt 2024-02-22
16:10:24.000000000 +0100
@@ -1,6 +1,16 @@
Jinja2>=2.10
+oslo.config>=5.1.0
oslo.i18n>=3.15.3
oslo.serialization!=2.19.1,>=2.18.0
oslo.utils>=3.33.0
pbr!=2.1.0,>=2.0.0
psutil>=3.2.2
+
+[greenlet]
+greenlet>=0.4.15
+
+[test]
+coverage!=4.4,>=4.0
+greenlet>=0.4.15
+oslotest>=3.2.0
+stestr>=2.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.reports-3.1.0/oslo_reports/guru_meditation_report.py
new/oslo.reports-3.3.0/oslo_reports/guru_meditation_report.py
--- old/oslo.reports-3.1.0/oslo_reports/guru_meditation_report.py
2023-08-28 15:06:49.000000000 +0200
+++ new/oslo.reports-3.3.0/oslo_reports/guru_meditation_report.py
2024-02-22 16:09:55.000000000 +0100
@@ -75,6 +75,11 @@
from oslo_reports.generators import version as pgen
from oslo_reports import report
+try:
+ import greenlet
+except ImportError:
+ greenlet = None
+
LOG = logging.getLogger(__name__)
@@ -120,7 +125,8 @@
@classmethod
def setup_autorun(cls, version, service_name=None,
- log_dir=None, signum=None, conf=None):
+ log_dir=None, signum=None, conf=None,
+ setup_signal=True):
"""Set Up Auto-Run
This method sets up the Guru Meditation Report to automatically
@@ -133,13 +139,15 @@
:param logdir: path to a log directory where to create a file
:param signum: the signal to associate with running the report
:param conf: Configuration object, managed by the caller.
+ :param setup_signal: Set up a signal handler
"""
if log_dir is None and conf is not None:
log_dir = conf.oslo_reports.log_dir
if signum:
- cls._setup_signal(signum, version, service_name, log_dir)
+ if setup_signal:
+ cls._setup_signal(signum, version, service_name, log_dir)
return
if conf and conf.oslo_reports.file_event_handler:
@@ -148,7 +156,7 @@
conf.oslo_reports.file_event_handler_interval,
version, service_name, log_dir)
else:
- if hasattr(signal, 'SIGUSR2'):
+ if setup_signal and hasattr(signal, 'SIGUSR2'):
cls._setup_signal(signal.SIGUSR2,
version, service_name, log_dir)
@@ -237,8 +245,9 @@
self.add_section('Threads',
tgen.ThreadReportGenerator(self.traceback))
- self.add_section('Green Threads',
- tgen.GreenThreadReportGenerator())
+ if greenlet:
+ self.add_section('Green Threads',
+ tgen.GreenThreadReportGenerator())
self.add_section('Processes',
prgen.ProcessReportGenerator())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/oslo_reports/models/base.py
new/oslo.reports-3.3.0/oslo_reports/models/base.py
--- old/oslo.reports-3.1.0/oslo_reports/models/base.py 2023-08-28
15:06:49.000000000 +0200
+++ new/oslo.reports-3.3.0/oslo_reports/models/base.py 2024-02-22
16:09:55.000000000 +0100
@@ -21,13 +21,9 @@
the report serialization process.
"""
+from collections import abc
import copy
-try: # python 3
- from collections import abc
-except ImportError: # python 2
- import collections as abc
-
class ReportModel(abc.MutableMapping):
"""A Report Data Model
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.reports-3.1.0/oslo_reports/tests/test_base_report.py
new/oslo.reports-3.3.0/oslo_reports/tests/test_base_report.py
--- old/oslo.reports-3.1.0/oslo_reports/tests/test_base_report.py
2023-08-28 15:06:49.000000000 +0200
+++ new/oslo.reports-3.3.0/oslo_reports/tests/test_base_report.py
2024-02-22 16:09:55.000000000 +0100
@@ -12,13 +12,9 @@
# License for the specific language governing permissions and limitations
# under the License.
+from collections import abc
import re
-try: # python 3
- from collections import abc
-except ImportError: # python 2
- import collections as abc
-
from oslotest import base
from oslo_reports.models import base as base_model
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.reports-3.1.0/oslo_reports/views/text/generic.py
new/oslo.reports-3.3.0/oslo_reports/views/text/generic.py
--- old/oslo.reports-3.1.0/oslo_reports/views/text/generic.py 2023-08-28
15:06:49.000000000 +0200
+++ new/oslo.reports-3.3.0/oslo_reports/views/text/generic.py 2024-02-22
16:09:55.000000000 +0100
@@ -18,10 +18,7 @@
serializing models into human-readable text.
"""
-try: # python 3
- from collections import abc
-except ImportError: # python 2
- import collections as abc
+from collections import abc
class MultiView(object):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/oslo_reports/views/xml/generic.py
new/oslo.reports-3.3.0/oslo_reports/views/xml/generic.py
--- old/oslo.reports-3.1.0/oslo_reports/views/xml/generic.py 2023-08-28
15:06:49.000000000 +0200
+++ new/oslo.reports-3.3.0/oslo_reports/views/xml/generic.py 2024-02-22
16:09:55.000000000 +0100
@@ -23,14 +23,10 @@
such strings specially)
"""
+from collections import abc
import copy
import xml.etree.ElementTree as ET
-try: # python 3
- from collections import abc
-except ImportError: # python 2
- import collections as abc
-
from oslo_reports import _utils as utils
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/releasenotes/source/2023.2.rst
new/oslo.reports-3.3.0/releasenotes/source/2023.2.rst
--- old/oslo.reports-3.1.0/releasenotes/source/2023.2.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.reports-3.3.0/releasenotes/source/2023.2.rst 2024-02-22
16:09:55.000000000 +0100
@@ -0,0 +1,6 @@
+===========================
+2023.2 Series Release Notes
+===========================
+
+.. release-notes::
+ :branch: stable/2023.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/releasenotes/source/index.rst
new/oslo.reports-3.3.0/releasenotes/source/index.rst
--- old/oslo.reports-3.1.0/releasenotes/source/index.rst 2023-08-28
15:06:49.000000000 +0200
+++ new/oslo.reports-3.3.0/releasenotes/source/index.rst 2024-02-22
16:09:55.000000000 +0100
@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
+ 2023.2
2023.1
victoria
ussuri
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/requirements.txt
new/oslo.reports-3.3.0/requirements.txt
--- old/oslo.reports-3.1.0/requirements.txt 2023-08-28 15:06:49.000000000
+0200
+++ new/oslo.reports-3.3.0/requirements.txt 2024-02-22 16:09:55.000000000
+0100
@@ -1,10 +1,7 @@
-# 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.
-
pbr!=2.1.0,>=2.0.0 # Apache-2.0
Jinja2>=2.10 # BSD License (3 clause)
oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
psutil>=3.2.2 # BSD
oslo.i18n>=3.15.3 # Apache-2.0
oslo.utils>=3.33.0 # Apache-2.0
+oslo.config>=5.1.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/setup.cfg
new/oslo.reports-3.3.0/setup.cfg
--- old/oslo.reports-3.1.0/setup.cfg 2023-08-28 15:07:18.918895700 +0200
+++ new/oslo.reports-3.3.0/setup.cfg 2024-02-22 16:10:24.255330300 +0100
@@ -18,9 +18,14 @@
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
+[extras]
+greenlet =
+ greenlet>=0.4.15 # MIT
+
[files]
packages =
oslo_reports
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.reports-3.1.0/test-requirements.txt
new/oslo.reports-3.3.0/test-requirements.txt
--- old/oslo.reports-3.1.0/test-requirements.txt 2023-08-28
15:06:49.000000000 +0200
+++ new/oslo.reports-3.3.0/test-requirements.txt 2024-02-22
16:09:55.000000000 +0100
@@ -1,19 +1,7 @@
-# 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.
-
-hacking>=3.0.1,<3.1.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
stestr>=2.0.0 # Apache-2.0
# for testing optional parts
-oslo.config>=5.2.0 # Apache-2.0
-eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT
greenlet>=0.4.15 # MIT
coverage!=4.4,>=4.0 # Apache-2.0
-
-# 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.reports-3.1.0/tox.ini
new/oslo.reports-3.3.0/tox.ini
--- old/oslo.reports-3.1.0/tox.ini 2023-08-28 15:06:49.000000000 +0200
+++ new/oslo.reports-3.3.0/tox.ini 2024-02-22 16:09:55.000000000 +0100
@@ -13,12 +13,9 @@
[testenv:pep8]
deps =
-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
- -r{toxinidir}/test-requirements.txt
+ pre-commit
commands =
pre-commit run -a
- # Run security linter
- bandit -r oslo_reports tests -n5 --skip B314,B405
[testenv:venv]
commands = {posargs}
@@ -34,7 +31,15 @@
sphinx-build -W --keep-going -b html doc/source doc/build/html
[testenv:cover]
-commands = python setup.py test --coverage
--coverage-package-name=oslo_reports --testr-args='{posargs}'
+setenv =
+ PYTHON=coverage run --source oslo_reports --parallel-mode
+commands =
+ coverage erase
+ stestr run {posargs}
+ coverage combine
+ coverage html -d cover
+ coverage xml -o cover/coverage.xml
+ coverage report --show-missing
[flake8]
# E123, E125 skipped as they are invalid PEP-8.