[Python-modules-commits] [requests] 02/07: Import requests_2.18.1.orig.tar.gz

Daniele Tricoli eriol-guest at moszumanska.debian.org
Mon Jul 31 00:46:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

eriol-guest pushed a commit to branch master
in repository requests.

commit 41cd0f82034673ce271c530a60f9c4b3cd85bea9
Author: Daniele Tricoli <eriol at mornie.org>
Date:   Mon Jul 31 02:01:24 2017 +0200

    Import requests_2.18.1.orig.tar.gz
---
 HISTORY.rst                                        |  223 +-
 LICENSE                                            |    2 +-
 MANIFEST.in                                        |    3 +-
 NOTICE                                             |  137 -
 PKG-INFO                                           |  266 +-
 README.rst                                         |   38 +-
 pytest.ini                                         |    2 +
 requests.egg-info/PKG-INFO                         |  266 +-
 requests.egg-info/SOURCES.txt                      |   97 +-
 requests.egg-info/requires.txt                     |    7 +
 requests/__init__.py                               |   59 +-
 requests/__version__.py                            |   14 +
 requests/adapters.py                               |   65 +-
 requests/api.py                                    |   32 +-
 requests/auth.py                                   |   13 +-
 requests/cacert.pem                                | 5689 ---------------
 requests/certs.py                                  |   13 +-
 requests/compat.py                                 |   11 +-
 requests/cookies.py                                |    8 +-
 requests/exceptions.py                             |    8 +-
 requests/help.py                                   |  111 +
 requests/models.py                                 |  102 +-
 requests/packages.py                               |   14 +
 requests/packages/__init__.py                      |   42 -
 requests/packages/chardet/__init__.py              |   32 -
 requests/packages/chardet/big5freq.py              |  925 ---
 requests/packages/chardet/big5prober.py            |   42 -
 requests/packages/chardet/chardetect.py            |   80 -
 requests/packages/chardet/chardistribution.py      |  231 -
 requests/packages/chardet/charsetgroupprober.py    |  106 -
 requests/packages/chardet/charsetprober.py         |   62 -
 requests/packages/chardet/codingstatemachine.py    |   61 -
 requests/packages/chardet/compat.py                |   34 -
 requests/packages/chardet/constants.py             |   39 -
 requests/packages/chardet/cp949prober.py           |   44 -
 requests/packages/chardet/escprober.py             |   86 -
 requests/packages/chardet/escsm.py                 |  242 -
 requests/packages/chardet/eucjpprober.py           |   90 -
 requests/packages/chardet/euckrfreq.py             |  596 --
 requests/packages/chardet/euckrprober.py           |   42 -
 requests/packages/chardet/euctwfreq.py             |  428 --
 requests/packages/chardet/euctwprober.py           |   41 -
 requests/packages/chardet/gb2312freq.py            |  472 --
 requests/packages/chardet/gb2312prober.py          |   41 -
 requests/packages/chardet/hebrewprober.py          |  283 -
 requests/packages/chardet/jisfreq.py               |  569 --
 requests/packages/chardet/jpcntx.py                |  227 -
 requests/packages/chardet/langbulgarianmodel.py    |  229 -
 requests/packages/chardet/langcyrillicmodel.py     |  329 -
 requests/packages/chardet/langgreekmodel.py        |  225 -
 requests/packages/chardet/langhebrewmodel.py       |  201 -
 requests/packages/chardet/langhungarianmodel.py    |  225 -
 requests/packages/chardet/langthaimodel.py         |  200 -
 requests/packages/chardet/latin1prober.py          |  139 -
 requests/packages/chardet/mbcharsetprober.py       |   86 -
 requests/packages/chardet/mbcsgroupprober.py       |   54 -
 requests/packages/chardet/mbcssm.py                |  572 --
 requests/packages/chardet/sbcharsetprober.py       |  120 -
 requests/packages/chardet/sbcsgroupprober.py       |   69 -
 requests/packages/chardet/sjisprober.py            |   91 -
 requests/packages/chardet/universaldetector.py     |  170 -
 requests/packages/chardet/utf8prober.py            |   76 -
 requests/packages/idna/__init__.py                 |    1 -
 requests/packages/idna/codec.py                    |  118 -
 requests/packages/idna/compat.py                   |   12 -
 requests/packages/idna/core.py                     |  387 --
 requests/packages/idna/idnadata.py                 | 1584 -----
 requests/packages/idna/intranges.py                |   46 -
 requests/packages/idna/uts46data.py                | 7267 --------------------
 requests/packages/urllib3/__init__.py              |   97 -
 requests/packages/urllib3/_collections.py          |  324 -
 requests/packages/urllib3/connection.py            |  366 -
 requests/packages/urllib3/connectionpool.py        |  871 ---
 requests/packages/urllib3/contrib/appengine.py     |  296 -
 requests/packages/urllib3/contrib/ntlmpool.py      |  112 -
 requests/packages/urllib3/contrib/pyopenssl.py     |  431 --
 requests/packages/urllib3/contrib/socks.py         |  178 -
 requests/packages/urllib3/exceptions.py            |  241 -
 requests/packages/urllib3/fields.py                |  178 -
 requests/packages/urllib3/filepost.py              |   94 -
 requests/packages/urllib3/packages/__init__.py     |    5 -
 .../urllib3/packages/backports/__init__.py         |    0
 .../urllib3/packages/backports/makefile.py         |   53 -
 requests/packages/urllib3/packages/ordered_dict.py |  259 -
 requests/packages/urllib3/packages/six.py          |  868 ---
 .../packages/ssl_match_hostname/__init__.py        |   19 -
 .../packages/ssl_match_hostname/_implementation.py |  157 -
 requests/packages/urllib3/poolmanager.py           |  363 -
 requests/packages/urllib3/request.py               |  148 -
 requests/packages/urllib3/response.py              |  618 --
 requests/packages/urllib3/util/__init__.py         |   46 -
 requests/packages/urllib3/util/connection.py       |  145 -
 requests/packages/urllib3/util/request.py          |   72 -
 requests/packages/urllib3/util/response.py         |   81 -
 requests/packages/urllib3/util/retry.py            |  376 -
 requests/packages/urllib3/util/ssl_.py             |  336 -
 requests/packages/urllib3/util/timeout.py          |  245 -
 requests/packages/urllib3/util/url.py              |  226 -
 requests/sessions.py                               |  204 +-
 requests/status_codes.py                           |    2 +-
 requests/utils.py                                  |  129 +-
 requirements.txt                                   |   24 -
 setup.cfg                                          |    4 +-
 setup.py                                           |   58 +-
 tests/__init__.py                                  |   13 +
 tests/compat.py                                    |   21 +
 tests/conftest.py                                  |   24 +
 tests/test_hooks.py                                |   23 +
 tests/test_lowlevel.py                             |  237 +
 tests/test_packages.py                             |   13 +
 tests/test_requests.py                             | 2377 +++++++
 tests/test_structures.py                           |   76 +
 tests/test_testserver.py                           |  166 +
 tests/test_utils.py                                |  680 ++
 .../contrib => tests/testserver}/__init__.py       |    0
 tests/testserver/server.py                         |  127 +
 tests/utils.py                                     |   19 +
 117 files changed, 5123 insertions(+), 30475 deletions(-)

