Hello community,

here is the log from the commit of package python-barbicanclient for 
openSUSE:Factory checked in at 2020-06-05 20:09:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-barbicanclient (Old)
 and      /work/SRC/openSUSE:Factory/.python-barbicanclient.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-barbicanclient"

Fri Jun  5 20:09:20 2020 rev:14 rq:803552 version:4.10.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-barbicanclient/python-barbicanclient.changes  
    2020-03-24 22:32:58.157107690 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-barbicanclient.new.3606/python-barbicanclient.changes
    2020-06-05 20:10:44.253839943 +0200
@@ -1,0 +2,10 @@
+Tue May 12 10:02:24 UTC 2020 - [email protected]
+
+- update to version 4.10.0
+  - Bump the openstackdocstheme extension to 1.20
+  - Support two-way auth for barbicanclient
+  - PDF Documentation Build tox target
+  - Fix lower-constraints tox target
+  - docs: Turn on warning-as-error
+
+-------------------------------------------------------------------

Old:
----
  python-barbicanclient-4.9.0.tar.gz

New:
----
  python-barbicanclient-4.10.0.tar.gz

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

Other differences:
------------------
++++++ python-barbicanclient.spec ++++++
--- /var/tmp/diff_new_pack.vczg20/_old  2020-06-05 20:10:46.461847067 +0200
+++ /var/tmp/diff_new_pack.vczg20/_new  2020-06-05 20:10:46.461847067 +0200
@@ -17,13 +17,13 @@
 
 
 Name:           python-barbicanclient
-Version:        4.9.0
+Version:        4.10.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.9.0.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/p/python-barbicanclient/python-barbicanclient-4.10.0.tar.gz
 BuildRequires:  openstack-macros
 BuildRequires:  python3-cliff >= 2.8.0
 BuildRequires:  python3-keystoneauth1 >= 3.4.0
@@ -79,6 +79,7 @@
 Group:          Documentation/HTML
 BuildRequires:  python3-Sphinx
 BuildRequires:  python3-openstackdocstheme
+BuildRequires:  python3-sphinxcontrib-svg2pdfconverter
 
 %description -n python-barbicanclient-doc
 Documentation for the client library for interacting with

++++++ _service ++++++
--- /var/tmp/diff_new_pack.vczg20/_old  2020-06-05 20:10:46.489847157 +0200
+++ /var/tmp/diff_new_pack.vczg20/_new  2020-06-05 20:10:46.489847157 +0200
@@ -1,8 +1,8 @@
 <services>
   <service mode="disabled" name="renderspec">
-    <param 
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/python-barbicanclient/python-barbicanclient.spec.j2</param>
+    <param 
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/ussuri/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/train/requirements.txt</param>
+    <param 
name="requirements">https://opendev.org/openstack/python-barbicanclient/raw/branch/stable/ussuri/requirements.txt</param>
     <param name="changelog-email">[email protected]</param>
     <param name="changelog-provider">gh,openstack,python-barbicanclient</param>
   </service>

++++++ python-barbicanclient-4.9.0.tar.gz -> 
python-barbicanclient-4.10.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-barbicanclient-4.9.0/AUTHORS 
new/python-barbicanclient-4.10.0/AUTHORS
--- old/python-barbicanclient-4.9.0/AUTHORS     2019-09-13 17:06:34.000000000 
+0200
+++ new/python-barbicanclient-4.10.0/AUTHORS    2020-02-11 14:48:54.000000000 
+0100
@@ -2,6 +2,7 @@
 Adam Harwell <[email protected]>
 Ade Lee <[email protected]>
 Alex Gaynor <[email protected]>
+Alexandra Settle <[email protected]>
 Anderson Mesquita <[email protected]>
 Andreas Jaeger <[email protected]>
 Anh Tran <[email protected]>
@@ -24,6 +25,7 @@
 Dirk Mueller <[email protected]>
 Donald Stufft <[email protected]>
 Doug Hellmann <[email protected]>
+Douglas Mendizábal <[email protected]>
 Douglas Mendizábal <[email protected]>
 Elvin Tubillara <[email protected]>
 Fernando Diaz <[email protected]>
@@ -65,6 +67,7 @@
 Rui Chen <[email protected]>
 ShangXiao <[email protected]>
 Shuquan Huang <[email protected]>
+Stephen Finucane <[email protected]>
 Steve Heyman <[email protected]>
 Steven Gonzales <[email protected]>
 Swapnil Kulkarni (coolsvap) <[email protected]>
@@ -90,9 +93,11 @@
 huang.zhiping <[email protected]>
 huangshan <[email protected]>
 ji-xuepeng <[email protected]>
