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
Provenance
- Commit
991e8b7- Tree
206e82a- Author
Nate Prewitt <Nate.Prewitt@gmail.com>- Committer
Nate Prewitt <nate.prewitt@gmail.com>- Parent
7e297ed
5 files changed+23 added−11 removed
modified:requests/__init__.py+2 added-2 removed
55 unmodified lines56 57 # 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 <= 2364 65 # Check chardet for compatibility.66 major, minor, patch = chardet_version.split('.')[:3]67 major, minor, patch = int(major), int(minor), int(patch)69 unmodified linesmodified:requests/__version__.py+3 added-3 removed
3 unmodified lines4 5 __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 lines5 6 dev7 +++8 9+- [Short description of non-trivial change.]10+11+2.19.0 (2018-06-12)12+++++++++++++++++++13+14 **Improvements**15 16 - 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.23 24 **Bugfixes**25 19-- 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.35 36+**Dependencies**37+38+- We now support idna v2.7.39+- We now support urllib3 v1.23.40+41 2.18.4 (2017-08-15)42 +++++++++++++++++++43 44 **Improvements**1518 unmodified linesmodified:README.rst+1 added-1 removed
75 unmodified lines76 - Streaming Downloads77 - ``.netrc`` Support78 - Chunked Requests79 80-Requests officially supports Python 2.6–2.7 & 3.4–3.6, and runs great on PyPy.80+Requests officially supports Python 2.7 & 3.4–3.6, and runs great on PyPy.81 82 Installation83 ------------84 26 unmodified linesmodified:setup.py+1 added-2 removed
48 unmodified lines49 packages = ['requests']50 51 requires = [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'56 57 ]31 unmodified lines89 '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