diff --git a/HISTORY.rst b/HISTORY.rst
index e377c40..a359805 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -3,6 +3,212 @@
 Release History
 ---------------
 
+2.18.1 (2017-06-14)
++++++++++++++++++++
+
+**Bugfixes**
+
+- Fix an error in the packaging whereby the *.whl contained incorrect data that
+  regressed the fix in v2.17.3.
+
+2.18.0 (2017-06-14)
++++++++++++++++++++
+
+**Improvements**
+
+- ``Response`` is now a context manager, so can be used directly in a ``with`` statement
+  without first having to be wrapped by ``contextlib.closing()``.
+
+**Bugfixes**
+
+- Resolve installation failure if multiprocessing is not available
+- Resolve tests crash if multiprocessing is not able to determine the number of CPU cores
+- Resolve error swallowing in utils set_environ generator
+
+
+2.17.3 (2017-05-29)
++++++++++++++++++++
+
+**Improvements**
+
+- Improved ``packages`` namespace identity support, for monkeypatching libraries.
+
+
+2.17.2 (2017-05-29)
++++++++++++++++++++
+
+**Improvements**
+
+- Improved ``packages`` namespace identity support, for monkeypatching libraries.
+
+
+2.17.1 (2017-05-29)
++++++++++++++++++++
+
+**Improvements**
+
+- Improved ``packages`` namespace identity support, for monkeypatching libraries.
+
+
+2.17.0 (2017-05-29)
++++++++++++++++++++
+
+**Improvements**
+
+- Removal of the 301 redirect cache. This improves thread-safety.
+
+
+2.16.5 (2017-05-28)
++++++++++++++++++++
+
+- Improvements to ``$ python -m requests.help``.
+
+2.16.4 (2017-05-27)
++++++++++++++++++++
+
+- Introduction of the ``$ python -m requests.help`` command, for debugging with maintainers!
+
+2.16.3 (2017-05-27)
++++++++++++++++++++
+
+- Further restored the ``requests.packages`` namespace for compatibility reasons.
+
+2.16.2 (2017-05-27)
++++++++++++++++++++
+
+- Further restored the ``requests.packages`` namespace for compatibility reasons.
+
+No code modification (noted below) should be neccessary any longer.
+
+2.16.1 (2017-05-27)
++++++++++++++++++++
+
+- Restored the ``requests.packages`` namespace for compatibility reasons.
+- Bugfix for ``urllib3`` version parsing.
+
+**Note**: code that was written to import against the ``requests.packages``
+namespace previously will have to import code that rests at this module-level
+now.
+
+For example::
+
+    from requests.packages.urllib3.poolmanager import PoolManager
+
+Will need to be re-written to be::
+
+    from requests.packages import urllib3
+    urllib3.poolmanager.PoolManager
+
+Or, even better::
+
+    from urllib3.poolmanager import PoolManager
+
+2.16.0 (2017-05-26)
++++++++++++++++++++
+
+- Unvendor ALL the things!
+
+2.15.1 (2017-05-26)
++++++++++++++++++++
+
+- Everyone makes mistakes.
+
+2.15.0 (2017-05-26)
++++++++++++++++++++
+
+**Improvements**
+
+- Introduction of the ``Response.next`` property, for getting the next
+  ``PreparedResponse`` from a redirect chain (when ``allow_redirects=False``).
+- Internal refactoring of ``__version__`` module.
+
+**Bugfixes**
+
+- Restored once-optional parameter for ``requests.utils.get_environ_proxies()``.
+
+2.14.2 (2017-05-10)
++++++++++++++++++++
+
+**Bugfixes**
+
+- Changed a less-than to an equal-to and an or in the dependency markers to
+  widen compatibility with older setuptools releases.
+
+2.14.1 (2017-05-09)
++++++++++++++++++++
+
+**Bugfixes**
+
+- Changed the dependency markers to widen compatibility with older pip
+  releases.
+
+2.14.0 (2017-05-09)
++++++++++++++++++++
+
+**Improvements**
+
+- It is now possible to pass ``no_proxy`` as a key to the ``proxies``
+  dictionary to provide handling similar to the ``NO_PROXY`` environment
+  variable.
+- When users provide invalid paths to certificate bundle files or directories
+  Requests now raises ``IOError``, rather than failing at the time of the HTTPS
+  request with a fairly inscrutable certificate validation error.
+- The behavior of ``SessionRedirectMixin`` was slightly altered.
+  ``resolve_redirects`` will now detect a redirect by calling
+  ``get_redirect_target(response)`` instead of directly
+  querying ``Response.is_redirect`` and ``Response.headers['location']``.
+  Advanced users will be able to process malformed redirects more easily.
+- Changed the internal calculation of elapsed request time to have higher
+  resolution on Windows.
+- Added ``win_inet_pton`` as conditional dependency for the ``[socks]`` extra
+  on Windows with Python 2.7.
+- Changed the proxy bypass implementation on Windows: the proxy bypass
+  check doesn't use forward and reverse DNS requests anymore
+- URLs with schemes that begin with ``http`` but are not ``http`` or ``https``
+  no longer have their host parts forced to lowercase.
+
+**Bugfixes**
+
+- Much improved handling of non-ASCII ``Location`` header values in redirects.
+  Fewer ``UnicodeDecodeErrors`` are encountered on Python 2, and Python 3 now
+  correctly understands that Latin-1 is unlikely to be the correct encoding.
+- If an attempt to ``seek`` file to find out its length fails, we now
+  appropriately handle that by aborting our content-length calculations.
+- Restricted ``HTTPDigestAuth`` to only respond to auth challenges made on 4XX
+  responses, rather than to all auth challenges.
+- Fixed some code that was firing ``DeprecationWarning`` on Python 3.6.
+- The dismayed person emoticon (``/o\\``) no longer has a big head. I'm sure
+  this is what you were all worrying about most.
+
+
+**Miscellaneous**
+
+- Updated bundled urllib3 to v1.21.1.
+- Updated bundled chardet to v3.0.2.
+- Updated bundled idna to v2.5.
+- Updated bundled certifi to 2017.4.17.
+
+2.13.0 (2017-01-24)
++++++++++++++++++++
+
+**Features**
+
+- Only load the ``idna`` library when we've determined we need it. This will
+  save some memory for users.
+
+**Miscellaneous**
+
+- Updated bundled urllib3 to 1.20.
+- Updated bundled idna to 2.2.
+
+2.12.5 (2017-01-18)
++++++++++++++++++++
+
+**Bugfixes**
+
+- Fixed an issue with JSON encoding detection, specifically detecting
+  big-endian UTF-32 with BOM.
+
 2.12.4 (2016-12-14)
 +++++++++++++++++++
 