+jonnary <[email protected]>
 lingyongxu <[email protected]>
 liujiong <[email protected]>
 melissaml <[email protected]>
+pengyuesheng <[email protected]>
 qingszhao <[email protected]>
 rajat29 <[email protected]>
 reedip <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-barbicanclient-4.9.0/ChangeLog 
new/python-barbicanclient-4.10.0/ChangeLog
--- old/python-barbicanclient-4.9.0/ChangeLog   2019-09-13 17:06:34.000000000 
+0200
+++ new/python-barbicanclient-4.10.0/ChangeLog  2020-02-11 14:48:54.000000000 
+0100
@@ -1,6 +1,15 @@
 CHANGES
 =======
 
+4.10.0
+------
+
+* Support two-way auth for barbicanclient
+* PDF Documentation Build tox target
+* docs: Turn on warning-as-error
+* Fix lower-constraints tox target
+* Bump the openstackdocstheme extension to 1.20
+
 4.9.0
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-barbicanclient-4.9.0/PKG-INFO 
new/python-barbicanclient-4.10.0/PKG-INFO
--- old/python-barbicanclient-4.9.0/PKG-INFO    2019-09-13 17:06:34.000000000 
+0200
+++ new/python-barbicanclient-4.10.0/PKG-INFO   2020-02-11 14:48:54.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-barbicanclient
-Version: 4.9.0
+Version: 4.10.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.9.0/barbicanclient/barbican.py 
new/python-barbicanclient-4.10.0/barbicanclient/barbican.py
--- old/python-barbicanclient-4.9.0/barbicanclient/barbican.py  2019-09-13 
17:05:35.000000000 +0200
+++ new/python-barbicanclient-4.10.0/barbicanclient/barbican.py 2020-02-11 
14:47:44.000000000 +0100
@@ -151,8 +151,17 @@
         method = identity.Token if auth_type == 'token' else identity.Password
 
         auth = method(**kwargs)
-
-        return session.Session(auth=auth, verify=not args.insecure)
+        cacert = args.os_cacert
+        cert = args.os_cert
+        key = args.os_key
+        insecure = args.insecure
+        if insecure:
+            verify = False
+        else:
+            verify = cacert or True
+        if cert and key:
+            cert = (cert, key)
+        return session.Session(auth=auth, verify=verify, cert=cert)
 
     def create_client(self, args):
         created_client = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-barbicanclient-4.9.0/barbicanclient/tests/test_barbican.py 
new/python-barbicanclient-4.10.0/barbicanclient/tests/test_barbican.py
--- old/python-barbicanclient-4.9.0/barbicanclient/tests/test_barbican.py       
2019-09-13 17:05:35.000000000 +0200
+++ new/python-barbicanclient-4.10.0/barbicanclient/tests/test_barbican.py      
2020-02-11 14:47:44.000000000 +0100
@@ -219,6 +219,46 @@
         self.assertEqual(1, self.responses._adapter.call_count)
         self.assertEqual([], secret_list)
 
+    def test_insecure_true_kwargs_set_correctly(self):
+        auth_args = ('--no-auth --endpoint https://barbican_endpoint:9311/v1 '
+                     '--os-project-id project1')
+        endpoint_filter_args = ('--interface public '
+                                '--service-type custom-type '
+                                '--service-name Burrbican '
+                                '--region-name RegionTwo '
+                                '--barbican-api-version v1')
+        args = auth_args + ' ' + endpoint_filter_args
+        argv, remainder = self.parser.parse_known_args(args.split())
+        argv.insecure = True
+        argv.os_identity_api_version = '2.0'
+        argv.os_tenant_name = 'my_tenant_name'
+        barbican_client = self.barbican.create_client(argv)
+        httpclient = barbican_client.secrets._api
+        self.assertFalse(httpclient.session.verify)
+
+    def test_cafile_certfile_keyfile_kwargs_set_correctly(self):
+        auth_args = ('no_auth '
+                     '--os-auth-url https://keystone_endpoint:5000/v2 '
+                     '--os-auth-token f554ccb5-e157-4824-b67b-d139c87bc555 '
+                     '--os-project-id project1')
+        endpoint_filter_args = ('--interface public '
+                                '--service-type custom-type '
+                                '--service-name Burrbican '
+                                '--region-name RegionTwo '
+                                '--barbican-api-version v1')
+        args = auth_args + ' ' + endpoint_filter_args
+        argv, remainder = self.parser.parse_known_args(args.split())
+        argv.os_cacert = 'ca.pem'
+        argv.os_cert = 'cert.pem'
+        argv.os_key = 'key.pem'
+        argv.os_identity_api_version = '2.0'
+        argv.os_tenant_name = 'my_tenant_name'
+        barbican_client = self.barbican.create_client(argv)
+        httpclient = barbican_client.secrets._api
+        self.assertEqual('ca.pem', httpclient.session.verify)
+        self.assertEqual('cert.pem', httpclient.session.cert[0])
+        self.assertEqual('key.pem', httpclient.session.cert[1])
+
 
 class TestBarbicanWithKeystonePasswordAuth(
         keystone_client_fixtures.KeystoneClientFixture):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-barbicanclient-4.9.0/barbicanclient/v1/acls.py 
