Hello community, here is the log from the commit of package python-acme for openSUSE:Factory checked in at 2017-08-04 11:58:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-acme (Old) and /work/SRC/openSUSE:Factory/.python-acme.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-acme" Fri Aug 4 11:58:38 2017 rev:9 rq:508785 version:0.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-acme/python-acme.changes 2017-06-12 15:34:46.972464474 +0200 +++ /work/SRC/openSUSE:Factory/.python-acme.new/python-acme.changes 2017-08-04 11:58:40.069659433 +0200 @@ -1,0 +2,6 @@ +Fri Jul 7 08:12:55 UTC 2017 - ecsos@opensuse.org + +- update to 0.16.0 + - No changelog from upstream + +------------------------------------------------------------------- Old: ---- acme-0.15.0.tar.gz acme-0.15.0.tar.gz.asc New: ---- acme-0.16.0.tar.gz acme-0.16.0.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-acme.spec ++++++ --- /var/tmp/diff_new_pack.0UqOi9/_old 2017-08-04 11:58:40.849549354 +0200 +++ /var/tmp/diff_new_pack.0UqOi9/_new 2017-08-04 11:58:40.849549354 +0200 @@ -18,7 +18,7 @@ %define libname acme Name: python-%{libname} -Version: 0.15.0 +Version: 0.16.0 Release: 0 Summary: Python library for the ACME protocol License: Apache-2.0 ++++++ acme-0.15.0.tar.gz -> acme-0.16.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-0.15.0/PKG-INFO new/acme-0.16.0/PKG-INFO --- old/acme-0.15.0/PKG-INFO 2017-06-08 18:26:22.000000000 +0200 +++ new/acme-0.16.0/PKG-INFO 2017-07-05 23:39:57.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: acme -Version: 0.15.0 +Version: 0.16.0 Summary: ACME protocol implementation in Python Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-0.15.0/acme/client.py new/acme-0.16.0/acme/client.py --- old/acme-0.15.0/acme/client.py 2017-06-08 18:26:04.000000000 +0200 +++ new/acme-0.16.0/acme/client.py 2017-07-05 23:39:42.000000000 +0200 @@ -519,7 +519,12 @@ self._default_timeout = timeout def __del__(self): - self.session.close() + # Try to close the session, but don't show exceptions to the + # user if the call to close() fails. See #4840. + try: + self.session.close() + except Exception: # pylint: disable=broad-except + pass def _wrap_in_jws(self, obj, nonce): """Wrap `JSONDeSerializable` object in JWS. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-0.15.0/acme/client_test.py new/acme-0.16.0/acme/client_test.py --- old/acme-0.15.0/acme/client_test.py 2017-06-08 18:26:04.000000000 +0200 +++ new/acme-0.16.0/acme/client_test.py 2017-07-05 23:39:42.000000000 +0200 @@ -600,12 +600,19 @@ mock.ANY, mock.ANY, verify=mock.ANY, headers=mock.ANY, timeout=45) - def test_del(self): + def test_del(self, close_exception=None): sess = mock.MagicMock() + + if close_exception is not None: + sess.close.side_effect = close_exception + self.net.session = sess del self.net sess.close.assert_called_once_with() + def test_del_error(self): + self.test_del(ReferenceError) + @mock.patch('acme.client.requests') def test_requests_error_passthrough(self, mock_requests): mock_requests.exceptions = requests.exceptions diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-0.15.0/acme.egg-info/PKG-INFO new/acme-0.16.0/acme.egg-info/PKG-INFO --- old/acme-0.15.0/acme.egg-info/PKG-INFO 2017-06-08 18:26:22.000000000 +0200 +++ new/acme-0.16.0/acme.egg-info/PKG-INFO 2017-07-05 23:39:57.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: acme -Version: 0.15.0 +Version: 0.16.0 Summary: ACME protocol implementation in Python Home-page: https://github.com/letsencrypt/letsencrypt Author: Certbot Project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-0.15.0/acme.egg-info/requires.txt new/acme-0.16.0/acme.egg-info/requires.txt --- old/acme-0.15.0/acme.egg-info/requires.txt 2017-06-08 18:26:22.000000000 +0200 +++ new/acme-0.16.0/acme.egg-info/requires.txt 2017-07-05 23:39:57.000000000 +0200 @@ -3,7 +3,7 @@ PyOpenSSL>=0.13 pyrfc3339 pytz -requests[security]>=2.10 +requests[security]>=2.4.1 setuptools>=1.0 six diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/acme-0.15.0/setup.py new/acme-0.16.0/setup.py --- old/acme-0.15.0/setup.py 2017-06-08 18:26:04.000000000 +0200 +++ new/acme-0.16.0/setup.py 2017-07-05 23:39:43.000000000 +0200 @@ -4,7 +4,7 @@ from setuptools import find_packages -version = '0.15.0' +version = '0.16.0' # Please update tox.ini when modifying dependency version requirements install_requires = [ @@ -16,11 +16,7 @@ 'PyOpenSSL>=0.13', 'pyrfc3339', 'pytz', - # requests>=2.10 is required to fix - # https://github.com/shazow/urllib3/issues/556. This requirement can be - # relaxed to 'requests[security]>=2.4.1', however, less useful errors - # will be raised for some network/SSL errors. - 'requests[security]>=2.10', + 'requests[security]>=2.4.1', # security extras added in 2.4.1 # For pkg_resources. >=1.0 so pip resolves it to a version cryptography # will tolerate; see #2599: 'setuptools>=1.0',