118 Commits

Author SHA1 Message Date
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
kennethreitz 90688c68ad cleanup setup.py from #2991 2016-02-03 03:37:52 -05:00
Dmitry Dygalo 6c2942b198 Initial work 2016-02-02 13:24:05 +01:00
Ian Cordasco 5f2fef5bb5 Stop falling back to distutils in setup.py
distutils has been deprecated for years now and pip is refusing to install
projects using it. As such, *some* users are reporting problems installing
requests. Let's avoid this entirely by not falling back to distutils at all.
2016-01-20 07:51:42 -06:00
Cory Benfield a3acd30bcc Socks extra 2015-12-31 09:19:45 +00:00
Philip Lorenz 6597b53834 Specify minimum pyOpenSSL version
urllib3 requires "set_tlsext_host_name" which was only added in
pyOpenSSL 0.13. As some distributions (e.g. Ubuntu 12.04) still ship an
older version enforce the correct minimum version during installation.
2015-11-19 20:05:03 +01:00
Cory Benfield 4dffe5efaa Update trove classifiers. 2015-11-05 10:38:25 +00:00
deronnax 1145fe64a5 matching the version only at the begining of lines 2015-03-26 15:53:19 +01:00
deronnax ce234d53a5 shorter and faster version extraction from __init__.py 2015-03-25 18:21:34 +01:00
Ian Cordasco 1acc4992d4 Parse version number out of requests/__init__.py
With the new import machinery in requests/packages/__init__.py people
using `python setup.py test` will not be able to run the tests the first
time on a new environment. The VendorAlias logic breaks the import
machinery and the tests fail. By removing the import of requests in
setup.py, we avoid the issue where sys.meta_path continues to have the
version of VendorAlias from the import in setup.py.

Closes #2462
2015-03-13 21:47:29 -05:00
kennethreitz 359659cf4b Merge pull request #2203 from Lukasa/remove_certifi
Remove hard certifi dependency and document.
2014-09-05 08:11:57 -07:00
kennethreitz 0df32de02d Merge pull request #2199 from mtorromeo/patch-1
Open README and HISTORY as utf-8 encoded files (fixes #2196)
2014-09-04 11:41:46 -07:00
Cory Benfield a77054f90f Remove hard certifi dependency and document. 2014-09-04 19:40:15 +01:00
Kenneth Reitz 958845ae35 requests[security] 2014-09-04 11:37:45 -07:00
Massimiliano Torromeo 226b5c7b0a Open README and HISTORY as utf-8 encoded files (fixes #2196) 2014-09-03 09:40:27 +02:00
Ian Cordasco c809867035 Add betterssl extra 2014-08-29 16:39:22 -05:00
Kenneth Reitz d22b8d8e7e 3.4 classifier 2014-08-28 13:10:26 -04:00
Cory Benfield 52facc7984 Install certifi with requests. 2014-07-10 21:49:31 +01:00
Cory Benfield b8049ba201 Add urllib3 util package to setup.py. 2014-04-29 18:50:38 +01:00