Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-castellan for
openSUSE:Factory checked in at 2021-05-04 22:00:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-castellan (Old)
and /work/SRC/openSUSE:Factory/.python-castellan.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-castellan"
Tue May 4 22:00:52 2021 rev:13 rq:890180 version:3.7.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-castellan/python-castellan.changes
2020-10-26 16:15:34.342896205 +0100
+++
/work/SRC/openSUSE:Factory/.python-castellan.new.2988/python-castellan.changes
2021-05-04 22:00:54.472619006 +0200
@@ -1,0 +2,13 @@
+Mon May 3 20:54:35 UTC 2021 - [email protected]
+
+- update to version 3.7.1
+ - Fix assertion typo in barbican key manager unit test
+ - Remove six
+ - Add Python3 wallaby unit tests
+ - Adding pre-commit
+ - Update master for stable/victoria
+ - Dropping lower constraints testing
+ - Don't expect barbican service name to be barbican.
+ - Use py3 as the default runtime for tox
+
+-------------------------------------------------------------------
Old:
----
castellan-3.6.0.tar.gz
New:
----
castellan-3.7.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-castellan.spec ++++++
--- /var/tmp/diff_new_pack.ZWLw4f/_old 2021-05-04 22:00:54.992617051 +0200
+++ /var/tmp/diff_new_pack.ZWLw4f/_new 2021-05-04 22:00:54.992617051 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-castellan
#
-# 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
@@ -17,13 +17,13 @@
Name: python-castellan
-Version: 3.6.0
+Version: 3.7.1
Release: 0
Summary: Generic Key Manager interface for OpenStack
License: Apache-2.0
Group: Development/Languages/Python
-URL: https://launchpad.net/castellan
-Source0:
https://files.pythonhosted.org/packages/source/c/castellan/castellan-3.6.0.tar.gz
+URL: https://docs.openstack.org/castellan
+Source0:
https://files.pythonhosted.org/packages/source/c/castellan/castellan-3.7.1.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-barbicanclient >= 4.5.2
BuildRequires: python3-cryptography >= 2.7
@@ -43,7 +43,6 @@
%package -n python3-castellan
Summary: Generic Key Manager interface for OpenStack
-Group: Development/Languages/Python
Requires: python3-Babel
Requires: python3-barbicanclient >= 4.5.2
Requires: python3-cryptography >= 2.7
@@ -73,7 +72,7 @@
This package contains the documentation
%prep
-%autosetup -p1 -n castellan-3.6.0
+%autosetup -p1 -n castellan-3.7.1
%py_req_cleanup
%build
++++++ _service ++++++
--- /var/tmp/diff_new_pack.ZWLw4f/_old 2021-05-04 22:00:55.028616916 +0200
+++ /var/tmp/diff_new_pack.ZWLw4f/_new 2021-05-04 22:00:55.028616916 +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/castellan/castellan.spec.j2</param>
+ <param
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/wallaby/openstack/castellan/castellan.spec.j2</param>
<param name="output-name">python-castellan.spec</param>
- <param
name="requirements">https://opendev.org/openstack/castellan/raw/branch/stable/victoria/requirements.txt</param>
+ <param
name="requirements">https://opendev.org/openstack/castellan/raw/branch/stable/wallaby/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,castellan</param>
</service>
++++++ castellan-3.6.0.tar.gz -> castellan-3.7.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/castellan-3.6.0/.pre-commit-config.yaml
new/castellan-3.7.1/.pre-commit-config.yaml
--- old/castellan-3.6.0/.pre-commit-config.yaml 1970-01-01 01:00:00.000000000
+0100
+++ new/castellan-3.7.1/.pre-commit-config.yaml 2021-03-03 14:36:24.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/castellan-3.6.0/.zuul.yaml
new/castellan-3.7.1/.zuul.yaml
--- old/castellan-3.6.0/.zuul.yaml 2020-09-11 21:26:04.000000000 +0200
+++ new/castellan-3.7.1/.zuul.yaml 2021-03-03 14:36:24.000000000 +0100
@@ -59,8 +59,7 @@
- barbican-tempest-plugin-simple-crypto-castellan-src
templates:
- check-requirements
- - 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/castellan-3.6.0/AUTHORS new/castellan-3.7.1/AUTHORS
--- old/castellan-3.6.0/AUTHORS 2020-09-11 21:27:14.000000000 +0200
+++ new/castellan-3.7.1/AUTHORS 2021-03-03 14:37:11.000000000 +0100
@@ -38,6 +38,7 @@
Kiran_totad <[email protected]>
Le Hou <[email protected]>
Luigi Toscano <[email protected]>
+Mark Goddard <[email protected]>
Michael McCune <[email protected]>
Moises Guimaraes de Medeiros <[email protected]>
Mois??s Guimar??es de Medeiros <[email protected]>
@@ -48,6 +49,7 @@
Paul Bourke <[email protected]>
Pavlo Shchelokovskyy <[email protected]>
Robert Clark <[email protected]>
+Sam Morrison <[email protected]>
Sean McGinnis <[email protected]>
Steve Martinelli <[email protected]>
Sungjin Yook <[email protected]>
@@ -64,6 +66,7 @@
gaofei <[email protected]>
gecong1973 <[email protected]>
gengchc2 <[email protected]>
+kuangcx <[email protected]>
lioplhp <[email protected]>
liujiong <[email protected]>
melissaml <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/castellan-3.6.0/ChangeLog
new/castellan-3.7.1/ChangeLog
--- old/castellan-3.6.0/ChangeLog 2020-09-11 21:27:14.000000000 +0200
+++ new/castellan-3.7.1/ChangeLog 2021-03-03 14:37:11.000000000 +0100
@@ -1,6 +1,22 @@
CHANGES
=======
+3.7.1
+-----
+
+* Fix assertion typo in barbican key manager unit test
+* Dropping lower constraints testing
+* Don't expect barbican service name to be barbican
+* Use py3 as the default runtime for tox
+
+3.7.0
+-----
+
+* Remove six
+* Adding pre-commit
+* Add Python3 wallaby unit tests
+* Update master for stable/victoria
+
3.6.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/castellan-3.6.0/PKG-INFO new/castellan-3.7.1/PKG-INFO
--- old/castellan-3.6.0/PKG-INFO 2020-09-11 21:27:14.000000000 +0200
+++ new/castellan-3.7.1/PKG-INFO 2021-03-03 14:37:11.843846300 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: castellan
-Version: 3.6.0
+Version: 3.7.1
Summary: Generic Key Manager interface for OpenStack
Home-page: https://docs.openstack.org/castellan/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/castellan-3.6.0/castellan/key_manager/barbican_key_manager.py
new/castellan-3.7.1/castellan/key_manager/barbican_key_manager.py
--- old/castellan-3.6.0/castellan/key_manager/barbican_key_manager.py
2020-09-11 21:26:04.000000000 +0200
+++ new/castellan-3.7.1/castellan/key_manager/barbican_key_manager.py
2021-03-03 14:36:24.000000000 +0100
@@ -198,7 +198,6 @@
return endpoint_data.url
else:
service_parameters = {'service_type': 'key-manager',
- 'service_name': 'barbican',
'interface': barbican.barbican_endpoint_type}
return auth.get_endpoint(sess, **service_parameters)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/castellan-3.6.0/castellan/tests/unit/key_manager/test_barbican_key_manager.py
new/castellan-3.7.1/castellan/tests/unit/key_manager/test_barbican_key_manager.py
---
old/castellan-3.6.0/castellan/tests/unit/key_manager/test_barbican_key_manager.py
2020-09-11 21:26:04.000000000 +0200
+++
new/castellan-3.7.1/castellan/tests/unit/key_manager/test_barbican_key_manager.py
2021-03-03 14:36:24.000000000 +0100
@@ -122,7 +122,7 @@
self.assertRaises(exception.KeyManagerError,
self.key_mgr._create_base_url,
auth, sess, endpoint)
- auth.get_discovery.asser_called_once_with(sess, url=endpoint)
+ auth.get_discovery.assert_called_once_with(sess, url=endpoint)
self.assertEqual(1, discovery.raw_version_data.call_count)
def test_base_url_get_discovery(self):
@@ -136,10 +136,10 @@
endpoint = "http://localhost/key_manager"
base_url = self.key_mgr._create_base_url(auth,
- mock.Mock(),
+ sess,
endpoint)
self.assertEqual(endpoint + "/" + version, base_url)
- auth.get_discovery.asser_called_once_with(sess, url=endpoint)
+ auth.get_discovery.assert_called_once_with(sess, url=endpoint)
self.assertEqual(1, discovery.raw_version_data.call_count)
def test_create_key(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/castellan-3.6.0/castellan.egg-info/PKG-INFO
new/castellan-3.7.1/castellan.egg-info/PKG-INFO
--- old/castellan-3.6.0/castellan.egg-info/PKG-INFO 2020-09-11
21:27:14.000000000 +0200
+++ new/castellan-3.7.1/castellan.egg-info/PKG-INFO 2021-03-03
14:37:11.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: castellan
-Version: 3.6.0
+Version: 3.7.1
Summary: Generic Key Manager interface for OpenStack
Home-page: https://docs.openstack.org/castellan/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/castellan-3.6.0/castellan.egg-info/SOURCES.txt
new/castellan-3.7.1/castellan.egg-info/SOURCES.txt
--- old/castellan-3.6.0/castellan.egg-info/SOURCES.txt 2020-09-11
21:27:14.000000000 +0200
+++ new/castellan-3.7.1/castellan.egg-info/SOURCES.txt 2021-03-03
14:37:11.000000000 +0100
@@ -1,5 +1,6 @@
.coveragerc
.mailmap
+.pre-commit-config.yaml
.stestr.conf
.zuul.yaml
AUTHORS
@@ -122,6 +123,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
tools/setup-vault-env.sh
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/castellan-3.6.0/castellan.egg-info/pbr.json
new/castellan-3.7.1/castellan.egg-info/pbr.json
--- old/castellan-3.6.0/castellan.egg-info/pbr.json 2020-09-11
21:27:14.000000000 +0200
+++ new/castellan-3.7.1/castellan.egg-info/pbr.json 2021-03-03
14:37:11.000000000 +0100
@@ -1 +1 @@
-{"git_version": "a10ed81", "is_release": true}
\ No newline at end of file
+{"git_version": "35f1a20", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/castellan-3.6.0/doc/source/conf.py
new/castellan-3.7.1/doc/source/conf.py
--- old/castellan-3.6.0/doc/source/conf.py 2020-09-11 21:26:04.000000000
+0200
+++ new/castellan-3.7.1/doc/source/conf.py 2021-03-03 14:36:24.000000000
+0100
@@ -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',
'sphinxcontrib.rsvgconverter',
]
@@ -81,9 +82,6 @@
latex_use_xindy = False
-# Example configuration for intersphinx: refer to the Python standard library.
-#intersphinx_mapping = {'https://docs.python.org/3/': None}
-
# -- Options for openstackdocstheme -------------------------------------------
openstackdocs_repo_name = 'openstack/castellan'
openstackdocs_pdf_link = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/castellan-3.6.0/lower-constraints.txt
new/castellan-3.7.1/lower-constraints.txt
--- old/castellan-3.6.0/lower-constraints.txt 2020-09-11 21:26:04.000000000
+0200
+++ new/castellan-3.7.1/lower-constraints.txt 2021-03-03 14:36:24.000000000
+0100
@@ -47,7 +47,6 @@
requests==2.18.0
requestsexceptions==1.2.0
rfc3986==0.3.1
-six==1.15.0
smmap==0.9.0
stestr==2.0.0
stevedore==1.20.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/castellan-3.6.0/releasenotes/source/index.rst
new/castellan-3.7.1/releasenotes/source/index.rst
--- old/castellan-3.6.0/releasenotes/source/index.rst 2020-09-11
21:26:04.000000000 +0200
+++ new/castellan-3.7.1/releasenotes/source/index.rst 2021-03-03
14:36:24.000000000 +0100
@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
+ victoria
ussuri
train
stein
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/castellan-3.6.0/releasenotes/source/victoria.rst
new/castellan-3.7.1/releasenotes/source/victoria.rst
--- old/castellan-3.6.0/releasenotes/source/victoria.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/castellan-3.7.1/releasenotes/source/victoria.rst 2021-03-03
14:36:24.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/castellan-3.6.0/test-requirements.txt
new/castellan-3.7.1/test-requirements.txt
--- old/castellan-3.6.0/test-requirements.txt 2020-09-11 21:26:04.000000000
+0200
+++ new/castellan-3.7.1/test-requirements.txt 2021-03-03 14:36:24.000000000
+0100
@@ -17,3 +17,5 @@
testtools>=2.2.0 # MIT
bandit>=1.6.0,<1.7.0 # Apache-2.0
pifpaf>=0.10.0 # Apache-2.0
+
+pre-commit>=2.6.0 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/castellan-3.6.0/tox.ini new/castellan-3.7.1/tox.ini
--- old/castellan-3.6.0/tox.ini 2020-09-11 21:26:04.000000000 +0200
+++ new/castellan-3.7.1/tox.ini 2021-03-03 14:36:24.000000000 +0100
@@ -1,6 +1,6 @@
[tox]
minversion = 3.1.1
-envlist = py38,pep8
+envlist = py3,pep8
ignore_basepython_conflict = True
skipsdist = True
@@ -18,7 +18,7 @@
[testenv:pep8]
commands =
- flake8
+ pre-commit run -a
bandit -r castellan -x tests -s B105,B106,B107,B607
[testenv:bandit]