Hello community, here is the log from the commit of package python-requests for openSUSE:Factory checked in at 2017-08-14 12:36:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-requests (Old) and /work/SRC/openSUSE:Factory/.python-requests.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests" Mon Aug 14 12:36:54 2017 rev:44 rq:515216 version:2.18.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-requests/python-requests.changes 2017-07-04 11:57:51.813850611 +0200 +++ /work/SRC/openSUSE:Factory/.python-requests.new/python-requests.changes 2017-08-14 12:36:55.578067388 +0200 @@ -1,0 +2,15 @@ +Tue Aug 8 06:51:52 UTC 2017 - tbecht...@suse.com + +- update to version v2.18.2 + * Add requirements.txt to MANIFEST.in + * test ssl version check functions as expected in python 2.6 + * no more stickers + * fix OPENSSL_VERSION_NUMBER check on Python2.6's ssl module + * Setup HISTORY for next release + * Use 'prefix' instead of 'key' in session docstring + * Allow urllib3 1.22 + * v2.18.2 + * stickers + * redundant comma + +------------------------------------------------------------------- Old: ---- requests-2.18.1.tar.gz New: ---- requests-2.18.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-requests.spec ++++++ --- /var/tmp/diff_new_pack.ovJ9zA/_old 2017-08-14 12:36:57.781757939 +0200 +++ /var/tmp/diff_new_pack.ovJ9zA/_new 2017-08-14 12:36:57.789756815 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-requests -Version: 2.18.1 +Version: 2.18.2 Release: 0 Summary: Awesome Python HTTP Library That's Actually Usable License: Apache-2.0 ++++++ requests-2.18.1.tar.gz -> requests-2.18.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/HISTORY.rst new/requests-2.18.2/HISTORY.rst --- old/requests-2.18.1/HISTORY.rst 2017-06-14 19:50:41.000000000 +0200 +++ new/requests-2.18.2/HISTORY.rst 2017-07-25 17:21:44.000000000 +0200 @@ -3,6 +3,18 @@ Release History --------------- +2.18.2 (2017-07-25) ++++++++++++++++++++ + +**Bugfixes** + +- ``requests.help`` no longer fails on Python 2.6 due to the absence of + ``ssl.OPENSSL_VERSION_NUMBER``. + +**Dependencies** + +- We now support urllib3 v1.22. + 2.18.1 (2017-06-14) +++++++++++++++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/MANIFEST.in new/requests-2.18.2/MANIFEST.in --- old/requests-2.18.1/MANIFEST.in 2017-05-31 11:19:09.000000000 +0200 +++ new/requests-2.18.2/MANIFEST.in 2017-07-20 11:07:20.000000000 +0200 @@ -1,2 +1,2 @@ -include README.rst LICENSE NOTICE HISTORY.rst pytest.ini +include README.rst LICENSE NOTICE HISTORY.rst pytest.ini requirements.txt recursive-include tests *.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/PKG-INFO new/requests-2.18.2/PKG-INFO --- old/requests-2.18.1/PKG-INFO 2017-06-14 19:51:08.000000000 +0200 +++ new/requests-2.18.2/PKG-INFO 2017-07-25 17:22:25.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: requests -Version: 2.18.1 +Version: 2.18.2 Summary: Python HTTP for Humans. Home-page: http://python-requests.org Author: Kenneth Reitz @@ -101,7 +101,7 @@ $ pip install requests ✨🍰✨ - Satisfaction, guaranteed. + Satisfaction guaranteed. Documentation ------------- @@ -127,6 +127,18 @@ Release History --------------- + 2.18.2 (2017-07-25) + +++++++++++++++++++ + + **Bugfixes** + + - ``requests.help`` no longer fails on Python 2.6 due to the absence of + ``ssl.OPENSSL_VERSION_NUMBER``. + + **Dependencies** + + - We now support urllib3 v1.22. + 2.18.1 (2017-06-14) +++++++++++++++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/README.rst new/requests-2.18.2/README.rst --- old/requests-2.18.1/README.rst 2017-05-31 11:19:09.000000000 +0200 +++ new/requests-2.18.2/README.rst 2017-07-25 17:15:36.000000000 +0200 @@ -93,7 +93,7 @@ $ pip install requests ✨🍰✨ -Satisfaction, guaranteed. +Satisfaction guaranteed. Documentation ------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/requests/__version__.py new/requests-2.18.2/requests/__version__.py --- old/requests-2.18.1/requests/__version__.py 2017-06-14 19:50:48.000000000 +0200 +++ new/requests-2.18.2/requests/__version__.py 2017-07-25 17:20:06.000000000 +0200 @@ -5,8 +5,8 @@ __title__ = 'requests' __description__ = 'Python HTTP for Humans.' __url__ = 'http://python-requests.org' -__version__ = '2.18.1' -__build__ = 0x021801 +__version__ = '2.18.2' +__build__ = 0x021802 __author__ = 'Kenneth Reitz' __author_email__ = 'm...@kennethreitz.org' __license__ = 'Apache 2.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/requests/help.py new/requests-2.18.2/requests/help.py --- old/requests-2.18.1/requests/help.py 2017-06-14 19:44:15.000000000 +0200 +++ new/requests-2.18.2/requests/help.py 2017-07-20 11:07:20.000000000 +0200 @@ -85,12 +85,16 @@ 'version': getattr(cryptography, '__version__', ''), } + # OPENSSL_VERSION_NUMBER doesn't exist in the Python 2.6 ssl module. + system_ssl = getattr(ssl, 'OPENSSL_VERSION_NUMBER', None) + system_ssl_info = { + 'version': '%x' % system_ssl if system_ssl is not None else '' + } + return { 'platform': platform_info, 'implementation': implementation_info, - 'system_ssl': { - 'version': '%x' % ssl.OPENSSL_VERSION_NUMBER, - }, + 'system_ssl': system_ssl_info, 'using_pyopenssl': pyopenssl is not None, 'pyOpenSSL': pyopenssl_info, 'urllib3': urllib3_info, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/requests/sessions.py new/requests-2.18.2/requests/sessions.py --- old/requests-2.18.1/requests/sessions.py 2017-06-14 19:44:15.000000000 +0200 +++ new/requests-2.18.2/requests/sessions.py 2017-07-20 11:07:20.000000000 +0200 @@ -704,7 +704,7 @@ def mount(self, prefix, adapter): """Registers a connection adapter to a prefix. - Adapters are sorted in descending order by key length. + Adapters are sorted in descending order by prefix length. """ self.adapters[prefix] = adapter keys_to_move = [k for k in self.adapters if len(k) < len(prefix)] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/requests.egg-info/PKG-INFO new/requests-2.18.2/requests.egg-info/PKG-INFO --- old/requests-2.18.1/requests.egg-info/PKG-INFO 2017-06-14 19:51:08.000000000 +0200 +++ new/requests-2.18.2/requests.egg-info/PKG-INFO 2017-07-25 17:22:25.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: requests -Version: 2.18.1 +Version: 2.18.2 Summary: Python HTTP for Humans. Home-page: http://python-requests.org Author: Kenneth Reitz @@ -101,7 +101,7 @@ $ pip install requests ✨🍰✨ - Satisfaction, guaranteed. + Satisfaction guaranteed. Documentation ------------- @@ -127,6 +127,18 @@ Release History --------------- + 2.18.2 (2017-07-25) + +++++++++++++++++++ + + **Bugfixes** + + - ``requests.help`` no longer fails on Python 2.6 due to the absence of + ``ssl.OPENSSL_VERSION_NUMBER``. + + **Dependencies** + + - We now support urllib3 v1.22. + 2.18.1 (2017-06-14) +++++++++++++++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/requests.egg-info/SOURCES.txt new/requests-2.18.2/requests.egg-info/SOURCES.txt --- old/requests-2.18.1/requests.egg-info/SOURCES.txt 2017-06-14 19:51:08.000000000 +0200 +++ new/requests-2.18.2/requests.egg-info/SOURCES.txt 2017-07-25 17:22:25.000000000 +0200 @@ -3,6 +3,7 @@ MANIFEST.in README.rst pytest.ini +requirements.txt setup.cfg setup.py requests/__init__.py @@ -32,6 +33,7 @@ tests/__init__.py tests/compat.py tests/conftest.py +tests/test_help.py tests/test_hooks.py tests/test_lowlevel.py tests/test_packages.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/requests.egg-info/requires.txt new/requests-2.18.2/requests.egg-info/requires.txt --- old/requests-2.18.1/requests.egg-info/requires.txt 2017-06-14 19:51:08.000000000 +0200 +++ new/requests-2.18.2/requests.egg-info/requires.txt 2017-07-25 17:22:25.000000000 +0200 @@ -1,6 +1,6 @@ -chardet>=3.0.2,<3.1.0 -idna>=2.5,<2.6 -urllib3>=1.21.1,<1.22 +chardet<3.1.0,>=3.0.2 +idna<2.6,>=2.5 +urllib3<1.23,>=1.21.1 certifi>=2017.4.17 [security] @@ -9,7 +9,7 @@ idna>=2.0.0 [socks] -PySocks>=1.5.6, !=1.5.7 +PySocks!=1.5.7,>=1.5.6 [socks:sys_platform == "win32" and (python_version == "2.7" or python_version == "2.6")] win_inet_pton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/requirements.txt new/requests-2.18.2/requirements.txt --- old/requests-2.18.1/requirements.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/requests-2.18.2/requirements.txt 2017-05-31 11:19:09.000000000 +0200 @@ -0,0 +1,16 @@ +-e .[socks] +pytest>=2.8.0 +codecov +pytest-httpbin==0.0.7 +pytest-mock +pytest-cov +pytest-xdist +alabaster +readme_renderer +Sphinx<=1.5.5 +PySocks +setuptools>=18.5 +docutils +flake8 +tox +detox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/setup.py new/requests-2.18.2/setup.py --- old/requests-2.18.1/setup.py 2017-06-14 19:44:15.000000000 +0200 +++ new/requests-2.18.2/setup.py 2017-07-25 17:15:36.000000000 +0200 @@ -44,7 +44,7 @@ requires = [ 'chardet>=3.0.2,<3.1.0', 'idna>=2.5,<2.6', - 'urllib3>=1.21.1,<1.22', + 'urllib3>=1.21.1,<1.23', 'certifi>=2017.4.17' ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/requests-2.18.1/tests/test_help.py new/requests-2.18.2/tests/test_help.py --- old/requests-2.18.1/tests/test_help.py 1970-01-01 01:00:00.000000000 +0100 +++ new/requests-2.18.2/tests/test_help.py 2017-07-20 11:07:20.000000000 +0200 @@ -0,0 +1,21 @@ +# -*- encoding: utf-8 + +import sys + +import pytest + +from requests.help import info + + +@pytest.mark.skipif(sys.version_info[:2] != (2,6), reason="Only run on Python 2.6") +def test_system_ssl_py26(): + """OPENSSL_VERSION_NUMBER isn't provided in Python 2.6, verify we don't + blow up in this case. + """ + assert info()['system_ssl'] == {'version': ''} + + +@pytest.mark.skipif(sys.version_info < (2,7), reason="Only run on Python 2.7+") +def test_system_ssl(): + """Verify we're actually setting system_ssl when it should be available.""" + assert info()['system_ssl']['version'] != ''