136 Commits

Author SHA1 Message Date
Nate Prewitt bd840450c0 v2.20.0 2018-10-17 22:32:22 -07:00
Nate Prewitt 7fd9267b3b remove final remnants from 2.6 2018-10-17 00:18:51 -07:00
kennethreitz eea96f94d9 Update setup.py 2018-09-17 06:05:03 -04:00
juozasget b9dfc95cf2 Tuple test_requirements was too long, PEP8
Broken a long line into multiple lines inside tuple parenthesis.
2018-09-15 13:26:59 +03:00
Nate Prewitt 489f58ced5 represent classifiers as list instead of tuple 2018-08-06 23:04:50 -07:00
Eric Brown 6686ac1730 Add official Python 3.7 support (#4717)
* Add official Python 3.7 support

Python 3.7 was just released [1]. This is a small change to
enable support in requests.

Signed-off-by: Eric Brown <browne@vmware.com>
2018-07-24 07:44:37 -07:00
Nate Prewitt 991e8b76b7 v2.19.0
* 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.
2018-06-12 07:38:10 -07:00
Nate Prewitt de64f0f23f port pyopenssl fix from urllib3 2018-06-10 14:49:13 -07:00
Michael ac944b7439 Allow urllib3 1.23
https://github.com/urllib3/urllib3/blob/1.23/CHANGES.rst#123-2018-06-04
2018-06-05 12:06:03 +00:00
Pradyun Gedam 048c926b46 README is in ReST 2018-05-07 00:23:38 +05:30
Pradyun Gedam 5f306dbe99 Add long_description_content_type to setup.py
See:
- https://packaging.python.org/guides/making-a-pypi-friendly-readme/
- https://pypi.org/p/requests/
2018-05-04 16:43:25 +05:30
Jon Dufresne 7cefa939f5 Pass python_requires argument to setuptools
Helps pip decide what version of the library to install.

https://packaging.python.org/tutorials/distributing-packages/#python-requires

> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.

https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords

> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
2018-01-12 16:39:10 -08:00
Jon Dufresne c14bd018ad Add missing trove classifier to document Python2 support 2017-10-15 19:48:10 -07:00
kennethreitz 96b9a3f0fc Update setup.py 2017-08-28 12:25:26 -04:00
Cory Benfield 0a2dc74ecb Drop Python 3.3 support 2017-08-09 19:03:04 +01:00
Cory Benfield f4ddf00c36 Allow IDNA 2.6 2017-08-08 13:32:15 +01:00
Cory Benfield 8d1228cd19 Allow urllib3 1.22 2017-07-20 10:08:50 +01:00
Jacob Mansfield 98bbf8d170 Catch error if multiprocessing is not available or is unable to determine the number of CPUs 2017-05-30 13:47:55 +01:00
kennethreitz e6e3589c36 number of cores for travis 2017-05-28 12:14:27 -04:00
kennethreitz 679d368e3e setup.py improvements 2017-05-27 23:27:38 -04:00
kennethreitz 68fda6bcf2 see if that fixes things 2017-05-27 23:07:24 -04:00
kennethreitz cd4c701186 xdist 2017-05-27 19:57:40 -04:00
kennethreitz 03e5f5daf3 socks needed for tests 2017-05-27 19:16:16 -04:00
kennethreitz a44284c045 cleanup version.py 2017-05-27 12:41:11 -04:00
kennethreitz 28666e5d3a vastly simpify making packages available for backwards compatibility 2017-05-27 10:49:57 -04:00
kennethreitz ecaa10543f fix setup.py 2017-05-27 10:33:10 -04:00
kennethreitz 908c3b01ee restore packages to setup.py 2017-05-27 10:32:56 -04:00
kennethreitz 628633143d require certifi 2017-05-26 22:46:46 -04:00
kennethreitz 1ea27b3564 add install_requires 2017-05-26 22:44:56 -04:00
kennethreitz 0aee483497 fix setup.py 2017-05-26 21:43:03 -04:00
kennethreitz 14d6fa1472 __version__.py 2017-05-25 20:07:38 -04:00
Ian Cordasco e038aad3cc Avoid breaking people using requests.__version__
Using __version__ as a module breaks users who expect
requests.__version__ to be the version string.
2017-05-25 18:44:30 -05:00
kennethreitz 7abfd92aea take a page out of @sigmavirus42's book 2017-05-25 11:46:12 -04:00
kennethreitz e634ab73b2 better '' 2017-05-25 11:33:04 -04:00
kennethreitz 3e32356716 __version__.py 2017-05-25 11:31:38 -04:00
Cory Benfield f3d310b299 Turns out @kennethreitz suprise-broke the CI 2017-05-24 10:20:07 -07:00
Cory Benfield f3f4c3e20a Remove range operators from markers 2017-05-10 14:19:46 +01:00
Cory Benfield 800a074b5d Use sys_platform instead of platform_system
This is more compatible as a marker and so will break fewer people.
2017-05-09 19:10:31 +01:00
Cory Benfield 4bad52caa2 Update chardet to v3.0.2 2017-05-09 09:34:51 +01:00
Cory Benfield d49f3e258c Update urllib3 to v1.21.1 2017-05-09 09:21:08 +01:00
Cory Benfield d89f8c0d70 Fix up Appveyor testing 2017-05-03 13:19:46 +01:00
Andrii Soldatenko 2bcaff99ea Added python 3.6.0 2017-01-09 00:40:32 +02:00
Adam Williamson 33b29be8cf Require pytest-mock for the tests
test_requests.py `test_session_close_proxy_clear` uses the
`mocker` fixture, which is provided by pytest-mock.
2016-12-30 09:40:12 -08:00
Cory Benfield 9ec3478469 Change setuptools extra for new secure extra. 2016-11-16 10:31:39 +00:00
Cory Benfield 50486cf2be Merge pull request #3620 from Lukasa/better-idna
Better support for internationalized domain names.
2016-10-21 13:09:04 +01:00
Cory Benfield f19d30a670 Seems like we're missing a backport here. 2016-10-14 10:58:26 +01:00
Cory Benfield 49b69b57db Various packaging requirements for idna 2016-10-14 10:21:24 +01:00
Ferhat dedf9064c6 pysocks 1.5.7 blacklisting, due to IPv6 problems 2016-09-05 18:28:57 +02:00
kennethreitz 39d6935488 Merge pull request #2953 from Lukasa/socks_proxy_support
SOCKS Proxy Support
2016-04-29 18:03:04 -04:00
Dmitry Dygalo 1c5c6eeb7a Fixed test execution. 2016-02-03 21:19:20 +01:00