new/python-barbicanclient-4.10.0/barbicanclient/v1/acls.py
--- old/python-barbicanclient-4.9.0/barbicanclient/v1/acls.py   2019-09-13 
17:05:35.000000000 +0200
+++ new/python-barbicanclient-4.10.0/barbicanclient/v1/acls.py  2020-02-11 
14:47:44.000000000 +0100
@@ -269,14 +269,14 @@
             self._operation_acls.append(new_acl)
 
     def _get_operation_acl(self, operation_type):
-            return next((acl for acl in self._operation_acls
-                        if acl.operation_type == operation_type), None)
+        return next((acl for acl in self._operation_acls
+                     if acl.operation_type == operation_type), None)
 
     def get(self, operation_type):
         """Get operation specific ACL instance.
 
         :param str operation_type: Type indicating which operation's ACL
-        setting is needed.
+            setting is needed.
         """
         return self._get_operation_acl(operation_type)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-barbicanclient-4.9.0/doc/requirements.txt 
new/python-barbicanclient-4.10.0/doc/requirements.txt
--- old/python-barbicanclient-4.9.0/doc/requirements.txt        2019-09-13 
17:05:35.000000000 +0200
+++ new/python-barbicanclient-4.10.0/doc/requirements.txt       2020-02-11 
14:47:44.000000000 +0100
@@ -1,5 +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.
-sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
-openstackdocstheme>=1.18.1 # Apache-2.0
+sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7'  # BSD
+sphinx>=1.8.0,!=2.1.0;python_version>='3.4'  # BSD
+sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
+openstackdocstheme>=1.20.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-barbicanclient-4.9.0/doc/source/conf.py 
new/python-barbicanclient-4.10.0/doc/source/conf.py
--- old/python-barbicanclient-4.9.0/doc/source/conf.py  2019-09-13 
17:05:35.000000000 +0200
+++ new/python-barbicanclient-4.10.0/doc/source/conf.py 2020-02-11 
14:47:44.000000000 +0100
@@ -23,6 +23,7 @@
     'sphinx.ext.autodoc',
     #'sphinx.ext.intersphinx',
     'openstackdocstheme',
+    'sphinxcontrib.rsvgconverter',
 ]
 
 # autodoc generation is a bit aggressive and a nuisance when doing heavy
@@ -37,7 +38,6 @@
 master_doc = 'index'
 
 # General information about the project.
-project = u'python-barbicanclient'
 copyright = u'2014, OpenStack Foundation'
 
 # If true, '()' will be appended to :func: etc. cross-reference text.
@@ -61,27 +61,24 @@
 html_theme = 'openstackdocs'
 
 # Output file base name for HTML help builder.
-htmlhelp_basename = '%sdoc' % project
-
-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-# using the given strftime format.
-# html_last_updated_fmt = '%b %d, %Y'
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
+htmlhelp_basename = 'python-barbicanclientdoc'
 
 # Grouping the document tree into LaTeX files. List of tuples
 # (source start file, target name, title, author, documentclass
 # [howto/manual]).
 latex_documents = [
     ('index',
-     '%s.tex' % project,
-     u'%s Documentation' % project,
+     'doc-python-barbicanclient.tex',
+     u'python-barbicanclient Documentation',
      u'OpenStack Foundation', 'manual'),
 ]
 
+latex_use_xindy = False
+
 # Example configuration for intersphinx: refer to the Python standard library.
 #intersphinx_mapping = {'http://docs.python.org/': None}
 
 # -- Options for openstackdocstheme -------------------------------------------
 repository_name = 'openstack/python-barbicanclient'
 bug_project = 'python-barbicanclient'
-bug_tag = ''
\ No newline at end of file
+bug_tag = ''
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-barbicanclient-4.9.0/doc/source/reference/index.rst 
new/python-barbicanclient-4.10.0/doc/source/reference/index.rst
--- old/python-barbicanclient-4.9.0/doc/source/reference/index.rst      
2019-09-13 17:05:35.000000000 +0200
+++ new/python-barbicanclient-4.10.0/doc/source/reference/index.rst     
2020-02-11 14:47:44.000000000 +0100
@@ -5,8 +5,7 @@
 Client
 ======
 