@@ -441,7 +647,7 @@ This is the first release that follows our new release process. For more, see
 
 - Unicode URL improvements for Python 2.
 - Re-order JSON param for backwards compat.
-- Automatically defrag authentication schemes from host/pass URIs. (`#2249 <https://github.com/kennethreitz/requests/issues/2249>`_)
+- Automatically defrag authentication schemes from host/pass URIs. (`#2249 <https://github.com/requests/requests/issues/2249>`_)
 
 
 2.4.2 (2014-10-05)
@@ -449,19 +655,19 @@ This is the first release that follows our new release process. For more, see
 
 **Improvements**
 
-- FINALLY! Add json parameter for uploads! (`#2258 <https://github.com/kennethreitz/requests/pull/2258>`_)
-- Support for bytestring URLs on Python 3.x (`#2238 <https://github.com/kennethreitz/requests/pull/2238>`_)
+- FINALLY! Add json parameter for uploads! (`#2258 <https://github.com/requests/requests/pull/2258>`_)
+- Support for bytestring URLs on Python 3.x (`#2238 <https://github.com/requests/requests/pull/2238>`_)
 
 **Bugfixes**
 
-- Avoid getting stuck in a loop (`#2244 <https://github.com/kennethreitz/requests/pull/2244>`_)
-- Multiple calls to iter* fail with unhelpful error. (`#2240 <https://github.com/kennethreitz/requests/issues/2240>`_, `#2241 <https://github.com/kennethreitz/requests/issues/2241>`_)
+- Avoid getting stuck in a loop (`#2244 <https://github.com/requests/requests/pull/2244>`_)
+- Multiple calls to iter* fail with unhelpful error. (`#2240 <https://github.com/requests/requests/issues/2240>`_, `#2241 <https://github.com/requests/requests/issues/2241>`_)
 
 **Documentation**
 
