Skip to content
Myr

v2.19.0

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Updated HISTORY.rst. * Moved version pin for idna to allow recent 2.7 release. * Updated version warning for urllib3 to allow 1.23. * Updated metadata dunders in __version__.py. * Removed Python 2.6 trove classifier. * Removed Python 2.6 reference from README.rst.

authored by Nate Prewitt · committed by Nate Prewitt · parent 7e297ed · Browse files · 5 files+23 added−11 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+23 added−11 removed

  • other:+23 added−11 removed

5 files+23 added−11 removed

modified:requests/__init__.py+2 added-2 removed
55 unmodified lines
5657 # Check urllib3 for compatibility.58 major, minor, patch = urllib3_version # noqa: F81159 major, minor, patch = int(major), int(minor), int(patch)60 # urllib3 >= 1.21.1, <= 1.2260 # urllib3 >= 1.21.1, <= 1.2361 assert major == 162 assert minor >= 2163 assert minor <= 2263 assert minor <= 236465 # Check chardet for compatibility.66 major, minor, patch = chardet_version.split('.')[:3]67 major, minor, patch = int(major), int(minor), int(patch)
69 unmodified lines
modified:requests/__version__.py+3 added-3 removed
3 unmodified lines
45__title__ = 'requests'6__description__ = 'Python HTTP for Humans.'7__url__ = 'http://python-requests.org'8__version__ = '2.18.4'9__build__ = 0x0218048__version__ = '2.19.0'9__build__ = 0x02190010__author__ = 'Kenneth Reitz'11__author_email__ = 'me@kennethreitz.org'12__license__ = 'Apache 2.0'13__copyright__ = 'Copyright 2017 Kenneth Reitz'13__copyright__ = 'Copyright 2018 Kenneth Reitz'14__cake__ = u'\u2728 \U0001f370 \u2728'
modified:HISTORY.rst+16 added-3 removed
4 unmodified lines
56dev7+++89- [Short description of non-trivial change.]10112.19.0 (2018-06-12)12++++++++++++++++++1314**Improvements**1516- Warn user about possible slowdown when using cryptography version < 1.3.417- Check for invalid host in proxy URL, before forwarding request to adapter.18- Fragments are now properly maintained across redirects. (RFC7231 7.1.2)19- Removed use of cgi module to expedite library load time.20- Added support for SHA-256 and SHA-512 digest auth algorithms.21- Minor performance improvement to ``Request.content``.22- Migrate to using collections.abc for 3.7 compatibility.2324**Bugfixes**2519- Parsing empty ``Link`` headers with ``parse_header_links()`` no longer return one bogus entry26- Parsing empty ``Link`` headers with ``parse_header_links()`` no longer return one bogus entry.27- Fixed issue where loading the default certificate bundle from a zip archive21 would raise an ``IOError``22- Fixed issue with unexpected ``ImportError`` on windows system which do not support ``winreg`` module28 would raise an ``IOError``.29- Fixed issue with unexpected ``ImportError`` on windows system which do not support ``winreg`` module.30- DNS resolution in proxy bypass no longer includes the username and password in31 the request. This also fixes the issue of DNS queries failing on macOS.32- Properly normalize adapter prefixes for url comparison.33- Passing ``None`` as a file pointer to the ``files`` param no longer raises an exception.34- Calling ``copy`` on a ``RequestsCookieJar`` will now preserve the cookie policy correctly.3536**Dependencies**3738- We now support idna v2.7.39- We now support urllib3 v1.23.40412.18.4 (2017-08-15)42+++++++++++++++++++4344**Improvements**
1518 unmodified lines
modified:README.rst+1 added-1 removed
75 unmodified lines
76- Streaming Downloads77- ``.netrc`` Support78- Chunked Requests7980Requests officially supports Python 2.6–2.7 & 3.4–3.6, and runs great on PyPy.80Requests officially supports Python 2.7 & 3.4–3.6, and runs great on PyPy.8182Installation83------------84
26 unmodified lines
modified:setup.py+1 added-2 removed
48 unmodified lines
49packages = ['requests']5051requires = [52 'chardet>=3.0.2,<3.1.0',53 'idna>=2.5,<2.7',53 'idna>=2.5,<2.8',54 'urllib3>=1.21.1,<1.24',55 'certifi>=2017.4.17'5657]
31 unmodified lines
89 'Natural Language :: English',90 'License :: OSI Approved :: Apache Software License',91 'Programming Language :: Python',92 'Programming Language :: Python :: 2',93 'Programming Language :: Python :: 2.6',93 'Programming Language :: Python :: 2.7',94 'Programming Language :: Python :: 3',95 'Programming Language :: Python :: 3.4',96 'Programming Language :: Python :: 3.5',
12 unmodified lines