-.. autoclass:: barbicanclient.client.Client
-   :members:
+.. autofunction:: barbicanclient.client.Client
 
 Secrets
 =======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-barbicanclient-4.9.0/lower-constraints.txt 
new/python-barbicanclient-4.10.0/lower-constraints.txt
--- old/python-barbicanclient-4.9.0/lower-constraints.txt       2019-09-13 
17:05:35.000000000 +0200
+++ new/python-barbicanclient-4.10.0/lower-constraints.txt      2020-02-11 
14:47:44.000000000 +0100
@@ -4,7 +4,7 @@
 cffi==1.7.0
 cliff==2.8.0
 cmd2==0.8.0
-coverage==4.0
+coverage==4.1
 cryptography==2.1
 debtcollector==1.2.0
 decorator==3.4.0
@@ -64,6 +64,7 @@
 rfc3986==0.3.1
 simplejson==3.5.1
 six==1.10.0
+sphinxcontrib-svg2pdfconverter==0.1.0
 stevedore==1.20.0
 stestr==2.0.0
 testtools==2.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-barbicanclient-4.9.0/python_barbicanclient.egg-info/PKG-INFO 
new/python-barbicanclient-4.10.0/python_barbicanclient.egg-info/PKG-INFO
--- old/python-barbicanclient-4.9.0/python_barbicanclient.egg-info/PKG-INFO     
2019-09-13 17:06:34.000000000 +0200
+++ new/python-barbicanclient-4.10.0/python_barbicanclient.egg-info/PKG-INFO    
2020-02-11 14:48:54.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-barbicanclient
-Version: 4.9.0
+Version: 4.10.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.9.0/python_barbicanclient.egg-info/pbr.json 
new/python-barbicanclient-4.10.0/python_barbicanclient.egg-info/pbr.json
--- old/python-barbicanclient-4.9.0/python_barbicanclient.egg-info/pbr.json     
2019-09-13 17:06:34.000000000 +0200
+++ new/python-barbicanclient-4.10.0/python_barbicanclient.egg-info/pbr.json    
2020-02-11 14:48:54.000000000 +0100
@@ -1 +1 @@
-{"git_version": "9c0e02d", "is_release": true}
\ No newline at end of file
+{"git_version": "e5fdd10", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-barbicanclient-4.9.0/test-requirements.txt 
new/python-barbicanclient-4.10.0/test-requirements.txt
--- old/python-barbicanclient-4.9.0/test-requirements.txt       2019-09-13 
17:05:35.000000000 +0200
+++ new/python-barbicanclient-4.10.0/test-requirements.txt      2020-02-11 
14:47:44.000000000 +0100
@@ -1,7 +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.
-coverage!=4.4,>=4.0 # Apache-2.0
+coverage!=4.4,>=4.1 # Apache-2.0
 hacking>=1.1.0,<1.2.0 # Apache-2.0
 fixtures>=3.0.0 # Apache-2.0/BSD
 requests-mock>=1.2.0 # Apache-2.0
@@ -12,3 +12,4 @@
 nose>=1.3.7 # LGPL
 oslo.config>=5.2.0 # Apache-2.0
 python-openstackclient>=3.12.0 # Apache-2.0
+sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-barbicanclient-4.9.0/tox.ini 
new/python-barbicanclient-4.10.0/tox.ini
--- old/python-barbicanclient-4.9.0/tox.ini     2019-09-13 17:05:35.000000000 
+0200
+++ new/python-barbicanclient-4.10.0/tox.ini    2020-02-11 14:47:44.000000000 
+0100
@@ -37,12 +37,26 @@
 commands = {posargs}
 
 [testenv:docs]
+# This environment is called from CI scripts to test and publish
+# the main docs to https://docs.openstack.org/python-barbicanclient
+description = Build main documentation
 basepython = python3
-deps =
-       
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-       -r{toxinidir}/requirements.txt
-       -r{toxinidir}/doc/requirements.txt
-commands = sphinx-build -b html doc/source doc/build/html
+deps = -r{toxinidir}/doc/requirements.txt
+commands=
+    rm -rf doc/build/html doc/build/doctrees
+    sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
+whitelist_externals = rm
+
+[testenv:pdf-docs]
+basepython = python3
+deps = {[testenv:docs]deps}
+whitelist_externals =
+  make
+  rm
+commands =
+  rm -rf doc/build/pdf
+  sphinx-build -W -b latex doc/source doc/build/pdf
+  make -C doc/build/pdf
 
 [testenv:functional]
 # This tox env is purely to make local test development easier


Reply via email to