-- Correct redirection introduction (`#2245 <https://github.com/kennethreitz/requests/pull/2245/>`_)
-- Added example of how to send multiple files in one request. (`#2227 <https://github.com/kennethreitz/requests/pull/2227/>`_)
-- Clarify how to pass a custom set of CAs (`#2248 <https://github.com/kennethreitz/requests/pull/2248/>`_)
+- Correct redirection introduction (`#2245 <https://github.com/requests/requests/pull/2245/>`_)
+- Added example of how to send multiple files in one request. (`#2227 <https://github.com/requests/requests/pull/2227/>`_)
+- Clarify how to pass a custom set of CAs (`#2248 <https://github.com/requests/requests/pull/2248/>`_)
 
 
 
@@ -1284,4 +1490,3 @@ This is not a backwards compatible change.
 
 * Frustration
 * Conception
-
diff --git a/LICENSE b/LICENSE
index 8c1dd44..db78ea6 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright 2016 Kenneth Reitz
+Copyright 2017 Kenneth Reitz
 
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
diff --git a/MANIFEST.in b/MANIFEST.in
index 439de49..650744c 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1 +1,2 @@
-include README.rst LICENSE NOTICE HISTORY.rst test_requests.py requirements.txt requests/cacert.pem
+include README.rst LICENSE NOTICE HISTORY.rst pytest.ini
+recursive-include tests *.py
diff --git a/NOTICE b/NOTICE
deleted file mode 100644
index 4d6f21c..0000000
--- a/NOTICE
+++ /dev/null
@@ -1,137 +0,0 @@
-Requests includes some vendorized python libraries to ease installation.
-
-Urllib3 License
-===============
-
-This is the MIT license: http://www.opensource.org/licenses/mit-license.php
-
-Copyright 2008-2011 Andrey Petrov and contributors (see CONTRIBUTORS.txt),
-Modifications copyright 2012 Kenneth Reitz.
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Chardet License
-===============
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public
-License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-Lesser General Public License for more details.
-
-You should have received a copy of the GNU Lesser General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-02110-1301  USA
-
-
-CA Bundle License
-=================
-
-This Source Code Form is subject to the terms of the Mozilla Public
-License, v. 2.0. If a copy of the MPL was not distributed with this
-file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-
-Idna License
-============
-
-Copyright (c) 2013-2016, Kim Davies. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-#. Redistributions of source code must retain the above copyright
-   notice, this list of conditions and the following disclaimer.
-
-#. Redistributions in binary form must reproduce the above
-   copyright notice, this list of conditions and the following
-   disclaimer in the documentation and/or other materials provided with
-   the distribution.
-
-#. Neither the name of the copyright holder nor the names of the 
-   contributors may be used to endorse or promote products derived 
-   from this software without specific prior written permission.
-
-#. THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS "AS IS" AND ANY
-   EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-   PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR 
-   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
-   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
-   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
-   USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-   DAMAGE.
-
-Portions of the codec implementation and unit tests are derived from the
-Python standard library, which carries the `Python Software Foundation
-License <https://docs.python.org/2/license.html>`_:
-
-   Copyright (c) 2001-2014 Python Software Foundation; All Rights Reserved
-
-Portions of the unit tests are derived from the Unicode standard, which 
-is subject to the Unicode, Inc. License Agreement:
-
-   Copyright (c) 1991-2014 Unicode, Inc. All rights reserved.
-   Distributed under the Terms of Use in 
-   <http://www.unicode.org/copyright.html>.
-
-   Permission is hereby granted, free of charge, to any person obtaining
-   a copy of the Unicode data files and any associated documentation
-   (the "Data Files") or Unicode software and any associated documentation
-   (the "Software") to deal in the Data Files or Software
-   without restriction, including without limitation the rights to use,
-   copy, modify, merge, publish, distribute, and/or sell copies of
-   the Data Files or Software, and to permit persons to whom the Data Files
-   or Software are furnished to do so, provided that
-   
-   (a) this copyright and permission notice appear with all copies 
-   of the Data Files or Software,
-
-   (b) this copyright and permission notice appear in associated 
-   documentation, and
-
-   (c) there is clear notice in each modified Data File or in the Software
-   as well as in the documentation associated with the Data File(s) or
-   Software that the data or software has been modified.
-
-   THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
-   ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
-   WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-   NONINFRINGEMENT OF THIRD PARTY RIGHTS.
-   IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
-   NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
-   DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
-   DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
-   TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-   PERFORMANCE OF THE DATA FILES OR SOFTWARE.
-
-   Except as contained in this notice, the name of a copyright holder
-   shall not be used in advertising or otherwise to promote the sale,
-   use or other dealings in these Data Files or Software without prior
-   written authorization of the copyright holder.
-
diff --git a/PKG-INFO b/PKG-INFO
index 4450171..cba1ce8 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,21 +1,39 @@
 Metadata-Version: 1.1
 Name: requests
