Hello community,
here is the log from the commit of package python-barbicanclient for
openSUSE:Factory checked in at 2019-12-04 13:48:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-barbicanclient (Old)
and /work/SRC/openSUSE:Factory/.python-barbicanclient.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-barbicanclient"
Wed Dec 4 13:48:14 2019 rev:12 rq:736647 version:4.9.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-barbicanclient/python-barbicanclient.changes
2019-05-03 22:39:58.822932747 +0200
+++
/work/SRC/openSUSE:Factory/.python-barbicanclient.new.4691/python-barbicanclient.changes
2019-12-04 14:18:46.846361695 +0100
@@ -1,0 +2,9 @@
+Wed Oct 9 12:56:39 UTC 2019 - [email protected]
+
+- update to version 4.9.0
+ - Replace openstack.org git:// URLs with https://
+ - Update json module to jsonutils
+ - OpenDev Migration Patch
+ - add python 3.7 unit test job
+
+-------------------------------------------------------------------
Old:
----
python-barbicanclient-4.8.1.tar.gz
New:
----
python-barbicanclient-4.9.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-barbicanclient.spec ++++++
--- /var/tmp/diff_new_pack.Nvp478/_old 2019-12-04 14:18:47.262361748 +0100
+++ /var/tmp/diff_new_pack.Nvp478/_new 2019-12-04 14:18:47.266361749 +0100
@@ -17,15 +17,14 @@
Name: python-barbicanclient
-Version: 4.8.1
+Version: 4.9.0
Release: 0
Summary: Client for the Barbican Key Management API
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/python-barbicanclient
-Source0:
https://files.pythonhosted.org/packages/source/p/python-barbicanclient/python-barbicanclient-4.8.1.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/p/python-barbicanclient/python-barbicanclient-4.9.0.tar.gz
BuildRequires: openstack-macros
-BuildRequires: python-devel
BuildRequires: python2-cliff >= 2.8.0
BuildRequires: python2-keystoneauth1 >= 3.4.0
BuildRequires: python2-mock
@@ -39,7 +38,6 @@
BuildRequires: python2-testscenarios
BuildRequires: python2-testtools
BuildRequires: python3-cliff >= 2.8.0
-BuildRequires: python3-devel
BuildRequires: python3-keystoneauth1 >= 3.4.0
BuildRequires: python3-mock
BuildRequires: python3-oslo.i18n >= 3.15.3
@@ -71,7 +69,6 @@
%python_subpackages
%description
-OpenStack Key Management API client - Python 2.x
This is a client for the Barbican Key Management API. This package includes a
Python library for accessing the API (the barbicanclient module), and a
command-line script (barbican).
@@ -81,8 +78,8 @@
%package -n python-barbicanclient-doc
Summary: Documentation for OpenStack Key Management API Client
Group: Documentation/HTML
-BuildRequires: python-Sphinx
-BuildRequires: python-openstackdocstheme
+BuildRequires: python3-Sphinx
+BuildRequires: python3-openstackdocstheme
%description -n python-barbicanclient-doc
Documentation for the client library for interacting with
@@ -92,12 +89,13 @@
%autosetup -p1 -n %{name}-%{version}
%py_req_cleanup
-# Remove the sphinx-build leftovers
-rm -rf html/.{doctrees,buildinfo}
-
%build
%{python_build}
-%{__python2} setup.py build_sphinx
+
+# generate html docs
+PBR_VERSION=%{version} %sphinx_build -b html doc/source doc/build/html
+# Remove the sphinx-build leftovers
+rm -rf doc/build/html/.{doctrees,buildinfo}
%install
%{python_install}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Nvp478/_old 2019-12-04 14:18:47.286361751 +0100
+++ /var/tmp/diff_new_pack.Nvp478/_new 2019-12-04 14:18:47.286361751 +0100
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/python-barbicanclient/python-barbicanclient.spec.j2</param>
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/python-barbicanclient/python-barbicanclient.spec.j2</param>
<param name="output-name">python-barbicanclient.spec</param>
- <param
name="requirements">https://raw.githubusercontent.com/openstack/python-barbicanclient/stable/stein/requirements.txt</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/python-barbicanclient/stable/train/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,python-barbicanclient</param>
</service>
++++++ python-barbicanclient-4.8.1.tar.gz -> python-barbicanclient-4.9.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-barbicanclient-4.8.1/.zuul.yaml
new/python-barbicanclient-4.9.0/.zuul.yaml
--- old/python-barbicanclient-4.8.1/.zuul.yaml 2019-01-21 21:18:56.000000000
+0100
+++ new/python-barbicanclient-4.9.0/.zuul.yaml 2019-09-13 17:05:35.000000000
+0200
@@ -5,7 +5,7 @@
post-run: playbooks/python-barbicanclient-dsvm/post.yaml
timeout: 4200
required-projects:
- - openstack-infra/devstack-gate
+ - openstack/devstack-gate
- openstack/barbican
- openstack/barbican-tempest-plugin
- openstack/python-barbicanclient
@@ -17,6 +17,7 @@
- openstack-python-jobs
- openstack-python35-jobs
- openstack-python36-jobs
+ - openstack-python37-jobs
- openstackclient-plugin-jobs
- publish-openstack-docs-pti
check:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-barbicanclient-4.8.1/AUTHORS
new/python-barbicanclient-4.9.0/AUTHORS
--- old/python-barbicanclient-4.8.1/AUTHORS 2019-01-21 21:20:54.000000000
+0100
+++ new/python-barbicanclient-4.9.0/AUTHORS 2019-09-13 17:06:34.000000000
+0200
@@ -16,6 +16,7 @@
Christopher Solis <[email protected]>
Clenimar Filemon <[email protected]>
Colleen Murphy <[email protected]>
+Corey Bryant <[email protected]>
Craig Tracey <[email protected]>
Cyril Roelandt <[email protected]>
Dave McCowan <[email protected]>
@@ -29,6 +30,7 @@
Gage Hugo <[email protected]>
Gregory Haynes <[email protected]>
Gábor Antal <[email protected]>
+Ian Wienand <[email protected]>
Jamie Lennox <[email protected]>
Jamie Lennox <[email protected]>
Jarret Raim <[email protected]>
@@ -80,6 +82,7 @@
Yushiro FURUKAWA <[email protected]>
ZhiQiang Fan <[email protected]>
ZhijunWei <[email protected]>
+cao.yuan <[email protected]>
chadlung <[email protected]>
chenlx <[email protected]>
chenxing <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-barbicanclient-4.8.1/ChangeLog
new/python-barbicanclient-4.9.0/ChangeLog
--- old/python-barbicanclient-4.8.1/ChangeLog 2019-01-21 21:20:54.000000000
+0100
+++ new/python-barbicanclient-4.9.0/ChangeLog 2019-09-13 17:06:34.000000000
+0200
@@ -1,6 +1,14 @@
CHANGES
=======
+4.9.0
+-----
+
+* OpenDev Migration Patch
+* Replace openstack.org git:// URLs with https://
+* Update json module to jsonutils
+* add python 3.7 unit test job
+
4.8.1
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-barbicanclient-4.8.1/PKG-INFO
new/python-barbicanclient-4.9.0/PKG-INFO
--- old/python-barbicanclient-4.8.1/PKG-INFO 2019-01-21 21:20:55.000000000
+0100
+++ new/python-barbicanclient-4.9.0/PKG-INFO 2019-09-13 17:06:34.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: python-barbicanclient
-Version: 4.8.1
+Version: 4.9.0
Summary: Client Library for OpenStack Barbican Key Management API
Home-page: https://docs.openstack.org/python-barbicanclient/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-barbicanclient-4.8.1/barbicanclient/tests/v1/test_containers.py
new/python-barbicanclient-4.9.0/barbicanclient/tests/v1/test_containers.py
--- old/python-barbicanclient-4.8.1/barbicanclient/tests/v1/test_containers.py
2019-01-21 21:18:56.000000000 +0100
+++ new/python-barbicanclient-4.9.0/barbicanclient/tests/v1/test_containers.py
2019-09-13 17:05:35.000000000 +0200
@@ -13,9 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import json
-
import mock
+from oslo_serialization import jsonutils
from oslo_utils import timeutils
import six
@@ -150,7 +149,7 @@
self.responses.last_request.url)
# Verify that correct information was sent in the call.
- container_req = json.loads(self.responses.last_request.text)
+ container_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(self.container.name, container_req['name'])
self.assertEqual(self.container.type, container_req['type'])
self.assertEqual(self.container.generic_secret_refs_json,
@@ -172,7 +171,7 @@
self.responses.last_request.url)
# Verify that correct information was sent in the call.
- container_req = json.loads(self.responses.last_request.text)
+ container_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(self.container.name, container_req['name'])
self.assertEqual(self.container.type, container_req['type'])
self.assertEqual(self.container.generic_secret_refs_json,
@@ -197,7 +196,7 @@
self.responses.last_request.url)
# Verify that correct information was sent in the call.
- container_req = json.loads(self.responses.last_request.text)
+ container_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(self.container.name, container_req['name'])
self.assertEqual('certificate', container_req['type'])
self.assertItemsEqual(self.container.certificate_secret_refs_json,
@@ -222,7 +221,7 @@
self.responses.last_request.url)
# Verify that correct information was sent in the call.
- container_req = json.loads(self.responses.last_request.text)
+ container_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(self.container.name, container_req['name'])
self.assertEqual('certificate', container_req['type'])
self.assertItemsEqual(self.container.certificate_secret_refs_json,
@@ -246,7 +245,7 @@
self.responses.last_request.url)
# Verify that correct information was sent in the call.
- container_req = json.loads(self.responses.last_request.text)
+ container_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(self.container.name, container_req['name'])
self.assertEqual('rsa', container_req['type'])
self.assertItemsEqual(self.container.rsa_secret_refs_json,
@@ -271,7 +270,7 @@
self.responses.last_request.url)
# Verify that correct information was sent in the call.
- container_req = json.loads(self.responses.last_request.text)
+ container_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(self.container.name, container_req['name'])
self.assertEqual('rsa', container_req['type'])
self.assertItemsEqual(self.container.rsa_secret_refs_json,
@@ -546,7 +545,7 @@
self.assertIsInstance(container, containers.Container)
self.assertEqual(self.entity_href, container.container_ref)
- body = json.loads(self.responses.last_request.text)
+ body = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(self.consumers_post_resource,
self.responses.last_request.url)
self.assertEqual(self.container.consumer, body)
@@ -560,7 +559,7 @@
self.container.consumer.get('URL')
)
- body = json.loads(self.responses.last_request.text)
+ body = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(self.consumers_delete_resource,
self.responses.last_request.url)
self.assertEqual(self.container.consumer, body)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-barbicanclient-4.8.1/barbicanclient/tests/v1/test_orders.py
new/python-barbicanclient-4.9.0/barbicanclient/tests/v1/test_orders.py
--- old/python-barbicanclient-4.8.1/barbicanclient/tests/v1/test_orders.py
2019-01-21 21:18:56.000000000 +0100
+++ new/python-barbicanclient-4.9.0/barbicanclient/tests/v1/test_orders.py
2019-09-13 17:05:35.000000000 +0200
@@ -12,8 +12,8 @@
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-import json
+from oslo_serialization import jsonutils
from oslo_utils import timeutils
import uuid
@@ -88,7 +88,7 @@
self.manager = self.client.orders
def _get_order_args(self, order_data):
- order_args = json.loads(order_data)
+ order_args = jsonutils.loads(order_data)
order_args.update(order_args.pop('meta'))
order_args.pop('type')
return order_args
@@ -152,7 +152,7 @@
self.responses.last_request.url)
# Verify that correct information was sent in the call.
- order_req = json.loads(self.responses.last_request.text)
+ order_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual('name', order_req['meta']['name'])
self.assertEqual('algorithm',
order_req['meta']['algorithm'])
@@ -176,7 +176,7 @@
self.responses.last_request.url)
# Verify that correct information was sent in the call.
- order_req = json.loads(self.responses.last_request.text)
+ order_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual('name', order_req['meta']['name'])
self.assertEqual('algorithm',
order_req['meta']['algorithm'])
@@ -321,7 +321,8 @@
self.entity_href)
def test_should_get_list(self):
- data = {"orders": [json.loads(self.key_order_data) for _ in range(3)]}
+ data = {"orders": [jsonutils.loads(self.key_order_data)
+ for _ in range(3)]}
self.responses.get(self.entity_base, json=data)
orders_list = self.manager.list(limit=10, offset=5)
@@ -418,7 +419,7 @@
self.responses.last_request.url)
# Verify that correct information was sent in the call.
- order_req = json.loads(self.responses.last_request.text)
+ order_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual('name', order_req['meta']['name'])
self.assertEqual('cn=server.example.com,o=example.com',
order_req['meta']['subject_dn'])
@@ -428,7 +429,8 @@
order_req['meta']['container_ref'])
def test_list(self):
- data = {"orders": [json.loads(self.cert_order_data) for _ in range(3)]}
+ data = {"orders": [jsonutils.loads(self.cert_order_data)
+ for _ in range(3)]}
self.responses.get(self.entity_base, json=data)
orders_list = self.manager.list(limit=10, offset=5)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-barbicanclient-4.8.1/barbicanclient/tests/v1/test_secrets.py
new/python-barbicanclient-4.9.0/barbicanclient/tests/v1/test_secrets.py
--- old/python-barbicanclient-4.8.1/barbicanclient/tests/v1/test_secrets.py
2019-01-21 21:18:56.000000000 +0100
+++ new/python-barbicanclient-4.9.0/barbicanclient/tests/v1/test_secrets.py
2019-09-13 17:05:35.000000000 +0200
@@ -12,9 +12,10 @@
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+
import base64
-import json
+from oslo_serialization import jsonutils
from oslo_utils import timeutils
from barbicanclient import base
@@ -72,7 +73,7 @@
self.assertEqual(self.entity_href, secret_href)
# Verify that correct information was sent in the call.
- secret_req = json.loads(self.responses.last_request.text)
+ secret_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(self.secret.name, secret_req['name'])
self.assertEqual(self.secret.payload, secret_req['payload'])
@@ -87,7 +88,7 @@
self.assertEqual(self.entity_href, secret_href)
# Verify that correct information was sent in the call.
- secret_req = json.loads(self.responses.last_request.text)
+ secret_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(self.secret.name, secret_req['name'])
self.assertEqual(self.secret.payload, secret_req['payload'])
@@ -109,7 +110,7 @@
secret.payload = binary_payload
secret.store()
- secret_req = json.loads(self.responses.last_request.text)
+ secret_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(self.secret.name, secret_req['name'])
self.assertEqual(u'application/octet-stream',
secret_req['payload_content_type'])
@@ -130,7 +131,7 @@
secret.payload = text_payload
secret.store()
- secret_req = json.loads(self.responses.last_request.text)
+ secret_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(text_payload, secret_req['payload'])
self.assertEqual(u'text/plain', secret_req['payload_content_type'])
@@ -151,7 +152,7 @@
secret.payload_content_type = payload_content_type
secret.store()
- secret_req = json.loads(self.responses.last_request.text)
+ secret_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(payload, secret_req['payload'])
self.assertEqual(payload_content_type,
secret_req['payload_content_type'])
@@ -177,7 +178,7 @@
secret.payload_content_encoding = payload_content_encoding
secret.store()
- secret_req = json.loads(self.responses.last_request.text)
+ secret_req = jsonutils.loads(self.responses.last_request.text)
self.assertEqual(encoded_payload, secret_req['payload'])
self.assertEqual(payload_content_type,
secret_req['payload_content_type'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-barbicanclient-4.8.1/playbooks/python-barbicanclient-dsvm/run.yaml
new/python-barbicanclient-4.9.0/playbooks/python-barbicanclient-dsvm/run.yaml
---
old/python-barbicanclient-4.8.1/playbooks/python-barbicanclient-dsvm/run.yaml
2019-01-21 21:18:56.000000000 +0100
+++
new/python-barbicanclient-4.9.0/playbooks/python-barbicanclient-dsvm/run.yaml
2019-09-13 17:05:35.000000000 +0200
@@ -13,12 +13,12 @@
set -x
cat > clonemap.yaml << EOF
clonemap:
- - name: openstack-infra/devstack-gate
+ - name: openstack/devstack-gate
dest: devstack-gate
EOF
/usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
- git://git.openstack.org \
- openstack-infra/devstack-gate
+ https://opendev.org \
+ openstack/devstack-gate
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
@@ -29,7 +29,7 @@
set -x
cat << 'EOF' >>"/tmp/dg-local.conf"
[[local|localrc]]
- enable_plugin barbican git://git.openstack.org/openstack/barbican
+ enable_plugin barbican https://opendev.org/openstack/barbican
EOF
executable: /bin/bash
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-barbicanclient-4.8.1/python_barbicanclient.egg-info/PKG-INFO
new/python-barbicanclient-4.9.0/python_barbicanclient.egg-info/PKG-INFO
--- old/python-barbicanclient-4.8.1/python_barbicanclient.egg-info/PKG-INFO
2019-01-21 21:20:54.000000000 +0100
+++ new/python-barbicanclient-4.9.0/python_barbicanclient.egg-info/PKG-INFO
2019-09-13 17:06:34.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: python-barbicanclient
-Version: 4.8.1
+Version: 4.9.0
Summary: Client Library for OpenStack Barbican Key Management API
Home-page: https://docs.openstack.org/python-barbicanclient/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-barbicanclient-4.8.1/python_barbicanclient.egg-info/pbr.json
new/python-barbicanclient-4.9.0/python_barbicanclient.egg-info/pbr.json
--- old/python-barbicanclient-4.8.1/python_barbicanclient.egg-info/pbr.json
2019-01-21 21:20:54.000000000 +0100
+++ new/python-barbicanclient-4.9.0/python_barbicanclient.egg-info/pbr.json
2019-09-13 17:06:34.000000000 +0200
@@ -1 +1 @@
-{"git_version": "1b28235", "is_release": true}
\ No newline at end of file
+{"git_version": "9c0e02d", "is_release": true}
\ No newline at end of file