Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-oslo.context for
openSUSE:Factory checked in at 2021-05-10 15:37:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.context (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.context.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.context"
Mon May 10 15:37:37 2021 rev:17 rq:889991 version:3.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.context/python-oslo.context.changes
2020-10-26 16:17:09.318975760 +0100
+++
/work/SRC/openSUSE:Factory/.python-oslo.context.new.2988/python-oslo.context.changes
2021-05-10 15:39:48.633458534 +0200
@@ -1,0 +2,10 @@
+Sun May 2 17:12:57 UTC 2021 - [email protected]
+
+- update to version 3.2.0
+ - Switch to collections.abc.MutableMapping
+ - Adding pre-commit
+ - Dropping lower constraints testing
+ - Add Python3 wallaby unit tests
+ - Update master for stable/victoria
+
+-------------------------------------------------------------------
Old:
----
oslo.context-3.1.1.tar.gz
New:
----
oslo.context-3.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.context.spec ++++++
--- /var/tmp/diff_new_pack.J10fQh/_old 2021-05-10 15:39:49.057456799 +0200
+++ /var/tmp/diff_new_pack.J10fQh/_new 2021-05-10 15:39:49.057456799 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.context
#
-# 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
@@ -18,13 +18,13 @@
%bcond_without test
Name: python-oslo.context
-Version: 3.1.1
+Version: 3.2.0
Release: 0
Summary: OpenStack Oslo context library
License: Apache-2.0
Group: Development/Languages/Python
-URL: https://launchpad.net/oslo.context
-Source0:
https://files.pythonhosted.org/packages/source/o/oslo.context/oslo.context-3.1.1.tar.gz
+URL: https://docs.openstack.org/oslo.context
+Source0:
https://files.pythonhosted.org/packages/source/o/oslo.context/oslo.context-3.2.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-pbr >= 2.0.0
BuildArch: noarch
@@ -43,7 +43,6 @@
%package -n python3-oslo.context
Summary: OpenStack Oslo context library
-Group: Development/Languages/Python
Requires: python3-debtcollector >= 1.2.0
%description -n python3-oslo.context
@@ -64,7 +63,7 @@
Documentation for the oslo-context library.
%prep
-%autosetup -p1 -n oslo.context-3.1.1
+%autosetup -p1 -n oslo.context-3.2.0
%py_req_cleanup
%build
++++++ _service ++++++
--- /var/tmp/diff_new_pack.J10fQh/_old 2021-05-10 15:39:49.081456701 +0200
+++ /var/tmp/diff_new_pack.J10fQh/_new 2021-05-10 15:39:49.081456701 +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.context/oslo.context.spec.j2</param>
+ <param
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/wallaby/openstack/oslo.context/oslo.context.spec.j2</param>
<param name="output-name">python-oslo.context.spec</param>
- <param
name="requirements">https://opendev.org/openstack/oslo.context/raw/branch/stable/victoria/requirements.txt</param>
+ <param
name="requirements">https://opendev.org/openstack/oslo.context/raw/branch/stable/wallaby/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,oslo.context</param>
</service>
++++++ oslo.context-3.1.1.tar.gz -> oslo.context-3.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-3.1.1/.pre-commit-config.yaml
new/oslo.context-3.2.0/.pre-commit-config.yaml
--- old/oslo.context-3.1.1/.pre-commit-config.yaml 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.context-3.2.0/.pre-commit-config.yaml 2021-03-03
14:38:38.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.context-3.1.1/.zuul.yaml
new/oslo.context-3.2.0/.zuul.yaml
--- old/oslo.context-3.1.1/.zuul.yaml 2020-09-11 21:20:25.000000000 +0200
+++ new/oslo.context-3.2.0/.zuul.yaml 2021-03-03 14:38:38.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.context-3.1.1/ChangeLog
new/oslo.context-3.2.0/ChangeLog
--- old/oslo.context-3.1.1/ChangeLog 2020-09-11 21:21:19.000000000 +0200
+++ new/oslo.context-3.2.0/ChangeLog 2021-03-03 14:39:26.000000000 +0100
@@ -1,6 +1,15 @@
CHANGES
=======
+3.2.0
+-----
+
+* Switch to collections.abc.MutableMapping
+* Dropping lower constraints testing
+* Add Python3 wallaby unit tests
+* Update master for stable/victoria
+* Adding pre-commit
+
3.1.1
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-3.1.1/PKG-INFO
new/oslo.context-3.2.0/PKG-INFO
--- old/oslo.context-3.1.1/PKG-INFO 2020-09-11 21:21:19.000000000 +0200
+++ new/oslo.context-3.2.0/PKG-INFO 2021-03-03 14:39:26.968393600 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: oslo.context
-Version: 3.1.1
+Version: 3.2.0
Summary: Oslo Context library
Home-page: https://docs.openstack.org/oslo.context/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-3.1.1/doc/source/conf.py
new/oslo.context-3.2.0/doc/source/conf.py
--- old/oslo.context-3.1.1/doc/source/conf.py 2020-09-11 21:20:25.000000000
+0200
+++ new/oslo.context-3.2.0/doc/source/conf.py 2021-03-03 14:38:38.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
@@ -22,7 +24,6 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'sphinx.ext.autodoc',
- #'sphinx.ext.intersphinx',
'openstackdocstheme',
]
@@ -75,6 +76,3 @@
openstackdocs_repo_name = 'openstack/oslo.context'
openstackdocs_bug_project = 'oslo.context'
openstackdocs_bug_tag = ''
-
-# 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.context-3.1.1/oslo.context.egg-info/PKG-INFO
new/oslo.context-3.2.0/oslo.context.egg-info/PKG-INFO
--- old/oslo.context-3.1.1/oslo.context.egg-info/PKG-INFO 2020-09-11
21:21:19.000000000 +0200
+++ new/oslo.context-3.2.0/oslo.context.egg-info/PKG-INFO 2021-03-03
14:39:26.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: oslo.context
-Version: 3.1.1
+Version: 3.2.0
Summary: Oslo Context library
Home-page: https://docs.openstack.org/oslo.context/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-3.1.1/oslo.context.egg-info/SOURCES.txt
new/oslo.context-3.2.0/oslo.context.egg-info/SOURCES.txt
--- old/oslo.context-3.1.1/oslo.context.egg-info/SOURCES.txt 2020-09-11
21:21:19.000000000 +0200
+++ new/oslo.context-3.2.0/oslo.context.egg-info/SOURCES.txt 2021-03-03
14:39:26.000000000 +0100
@@ -1,5 +1,6 @@
.coveragerc
.mailmap
+.pre-commit-config.yaml
.stestr.conf
.zuul.yaml
AUTHORS
@@ -57,5 +58,6 @@
releasenotes/source/train.rst
releasenotes/source/unreleased.rst
releasenotes/source/ussuri.rst
+releasenotes/source/victoria.rst
releasenotes/source/_static/.placeholder
releasenotes/source/_templates/.placeholder
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-3.1.1/oslo.context.egg-info/pbr.json
new/oslo.context-3.2.0/oslo.context.egg-info/pbr.json
--- old/oslo.context-3.1.1/oslo.context.egg-info/pbr.json 2020-09-11
21:21:19.000000000 +0200
+++ new/oslo.context-3.2.0/oslo.context.egg-info/pbr.json 2021-03-03
14:39:26.000000000 +0100
@@ -1 +1 @@
-{"git_version": "57dbded", "is_release": true}
\ No newline at end of file
+{"git_version": "0d02866", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-3.1.1/oslo_context/context.py
new/oslo.context-3.2.0/oslo_context/context.py
--- old/oslo.context-3.1.1/oslo_context/context.py 2020-09-11
21:20:25.000000000 +0200
+++ new/oslo.context-3.2.0/oslo_context/context.py 2021-03-03
14:38:38.000000000 +0100
@@ -26,7 +26,7 @@
or logging context.
"""
-import collections
+import collections.abc
import functools
import itertools
import threading
@@ -79,7 +79,7 @@
return 'req-%s' % uuid.uuid4()
-class _DeprecatedPolicyValues(collections.MutableMapping):
+class _DeprecatedPolicyValues(collections.abc.MutableMapping):
"""A Dictionary that manages current and deprecated policy values.
Anything added to this dictionary after initial creation is considered a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-3.1.1/releasenotes/source/conf.py
new/oslo.context-3.2.0/releasenotes/source/conf.py
--- old/oslo.context-3.1.1/releasenotes/source/conf.py 2020-09-11
21:20:25.000000000 +0200
+++ new/oslo.context-3.2.0/releasenotes/source/conf.py 2021-03-03
14:38:38.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.context-3.1.1/releasenotes/source/index.rst
new/oslo.context-3.2.0/releasenotes/source/index.rst
--- old/oslo.context-3.1.1/releasenotes/source/index.rst 2020-09-11
21:20:25.000000000 +0200
+++ new/oslo.context-3.2.0/releasenotes/source/index.rst 2021-03-03
14:38:38.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.context-3.1.1/releasenotes/source/victoria.rst
new/oslo.context-3.2.0/releasenotes/source/victoria.rst
--- old/oslo.context-3.1.1/releasenotes/source/victoria.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.context-3.2.0/releasenotes/source/victoria.rst 2021-03-03
14:38:38.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.context-3.1.1/test-requirements.txt
new/oslo.context-3.2.0/test-requirements.txt
--- old/oslo.context-3.1.1/test-requirements.txt 2020-09-11
21:20:25.000000000 +0200
+++ new/oslo.context-3.2.0/test-requirements.txt 2021-03-03
14:38:38.000000000 +0100
@@ -10,3 +10,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.context-3.1.1/tox.ini
new/oslo.context-3.2.0/tox.ini
--- old/oslo.context-3.1.1/tox.ini 2020-09-11 21:20:25.000000000 +0200
+++ new/oslo.context-3.2.0/tox.ini 2021-03-03 14:38:38.000000000 +0100
@@ -13,7 +13,7 @@
[testenv:pep8]
deps = {[testenv]deps}
commands =
- flake8
+ pre-commit run -a
# Run security linter
bandit -r oslo_context -x tests -n5