-Version: 2.12.4
+Version: 2.18.1
 Summary: Python HTTP for Humans.
 Home-page: http://python-requests.org
 Author: Kenneth Reitz
-Author-email: me at kennethreitz.com
+Author-email: me at kennethreitz.org
 License: Apache 2.0
 Description: Requests: HTTP for Humans
         =========================
         
         .. image:: https://img.shields.io/pypi/v/requests.svg
             :target: https://pypi.python.org/pypi/requests
-            
+        
+        .. image:: https://img.shields.io/pypi/l/requests.svg
+            :target: https://pypi.python.org/pypi/requests
+        
+        .. image:: https://img.shields.io/pypi/pyversions/requests.svg
+            :target: https://pypi.python.org/pypi/requests
+        
+        .. image:: https://codecov.io/github/requests/requests/coverage.svg?branch=master
+            :target: https://codecov.io/github/requests/requests
+            :alt: codecov.io
+        
+        .. image:: https://img.shields.io/github/contributors/requests/requests.svg
+            :target: https://github.com/requests/requests/graphs/contributors
+        
+        .. image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg
+            :target: https://saythanks.io/to/kennethreitz
+        
+        
+        
         Requests is the only *Non-GMO* HTTP library for Python, safe for human
         consumption.
         
-        **Warning:** Recreational use of other HTTP libraries may result in dangerous side-effects,
+        **Warning:** Recreational use of the Python standard library for HTTP may result in dangerous side-effects,
         including: security vulnerabilities, verbose code, reinventing the wheel,
         constantly reading documentation, depression, headaches, or even death.
         
@@ -37,18 +55,17 @@ Description: Requests: HTTP for Humans
         
         See `the similar code, sans Requests <https://gist.github.com/973705>`_.
         
-        .. image:: http://docs.python-requests.org/en/master/_static/requests-sidebar.png
+        .. image:: https://raw.githubusercontent.com/requests/requests/master/docs/_static/requests-logo-small.png
             :target: http://docs.python-requests.org/
         
         
         Requests allows you to send *organic, grass-fed* HTTP/1.1 requests, without the
         need for manual labor. There's no need to manually add query strings to your
         URLs, or to form-encode your POST data. Keep-alive and HTTP connection pooling
-        are 100% automatic, powered by `urllib3 <https://github.com/shazow/urllib3>`_,
-        which is embedded within Requests.
+        are 100% automatic, thanks to `urllib3 <https://github.com/shazow/urllib3>`_.
         
         Besides, all the cool kids are doing it. Requests is one of the most
-        downloaded Python packages of all time, pulling in over 7,000,000 downloads
+        downloaded Python packages of all time, pulling in over 11,000,000 downloads
         every month. You don't want to be left out!
         
         Feature Support
@@ -71,9 +88,8 @@ Description: Requests: HTTP for Humans
         - Streaming Downloads
         - ``.netrc`` Support
         - Chunked Requests
-        - Thread-safety
         
-        Requests officially supports Python 2.6–2.7 & 3.3–3.5, and runs great on PyPy.
+        Requests officially supports Python 2.6–2.7 & 3.3–3.7, and runs great on PyPy.
         
         Installation
         ------------
@@ -101,9 +117,9 @@ Description: Requests: HTTP for Humans
         #. Write a test which shows that the bug was fixed or that the feature works as expected.
         #. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS_.
         
-        .. _`the repository`: http://github.com/kennethreitz/requests
-        .. _AUTHORS: https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst
-        .. _Contributor Friendly: https://github.com/kennethreitz/requests/issues?direction=desc&labels=Contributor+Friendly&page=1&sort=updated&state=open
+        .. _`the repository`: http://github.com/requests/requests
+        .. _AUTHORS: https://github.com/requests/requests/blob/master/AUTHORS.rst
+        .. _Contributor Friendly: https://github.com/requests/requests/issues?direction=desc&labels=Contributor+Friendly&page=1&sort=updated&state=open
         
         
         .. :changelog:
@@ -111,6 +127,212 @@ Description: Requests: HTTP for Humans
         Release History
         ---------------
         
+        2.18.1 (2017-06-14)
+        +++++++++++++++++++
+        
+        **Bugfixes**
+        
+        - Fix an error in the packaging whereby the *.whl contained incorrect data that
+          regressed the fix in v2.17.3.
+        
+        2.18.0 (2017-06-14)
+        +++++++++++++++++++
+        
+        **Improvements**
+        
+        - ``Response`` is now a context manager, so can be used directly in a ``with`` statement
+          without first having to be wrapped by ``contextlib.closing()``.
+        
+        **Bugfixes**
+        
+        - Resolve installation failure if multiprocessing is not available
+        - Resolve tests crash if multiprocessing is not able to determine the number of CPU cores
+        - Resolve error swallowing in utils set_environ generator
+        
+        
+        2.17.3 (2017-05-29)
+        +++++++++++++++++++
+        
+        **Improvements**
+        
+        - Improved ``packages`` namespace identity support, for monkeypatching libraries.
+        
+        
+        2.17.2 (2017-05-29)
+        +++++++++++++++++++
+        
+        **Improvements**
+        
+        - Improved ``packages`` namespace identity support, for monkeypatching libraries.
+        
+        
+        2.17.1 (2017-05-29)
+        +++++++++++++++++++
+        
+        **Improvements**
+        
+        - Improved ``packages`` namespace identity support, for monkeypatching libraries.
+        
+        
+        2.17.0 (2017-05-29)
+        +++++++++++++++++++
+        
+        **Improvements**
+        
+        - Removal of the 301 redirect cache. This improves thread-safety.
+        
+        
+        2.16.5 (2017-05-28)
+        +++++++++++++++++++
+        
+        - Improvements to ``$ python -m requests.help``.
+        
+        2.16.4 (2017-05-27)
+        +++++++++++++++++++
+        
+        - Introduction of the ``$ python -m requests.help`` command, for debugging with maintainers!
+        
+        2.16.3 (2017-05-27)
+        +++++++++++++++++++
+        
+        - Further restored the ``requests.packages`` namespace for compatibility reasons.
+        
+        2.16.2 (2017-05-27)
+        +++++++++++++++++++
+        
+        - Further restored the ``requests.packages`` namespace for compatibility reasons.
+        
+        No code modification (noted below) should be neccessary any longer.
+        
+        2.16.1 (2017-05-27)
+        +++++++++++++++++++
+        
+        - Restored the ``requests.packages`` namespace for compatibility reasons.
+        - Bugfix for ``urllib3`` version parsing.
+        
+        **Note**: code that was written to import against the ``requests.packages``
+        namespace previously will have to import code that rests at this module-level
+        now.
+        
+        For example::
+        
+            from requests.packages.urllib3.poolmanager import PoolManager
+        
+        Will need to be re-written to be::
+        
+            from requests.packages import urllib3
+            urllib3.poolmanager.PoolManager
+        
+        Or, even better::
+        
+            from urllib3.poolmanager import PoolManager
+        
+        2.16.0 (2017-05-26)
+        +++++++++++++++++++
+        
+        - Unvendor ALL the things!
+        
+        2.15.1 (2017-05-26)
+        +++++++++++++++++++
+        
+        - Everyone makes mistakes.
+        
+        2.15.0 (2017-05-26)
+        +++++++++++++++++++
+        
+        **Improvements**
+        
+        - Introduction of the ``Response.next`` property, for getting the next
+          ``PreparedResponse`` from a redirect chain (when ``allow_redirects=False``).
+        - Internal refactoring of ``__version__`` module.
+        
+        **Bugfixes**
+        
+        - Restored once-optional parameter for ``requests.utils.get_environ_proxies()``.
+        
+        2.14.2 (2017-05-10)
+        +++++++++++++++++++
+        
+        **Bugfixes**
+        
+        - Changed a less-than to an equal-to and an or in the dependency markers to
+          widen compatibility with older setuptools releases.
+        
+        2.14.1 (2017-05-09)
+        +++++++++++++++++++
+        
+        **Bugfixes**
+        
+        - Changed the dependency markers to widen compatibility with older pip
+          releases.
+        
+        2.14.0 (2017-05-09)
+        +++++++++++++++++++
+        
+        **Improvements**
+        
+        - It is now possible to pass ``no_proxy`` as a key to the ``proxies``
+          dictionary to provide handling similar to the ``NO_PROXY`` environment
+          variable.
+        - When users provide invalid paths to certificate bundle files or directories
+          Requests now raises ``IOError``, rather than failing at the time of the HTTPS
+          request with a fairly inscrutable certificate validation error.
+        - The behavior of ``SessionRedirectMixin`` was slightly altered.
+          ``resolve_redirects`` will now detect a redirect by calling
+          ``get_redirect_target(response)`` instead of directly
+          querying ``Response.is_redirect`` and ``Response.headers['location']``.
+          Advanced users will be able to process malformed redirects more easily.
+        - Changed the internal calculation of elapsed request time to have higher
+          resolution on Windows.
+        - Added ``win_inet_pton`` as conditional dependency for the ``[socks]`` extra
+          on Windows with Python 2.7.
+        - Changed the proxy bypass implementation on Windows: the proxy bypass
+          check doesn't use forward and reverse DNS requests anymore
+        - URLs with schemes that begin with ``http`` but are not ``http`` or ``https``
+          no longer have their host parts forced to lowercase.
+        
+        **Bugfixes**
+        
+        - Much improved handling of non-ASCII ``Location`` header values in redirects.
+          Fewer ``UnicodeDecodeErrors`` are encountered on Python 2, and Python 3 now
+          correctly understands that Latin-1 is unlikely to be the correct encoding.
+        - If an attempt to ``seek`` file to find out its length fails, we now
+          appropriately handle that by aborting our content-length calculations.
+        - Restricted ``HTTPDigestAuth`` to only respond to auth challenges made on 4XX
+          responses, rather than to all auth challenges.
+        - Fixed some code that was firing ``DeprecationWarning`` on Python 3.6.
+        - The dismayed person emoticon (``/o\\``) no longer has a big head. I'm sure
+          this is what you were all worrying about most.
+        
+        
+        **Miscellaneous**
+        
+        - Updated bundled urllib3 to v1.21.1.
+        - Updated bundled chardet to v3.0.2.
+        - Updated bundled idna to v2.5.
+        - Updated bundled certifi to 2017.4.17.
+        
+        2.13.0 (2017-01-24)
+        +++++++++++++++++++
+        
+        **Features**
+        
+        - Only load the ``idna`` library when we've determined we need it. This will
+          save some memory for users.
+        
+        **Miscellaneous**
+        
+        - Updated bundled urllib3 to 1.20.
+        - Updated bundled idna to 2.2.
+        
+        2.12.5 (2017-01-18)
+        +++++++++++++++++++
+        
+        **Bugfixes**
+        
+        - Fixed an issue with JSON encoding detection, specifically detecting
+          big-endian UTF-32 with BOM.
+        
         2.12.4 (2016-12-14)
         +++++++++++++++++++
         
