Hello community,

here is the log from the commit of package python-nbxmpp for openSUSE:Factory 
checked in at 2018-05-15 10:03:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbxmpp (Old)
 and      /work/SRC/openSUSE:Factory/.python-nbxmpp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nbxmpp"

Tue May 15 10:03:51 2018 rev:18 rq:606628 version:0.6.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbxmpp/python-nbxmpp.changes      
2018-03-20 22:01:02.492209841 +0100
+++ /work/SRC/openSUSE:Factory/.python-nbxmpp.new/python-nbxmpp.changes 
2018-05-15 10:30:55.469647941 +0200
@@ -1,0 +2,8 @@
+Fri May 11 20:54:02 UTC 2018 - t...@opensuse.org
+
+- Update to version 0.6.5 (30 April 2018)
+ * Fix BOSH usage (don't set ALPN)
+ * Better handling of certificate files
+ * needed for newest gajim version 1.0.2, as it broke with 0.6.4
+
+-------------------------------------------------------------------

Old:
----
  nbxmpp-0.6.4.tar.gz

New:
----
  nbxmpp-0.6.5.tar.gz

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

Other differences:
------------------
++++++ python-nbxmpp.spec ++++++
--- /var/tmp/diff_new_pack.U39hfO/_old  2018-05-15 10:30:56.085625315 +0200
+++ /var/tmp/diff_new_pack.U39hfO/_new  2018-05-15 10:30:56.085625315 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define _name   nbxmpp
 Name:           python-nbxmpp
-Version:        0.6.4
+Version:        0.6.5
 Release:        0
 Summary:        XMPP library by Gajim team
 License:        GPL-3.0-or-later

++++++ nbxmpp-0.6.4.tar.gz -> nbxmpp-0.6.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbxmpp-0.6.4/ChangeLog new/nbxmpp-0.6.5/ChangeLog
--- old/nbxmpp-0.6.4/ChangeLog  2018-03-17 17:37:47.000000000 +0100
+++ new/nbxmpp-0.6.5/ChangeLog  2018-04-30 13:50:31.000000000 +0200
@@ -1,3 +1,8 @@
+python-nbxmpp 0.6.5 (30 April 2018)
+
+ * Fix BOSH usage (don't set ALPN)
+ * Better handling of certificate files
+
 python-nbxmpp 0.6.4 (17 March 2018)
 
  * Fix SOCKS5 usage
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbxmpp-0.6.4/PKG-INFO new/nbxmpp-0.6.5/PKG-INFO
--- old/nbxmpp-0.6.4/PKG-INFO   2018-03-17 17:38:21.000000000 +0100
+++ new/nbxmpp-0.6.5/PKG-INFO   2018-04-30 13:53:57.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: nbxmpp
-Version: 0.6.4
+Version: 0.6.5
 Summary: Non blocking Jabber/XMPP module
 Home-page: http://dev.gajim.org/gajim/python-nbxmpp
 Author: Yann Leboulanger
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbxmpp-0.6.4/nbxmpp/__init__.py 
new/nbxmpp-0.6.5/nbxmpp/__init__.py
--- old/nbxmpp-0.6.4/nbxmpp/__init__.py 2018-03-17 17:37:47.000000000 +0100
+++ new/nbxmpp-0.6.5/nbxmpp/__init__.py 2018-04-30 13:48:45.000000000 +0200
@@ -17,4 +17,4 @@
 from .plugin import PlugIn
 from .smacks import Smacks
 
-__version__ = "0.6.4"
+__version__ = "0.6.5"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbxmpp-0.6.4/nbxmpp/features_nb.py 
new/nbxmpp-0.6.5/nbxmpp/features_nb.py
--- old/nbxmpp-0.6.4/nbxmpp/features_nb.py      2017-01-01 23:13:23.000000000 
+0100
+++ new/nbxmpp-0.6.5/nbxmpp/features_nb.py      2018-04-08 14:16:35.000000000 
+0200
@@ -132,14 +132,14 @@
     def _on_response(resp):
         dict_ = {'lists': []}
         if not isResultNode(resp):
-            disp.Event(NS_PRIVACY, PRIVACY_LISTS_RECEIVED, (False))
+            disp.Event(NS_PRIVACY, PRIVACY_LISTS_RECEIVED, False)
             return
         for list_ in resp.getQueryPayload():
             if list_.getName()=='list':
                 dict_['lists'].append(list_.getAttr('name'))
             else:
                 dict_[list_.getName()]=list_.getAttr('name')
-        disp.Event(NS_PRIVACY, PRIVACY_LISTS_RECEIVED, (dict_))
+        disp.Event(NS_PRIVACY, PRIVACY_LISTS_RECEIVED, dict_)
     disp.SendAndCallForResponse(iq, _on_response)
 
 def getActiveAndDefaultPrivacyLists(disp):
@@ -147,14 +147,14 @@
     def _on_response(resp):
         dict_ = {'active': '', 'default': ''}
         if not isResultNode(resp):
-            disp.Event(NS_PRIVACY, PRIVACY_LISTS_ACTIVE_DEFAULT, (False))
+            disp.Event(NS_PRIVACY, PRIVACY_LISTS_ACTIVE_DEFAULT, False)
             return
         for list_ in resp.getQueryPayload():
             if list_.getName() == 'active':
                 dict_['active'] = list_.getAttr('name')
             elif list_.getName() == 'default':
                 dict_['default'] = list_.getAttr('name')
-        disp.Event(NS_PRIVACY, PRIVACY_LISTS_ACTIVE_DEFAULT, (dict_))
+        disp.Event(NS_PRIVACY, PRIVACY_LISTS_ACTIVE_DEFAULT, dict_)
     disp.SendAndCallForResponse(iq, _on_response)
 
 def getPrivacyList(disp, listname):
@@ -164,9 +164,9 @@
     """
     def _on_response(resp):
         if not isResultNode(resp):
-            disp.Event(NS_PRIVACY, PRIVACY_LIST_RECEIVED, (False))
+            disp.Event(NS_PRIVACY, PRIVACY_LIST_RECEIVED, False)
             return
-        disp.Event(NS_PRIVACY, PRIVACY_LIST_RECEIVED, (resp))
+        disp.Event(NS_PRIVACY, PRIVACY_LIST_RECEIVED, resp)
     iq = Iq('get', NS_PRIVACY, payload=[Node('list', {'name': listname})])
     disp.SendAndCallForResponse(iq, _on_response)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbxmpp-0.6.4/nbxmpp/protocol.py 
new/nbxmpp-0.6.5/nbxmpp/protocol.py
--- old/nbxmpp-0.6.4/nbxmpp/protocol.py 2018-01-14 20:31:53.000000000 +0100
+++ new/nbxmpp-0.6.5/nbxmpp/protocol.py 2018-04-30 13:46:12.000000000 +0200
@@ -88,6 +88,7 @@
 NS_HTTP_AUTH      = 'http://jabber.org/protocol/http-auth'            # 
XEP-0070
 NS_HTTP_BIND      = 'http://jabber.org/protocol/httpbind'             # 
XEP-0124
 NS_HTTPUPLOAD     = 'urn:xmpp:http:upload'                            # 
XEP-0363
+NS_HTTPUPLOAD_0   = 'urn:xmpp:http:upload:0'                                   
          # XEP-0363
 NS_IBB            = 'http://jabber.org/protocol/ibb'
 NS_IDLE           = 'urn:xmpp:idle:1'                                 # 
XEP-0319
 NS_INVISIBLE      = 'presence-invisible'                              # 
Jabberd2
@@ -186,6 +187,7 @@
 NS_HASHES_SHA3_512 = 'urn:xmpp:hash-function-text-names:sha3-512'
 NS_HASHES_BLAKE2B_256 = 'urn:xmpp:hash-function-text-names:id-blake2b256'
 NS_HASHES_BLAKE2B_512 = 'urn:xmpp:hash-function-text-names:id-blake2b512'
+NS_OPENPGP = 'urn:xmpp:openpgp:0'
 
 #xmpp_stream_error_conditions = '''
 #bad-format --  --  -- The entity has sent XML that cannot be processed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbxmpp-0.6.4/nbxmpp/tls_nb.py 
new/nbxmpp-0.6.5/nbxmpp/tls_nb.py
--- old/nbxmpp-0.6.4/nbxmpp/tls_nb.py   2018-01-27 21:32:42.000000000 +0100
+++ new/nbxmpp-0.6.5/nbxmpp/tls_nb.py   2018-04-30 13:46:12.000000000 +0200
@@ -24,6 +24,7 @@
 import sys
 import os
 import time
+import io
 
 import traceback
 
@@ -337,8 +338,11 @@
         if not os.path.isfile(cert_path):
             return
         try:
-            f = open(cert_path)
-        except IOError as e:
+            if sys.version_info[0] > 2:
+                f = open(cert_path, encoding='utf-8')
+            else:
+                f = io.open(cert_path, encoding='utf-8')
+        except (IOError, UnicodeError) as e:
             log.warning('Unable to open certificate file %s: %s' % \
                     (cert_path, str(e)))
             return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbxmpp-0.6.4/nbxmpp/transports_nb.py 
new/nbxmpp-0.6.5/nbxmpp/transports_nb.py
--- old/nbxmpp-0.6.4/nbxmpp/transports_nb.py    2018-03-17 17:37:47.000000000 
+0100
+++ new/nbxmpp-0.6.5/nbxmpp/transports_nb.py    2018-04-30 13:46:12.000000000 
+0200
@@ -704,7 +704,7 @@
         :param http_dict: dictionary with data for HTTP request and headers
         """
         NonBlockingTCP.__init__(self, raise_event, on_disconnect, idlequeue,
-            estabilish_tls, certs, tls_version, cipher_list, proxy_dict)
+            estabilish_tls, certs, tls_version, cipher_list, False, proxy_dict)
 
         self.http_protocol, self.http_host, self.http_port, self.http_path = \
             urisplit(http_dict['http_uri'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nbxmpp-0.6.4/setup.py new/nbxmpp-0.6.5/setup.py
--- old/nbxmpp-0.6.4/setup.py   2018-03-17 17:37:47.000000000 +0100
+++ new/nbxmpp-0.6.5/setup.py   2018-04-30 13:48:55.000000000 +0200
@@ -3,7 +3,7 @@
 from distutils.core import setup
 
 setup(name='nbxmpp',
-      version='0.6.4',
+      version='0.6.5',
       description='Non blocking Jabber/XMPP module',
       author='Yann Leboulanger',
       author_email='aste...@lagaule.org',


Reply via email to