Hello community, here is the log from the commit of package python-gear for openSUSE:Factory checked in at 2019-07-26 17:34:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gear (Old) and /work/SRC/openSUSE:Factory/.python-gear.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gear" Fri Jul 26 17:34:51 2019 rev:5 rq:718886 version:0.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gear/python-gear.changes 2019-03-14 22:42:57.698628183 +0100 +++ /work/SRC/openSUSE:Factory/.python-gear.new.4126/python-gear.changes 2019-07-26 17:34:54.220074263 +0200 @@ -1,0 +2,7 @@ +Fri Jul 26 13:14:22 UTC 2019 - [email protected] + +- version update to 0.14.0 + * Add support for server name indication + * OpenDev Migration Patch + +------------------------------------------------------------------- Old: ---- gear-0.13.0.tar.gz New: ---- gear-0.14.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gear.spec ++++++ --- /var/tmp/diff_new_pack.sYPcO2/_old 2019-07-26 17:34:54.688074101 +0200 +++ /var/tmp/diff_new_pack.sYPcO2/_new 2019-07-26 17:34:54.688074101 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-gear -Version: 0.13.0 +Version: 0.14.0 Release: 0 Summary: Pure Python Async Gear Protocol Library License: Apache-2.0 ++++++ gear-0.13.0.tar.gz -> gear-0.14.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gear-0.13.0/AUTHORS new/gear-0.14.0/AUTHORS --- old/gear-0.13.0/AUTHORS 2019-01-28 17:30:21.000000000 +0100 +++ new/gear-0.14.0/AUTHORS 2019-07-09 22:34:50.000000000 +0200 @@ -1,5 +1,6 @@ Andreas Jaeger <[email protected]> Antoine Musso <[email protected]> +Benoit Bayszczak <[email protected]> Christian Berendt <[email protected]> Clark Boylan <[email protected]> Clint Byrum <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gear-0.13.0/ChangeLog new/gear-0.14.0/ChangeLog --- old/gear-0.13.0/ChangeLog 2019-01-28 17:30:21.000000000 +0100 +++ new/gear-0.14.0/ChangeLog 2019-07-09 22:34:50.000000000 +0200 @@ -1,12 +1,19 @@ CHANGES ======= +0.14.0 +------ + +* Add support for server name indication +* OpenDev Migration Patch + 0.13.0 ------ * Change openstack-dev to openstack-discuss * Prefer ipv6 for listen addrs if available * Add support for keepalive to client +* add missing str to bytes conversion for Python3 0.12.0 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gear-0.13.0/PKG-INFO new/gear-0.14.0/PKG-INFO --- old/gear-0.13.0/PKG-INFO 2019-01-28 17:30:21.000000000 +0100 +++ new/gear-0.14.0/PKG-INFO 2019-07-09 22:34:50.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: gear -Version: 0.13.0 +Version: 0.14.0 Summary: Pure Python Async Gear Protocol Library Home-page: http://pypi.python.org/pypi/gear Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gear-0.13.0/gear/__init__.py new/gear-0.14.0/gear/__init__.py --- old/gear-0.13.0/gear/__init__.py 2019-01-28 17:29:44.000000000 +0100 +++ new/gear-0.14.0/gear/__init__.py 2019-07-09 22:34:01.000000000 +0200 @@ -205,11 +205,12 @@ if self.use_ssl: self.log.debug("Using SSL") - s = ssl.wrap_socket(s, ssl_version=ssl.PROTOCOL_TLSv1, - cert_reqs=ssl.CERT_REQUIRED, - keyfile=self.ssl_key, - certfile=self.ssl_cert, - ca_certs=self.ssl_ca) + context = ssl.SSLContext(ssl.PROTOCOL_TLSv1) + context.verify_mode = ssl.CERT_REQUIRED + context.check_hostname = False + context.load_cert_chain(self.ssl_cert, self.ssl_key) + context.load_verify_locations(self.ssl_ca) + s = context.wrap_socket(s, server_hostname=self.host) try: s.connect(sa) @@ -2851,12 +2852,11 @@ self.log.debug("Accepting new connection") c, addr = self.socket.accept() if self.use_ssl: - c = ssl.wrap_socket(c, server_side=True, - keyfile=self.ssl_key, - certfile=self.ssl_cert, - ca_certs=self.ssl_ca, - cert_reqs=ssl.CERT_REQUIRED, - ssl_version=ssl.PROTOCOL_TLSv1) + context = ssl.SSLContext(ssl.PROTOCOL_TLSv1) + context.verify_mode = ssl.CERT_REQUIRED + context.load_cert_chain(self.ssl_cert, self.ssl_key) + context.load_verify_locations(self.ssl_ca) + c = context.wrap_socket(c, server_side=True) conn = ServerConnection(addr, c, self.use_ssl, self.client_id) self.log.info("Accepted connection %s" % (conn,)) @@ -3273,7 +3273,7 @@ for connection in self.active_connections: fd = connection.conn.fileno() ip = connection.host - client_id = connection.client_id or '-' + client_id = connection.client_id or b'-' functions = b' '.join(connection.functions).decode('utf8') request.connection.sendRaw(("%s %s %s : %s\n" % (fd, ip, client_id.decode('utf8'), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gear-0.13.0/gear.egg-info/PKG-INFO new/gear-0.14.0/gear.egg-info/PKG-INFO --- old/gear-0.13.0/gear.egg-info/PKG-INFO 2019-01-28 17:30:21.000000000 +0100 +++ new/gear-0.14.0/gear.egg-info/PKG-INFO 2019-07-09 22:34:50.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: gear -Version: 0.13.0 +Version: 0.14.0 Summary: Pure Python Async Gear Protocol Library Home-page: http://pypi.python.org/pypi/gear Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gear-0.13.0/gear.egg-info/pbr.json new/gear-0.14.0/gear.egg-info/pbr.json --- old/gear-0.13.0/gear.egg-info/pbr.json 2019-01-28 17:30:21.000000000 +0100 +++ new/gear-0.14.0/gear.egg-info/pbr.json 2019-07-09 22:34:50.000000000 +0200 @@ -1 +1 @@ -{"git_version": "6a74177", "is_release": true} \ No newline at end of file +{"git_version": "483ab49", "is_release": true} \ No newline at end of file