@@ -549,7 +771,7 @@ Description: Requests: HTTP for Humans
         
         - Unicode URL improvements for Python 2.
         - Re-order JSON param for backwards compat.
-        - Automatically defrag authentication schemes from host/pass URIs. (`#2249 <https://github.com/kennethreitz/requests/issues/2249>`_)
+        - Automatically defrag authentication schemes from host/pass URIs. (`#2249 <https://github.com/requests/requests/issues/2249>`_)
         
         
         2.4.2 (2014-10-05)
@@ -557,19 +779,19 @@ Description: Requests: HTTP for Humans
         
         **Improvements**
         
-        - FINALLY! Add json parameter for uploads! (`#2258 <https://github.com/kennethreitz/requests/pull/2258>`_)
-        - Support for bytestring URLs on Python 3.x (`#2238 <https://github.com/kennethreitz/requests/pull/2238>`_)
+        - FINALLY! Add json parameter for uploads! (`#2258 <https://github.com/requests/requests/pull/2258>`_)
+        - Support for bytestring URLs on Python 3.x (`#2238 <https://github.com/requests/requests/pull/2238>`_)
         
         **Bugfixes**
         
-        - Avoid getting stuck in a loop (`#2244 <https://github.com/kennethreitz/requests/pull/2244>`_)
-        - Multiple calls to iter* fail with unhelpful error. (`#2240 <https://github.com/kennethreitz/requests/issues/2240>`_, `#2241 <https://github.com/kennethreitz/requests/issues/2241>`_)
+        - Avoid getting stuck in a loop (`#2244 <https://github.com/requests/requests/pull/2244>`_)
+        - Multiple calls to iter* fail with unhelpful error. (`#2240 <https://github.com/requests/requests/issues/2240>`_, `#2241 <https://github.com/requests/requests/issues/2241>`_)
         
         **Documentation**
         
-        - Correct redirection introduction (`#2245 <https://github.com/kennethreitz/requests/pull/2245/>`_)
-        - Added example of how to send multiple files in one request. (`#2227 <https://github.com/kennethreitz/requests/pull/2227/>`_)
-        - Clarify how to pass a custom set of CAs (`#2248 <https://github.com/kennethreitz/requests/pull/2248/>`_)
+        - Correct redirection introduction (`#2245 <https://github.com/requests/requests/pull/2245/>`_)
+        - Added example of how to send multiple files in one request. (`#2227 <https://github.com/requests/requests/pull/2227/>`_)
+        - Clarify how to pass a custom set of CAs (`#2248 <https://github.com/requests/requests/pull/2248/>`_)
         
         
         
@@ -1393,7 +1615,6 @@ Description: Requests: HTTP for Humans
         * Frustration
         * Conception
         
-        
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
@@ -1406,5 +1627,6 @@ Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
diff --git a/README.rst b/README.rst
index 57a4f33..1dbee79 100644
--- a/README.rst
+++ b/README.rst
@@ -3,11 +3,29 @@ Requests: HTTP for Humans
 
 .. image:: https://img.shields.io/pypi/v/requests.svg
     :target: https://pypi.python.org/pypi/requests
-    
+
+.. image:: https://img.shields.io/pypi/l/requests.svg
+    :target: https://pypi.python.org/pypi/requests
+
+.. image:: https://img.shields.io/pypi/pyversions/requests.svg
+    :target: https://pypi.python.org/pypi/requests
+
+.. image:: https://codecov.io/github/requests/requests/coverage.svg?branch=master
+    :target: https://codecov.io/github/requests/requests
+    :alt: codecov.io
+
+.. image:: https://img.shields.io/github/contributors/requests/requests.svg
+    :target: https://github.com/requests/requests/graphs/contributors
+
+.. image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg
+    :target: https://saythanks.io/to/kennethreitz
+
+
+
 Requests is the only *Non-GMO* HTTP library for Python, safe for human
 consumption.
 
-**Warning:** Recreational use of other HTTP libraries may result in dangerous side-effects,
+**Warning:** Recreational use of the Python standard library for HTTP may result in dangerous side-effects,
 including: security vulnerabilities, verbose code, reinventing the wheel,
 constantly reading documentation, depression, headaches, or even death.
 
@@ -29,18 +47,17 @@ Behold, the power of Requests:
 
 See `the similar code, sans Requests <https://gist.github.com/973705>`_.
 
-.. image:: http://docs.python-requests.org/en/master/_static/requests-sidebar.png
+.. image:: https://raw.githubusercontent.com/requests/requests/master/docs/_static/requests-logo-small.png
     :target: http://docs.python-requests.org/
 
 
 Requests allows you to send *organic, grass-fed* HTTP/1.1 requests, without the
 need for manual labor. There's no need to manually add query strings to your
 URLs, or to form-encode your POST data. Keep-alive and HTTP connection pooling
-are 100% automatic, powered by `urllib3 <https://github.com/shazow/urllib3>`_,
-which is embedded within Requests.
+are 100% automatic, thanks to `urllib3 <https://github.com/shazow/urllib3>`_.
 
 Besides, all the cool kids are doing it. Requests is one of the most
-downloaded Python packages of all time, pulling in over 7,000,000 downloads
+downloaded Python packages of all time, pulling in over 11,000,000 downloads
 every month. You don't want to be left out!
 
 Feature Support
@@ -63,9 +80,8 @@ Requests is ready for today's web.
 - Streaming Downloads
 - ``.netrc`` Support
 - Chunked Requests
-- Thread-safety
 
-Requests officially supports Python 2.6–2.7 & 3.3–3.5, and runs great on PyPy.
+Requests officially supports Python 2.6–2.7 & 3.3–3.7, and runs great on PyPy.
 
 Installation
 ------------
@@ -93,6 +109,6 @@ How to Contribute
 #. Write a test which shows that the bug was fixed or that the feature works as expected.
 #. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS_.
 
-.. _`the repository`: http://github.com/kennethreitz/requests
-.. _AUTHORS: https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst
-.. _Contributor Friendly: https://github.com/kennethreitz/requests/issues?direction=desc&labels=Contributor+Friendly&page=1&sort=updated&state=open
+.. _`the repository`: http://github.com/requests/requests
+.. _AUTHORS: https://github.com/requests/requests/blob/master/AUTHORS.rst
+.. _Contributor Friendly: https://github.com/requests/requests/issues?direction=desc&labels=Contributor+Friendly&page=1&sort=updated&state=open
diff --git a/pytest.ini b/pytest.ini
new file mode 100644
index 0000000..c1fa878
--- /dev/null
+++ b/pytest.ini
@@ -0,0 +1,2 @@
+[pytest]
+addopts = -p no:warnings
\ No newline at end of file
diff --git a/requests.egg-info/PKG-INFO b/requests.egg-info/PKG-INFO
index 4450171..cba1ce8 100644
--- a/requests.egg-info/PKG-INFO
+++ b/requests.egg-info/PKG-INFO
@@ -1,21 +1,39 @@
 Metadata-Version: 1.1
 Name: requests
-Version: 2.12.4
+Version: 2.18.1
 Summary: Python HTTP for Humans.
... 36450 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/requests.git



More information about the Python-modules-commits mailing list