url
stringlengths
50
53
repository_url
stringclasses
1 value
labels_url
stringlengths
64
67
comments_url
stringlengths
59
62
events_url
stringlengths
57
60
html_url
stringlengths
38
43
id
int64
597k
2.65B
node_id
stringlengths
18
32
number
int64
1
6.83k
title
stringlengths
1
296
user
dict
labels
listlengths
0
5
state
stringclasses
2 values
locked
bool
2 classes
assignee
dict
assignees
listlengths
0
4
milestone
dict
comments
int64
0
211
created_at
stringlengths
20
20
updated_at
stringlengths
20
20
closed_at
stringlengths
20
20
author_association
stringclasses
3 values
active_lock_reason
stringclasses
4 values
body
stringlengths
0
65.6k
closed_by
dict
reactions
dict
timeline_url
stringlengths
59
62
performed_via_github_app
null
state_reason
stringclasses
3 values
draft
bool
2 classes
pull_request
dict
is_pull_request
bool
2 classes
issue_comments
listlengths
0
30
https://api.github.com/repos/psf/requests/issues/4161
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4161/labels{/name}
https://api.github.com/repos/psf/requests/issues/4161/comments
https://api.github.com/repos/psf/requests/issues/4161/events
https://github.com/psf/requests/issues/4161
236,249,215
MDU6SXNzdWUyMzYyNDkyMTU=
4,161
Content-Length header issue
{ "avatar_url": "https://avatars.githubusercontent.com/u/29462250?v=4", "events_url": "https://api.github.com/users/Lsup27/events{/privacy}", "followers_url": "https://api.github.com/users/Lsup27/followers", "following_url": "https://api.github.com/users/Lsup27/following{/other_user}", "gists_url": "https://api.github.com/users/Lsup27/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lsup27", "id": 29462250, "login": "Lsup27", "node_id": "MDQ6VXNlcjI5NDYyMjUw", "organizations_url": "https://api.github.com/users/Lsup27/orgs", "received_events_url": "https://api.github.com/users/Lsup27/received_events", "repos_url": "https://api.github.com/users/Lsup27/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lsup27/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lsup27/subscriptions", "type": "User", "url": "https://api.github.com/users/Lsup27", "user_view_type": "public" }
[ { "color": "fef2c0", "default": false, "description": null, "id": 298537994, "name": "Needs More Information", "node_id": "MDU6TGFiZWwyOTg1Mzc5OTQ=", "url": "https://api.github.com/repos/psf/requests/labels/Needs%20More%20Information" } ]
closed
true
null
[]
null
2
2017-06-15T16:37:42Z
2021-09-08T08:00:31Z
2017-07-29T22:46:29Z
NONE
resolved
I have used remove property for the header property Content-Length as I dont want to have the response from the backend truncated. But curious enough when I call the API, sometimes the content-length property is removed and sometimes it is not. Why is this behavior observed. I included the remove property line after the call is made to backend and we get the response.
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4161/reactions" }
https://api.github.com/repos/psf/requests/issues/4161/timeline
null
completed
null
null
false
[ "Can you show me some sample code and what you expect to see, vs what you actually see?", "This hasn't been updated in well over a month. Without further detail, there's nothing we can do. I'm closing this for now but if you have the extra detail that can help us help you, then we'll reopen it." ]
https://api.github.com/repos/psf/requests/issues/4160
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4160/labels{/name}
https://api.github.com/repos/psf/requests/issues/4160/comments
https://api.github.com/repos/psf/requests/issues/4160/events
https://github.com/psf/requests/issues/4160
235,944,582
MDU6SXNzdWUyMzU5NDQ1ODI=
4,160
requests 2.18.0 breaks docker-py
{ "avatar_url": "https://avatars.githubusercontent.com/u/3217783?v=4", "events_url": "https://api.github.com/users/chenww/events{/privacy}", "followers_url": "https://api.github.com/users/chenww/followers", "following_url": "https://api.github.com/users/chenww/following{/other_user}", "gists_url": "https://api.github.com/users/chenww/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chenww", "id": 3217783, "login": "chenww", "node_id": "MDQ6VXNlcjMyMTc3ODM=", "organizations_url": "https://api.github.com/users/chenww/orgs", "received_events_url": "https://api.github.com/users/chenww/received_events", "repos_url": "https://api.github.com/users/chenww/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chenww/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chenww/subscriptions", "type": "User", "url": "https://api.github.com/users/chenww", "user_view_type": "public" }
[]
closed
true
null
[]
null
12
2017-06-14T16:54:51Z
2018-06-27T19:05:34Z
2017-06-14T17:52:39Z
NONE
resolved
Summary. Got bitten right after this new requests version released. When I run with docker-py, it is fine before. now it is complaining : Error while fetching server API version: Timeout value connect was Timeout(connect=60, read=60, total=None), but it must be an int, float or None. ## Expected Result backward compatibility should be maintained from requests module What you expected. ## Actual Result # python Python 2.7.5 (default, Nov 6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import docker >>> c = docker.Client(base_url='unix://var/run/docker.sock', version='1.15', timeout=2.0) >>> l = c.containers(all=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/docker/api/container.py", line 85, in containers res = self._result(self._get(u, params=params), True) File "/usr/lib/python2.7/site-packages/docker/utils/decorators.py", line 47, in inner return f(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/docker/client.py", line 139, in _get return self.get(url, **self._set_request_timeout(kwargs)) File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 515, in get return self.request('GET', url, **kwargs) File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 502, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 612, in send r = adapter.send(request, **kwargs) File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 440, in send timeout=timeout File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 587, in urlopen timeout_obj = self._get_timeout(timeout) File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 302, in _get_timeout return Timeout.from_float(timeout) File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/util/timeout.py", line 154, in from_float return Timeout(read=timeout, connect=timeout) File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/util/timeout.py", line 94, in __init__ self._connect = self._validate_timeout(connect, 'connect') File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/util/timeout.py", line 127, in _validate_timeout "int, float or None." % (name, value)) ValueError: Timeout value connect was Timeout(connect=2.0, read=2.0, total=None), but it must be an int, float or None. ## Reproduction Steps # pip install requests==2.17.3 Collecting requests==2.17.3 Using cached requests-2.17.3-py2.py3-none-any.whl Requirement already satisfied (use --upgrade to upgrade): chardet<3.1.0,>=3.0.2 in /usr/lib/python2.7/site-packages (from requests==2.17.3) Requirement already satisfied (use --upgrade to upgrade): certifi>=2017.4.17 in /usr/lib/python2.7/site-packages (from requests==2.17.3) Requirement already satisfied (use --upgrade to upgrade): idna<2.6,>=2.5 in /usr/lib/python2.7/site-packages (from requests==2.17.3) Requirement already satisfied (use --upgrade to upgrade): urllib3<1.22,>=1.21.1 in /usr/lib/python2.7/site-packages (from requests==2.17.3) Installing collected packages: requests Found existing installation: requests 2.18.0 Uninstalling requests-2.18.0: Successfully uninstalled requests-2.18.0 Successfully installed requests-2.17.3 You are using pip version 8.1.2, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. [root@bootserver-do-not-delete ~]# python Python 2.7.5 (default, Nov 6 2016, 00:28:07) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import docker >>> c = docker.Client(base_url='unix://var/run/docker.sock', version='1.15', timeout=2.0) >>> l = c.containers(all=True) this works ## System Information $ python -m requests.help $ python -m requests.help { "chardet": { "version": "3.0.4" }, "cryptography": { "version": "" }, "implementation": { "name": "CPython", "version": "2.7.5" }, "platform": { "release": "3.10.0-514.21.1.el7.x86_64", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.18.0" }, "system_ssl": { "version": "1000105f" }, "urllib3": { "version": "1.21.1" }, "using_pyopenssl": false } ``` <paste here> ```
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4160/reactions" }
https://api.github.com/repos/psf/requests/issues/4160/timeline
null
completed
null
null
false
[ "Well this is *extremely* perplexing. It seems like the fix that landed in 2.17.3 to resolve the packages problem is not present in 2.18. I have *no idea* what has happened here, because none of the diff between the 2.17.3 tag and the 2.18 tag contains anything that looks like it'd affect this.", "Ok, got it. Thi...
https://api.github.com/repos/psf/requests/issues/4159
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4159/labels{/name}
https://api.github.com/repos/psf/requests/issues/4159/comments
https://api.github.com/repos/psf/requests/issues/4159/events
https://github.com/psf/requests/issues/4159
235,943,752
MDU6SXNzdWUyMzU5NDM3NTI=
4,159
requests 2.18.0 installation with easy-install
{ "avatar_url": "https://avatars.githubusercontent.com/u/244702?v=4", "events_url": "https://api.github.com/users/papachoco/events{/privacy}", "followers_url": "https://api.github.com/users/papachoco/followers", "following_url": "https://api.github.com/users/papachoco/following{/other_user}", "gists_url": "https://api.github.com/users/papachoco/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/papachoco", "id": 244702, "login": "papachoco", "node_id": "MDQ6VXNlcjI0NDcwMg==", "organizations_url": "https://api.github.com/users/papachoco/orgs", "received_events_url": "https://api.github.com/users/papachoco/received_events", "repos_url": "https://api.github.com/users/papachoco/repos", "site_admin": false, "starred_url": "https://api.github.com/users/papachoco/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/papachoco/subscriptions", "type": "User", "url": "https://api.github.com/users/papachoco", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2017-06-14T16:51:39Z
2021-09-08T08:00:31Z
2017-07-29T22:41:12Z
NONE
resolved
Summary. For legacy (easy-install / buildout) installations the egg and / or source for requests 2.18.0 is not being pick up. Not sure if this an issue with pypi since the source is listed e.g. easy_install-2.7 -U requests==2.18.0 Searching for requests==2.18.0 Reading https://pypi.python.org/simple/requests/ No local packages or working download links found for requests==2.18.0 error: Could not find suitable distribution for Requirement.parse('requests==2.18.0') Thanks Carlos
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4159/reactions" }
https://api.github.com/repos/psf/requests/issues/4159/timeline
null
completed
null
null
false
[ "This seems like it's an issue with PyPI caching. @dstufft?", "pip works fine", "This isn't an issue with Requests. The source distribution is on PyPI: https://pypi.org/project/requests/2.18.0/#files\r\n\r\nI genuinely think this is an issue with setuptools and this hasn't ben updated in over a month. I'm closi...
https://api.github.com/repos/psf/requests/issues/4158
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4158/labels{/name}
https://api.github.com/repos/psf/requests/issues/4158/comments
https://api.github.com/repos/psf/requests/issues/4158/events
https://github.com/psf/requests/issues/4158
235,843,523
MDU6SXNzdWUyMzU4NDM1MjM=
4,158
Making requests to URLs with username and password does not respect no_proxy evironment settings
{ "avatar_url": "https://avatars.githubusercontent.com/u/19623656?v=4", "events_url": "https://api.github.com/users/hodossy/events{/privacy}", "followers_url": "https://api.github.com/users/hodossy/followers", "following_url": "https://api.github.com/users/hodossy/following{/other_user}", "gists_url": "https://api.github.com/users/hodossy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hodossy", "id": 19623656, "login": "hodossy", "node_id": "MDQ6VXNlcjE5NjIzNjU2", "organizations_url": "https://api.github.com/users/hodossy/orgs", "received_events_url": "https://api.github.com/users/hodossy/received_events", "repos_url": "https://api.github.com/users/hodossy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hodossy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hodossy/subscriptions", "type": "User", "url": "https://api.github.com/users/hodossy", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-06-14T11:08:55Z
2021-09-08T04:00:51Z
2018-01-16T14:07:27Z
NONE
resolved
## Summary When determining whether proxies should be bypassed or not, netloc is considered, however it contains the username and password separated by a colon, thus proxy settings cannot be applied, as the either username or host[:port] is checked among the no_proxy hosts. ## Expected Result Proxy settings are respected ## Actual Result Following errors are thrown: ``` OSError: Tunnel connection failed: 504 Gateway Timeout urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='localhost', port=8080): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 504 Gateway Timeout',))) ``` ## Reproduction Steps ```python import requests import os os.environ['https_proxy'] = #insert your proxy here os.environ['no_proxy'] = 'localhost,127.0.0.1' requests.get('https://username:password@localhost:8080/') ``` ## System Information $ python -m requests.help ``` { "chardet": { "version": "3.0.3" }, "cryptography": { "version": "" }, "implementation": { "name": "CPython", "version": "3.6.0" }, "platform": { "release": "3.16.0-4-amd64", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.17.3" }, "system_ssl": { "version": "1000114f" }, "urllib3": { "version": "1.21.1" }, "using_pyopenssl": false } ``` ## Workaround proxies kwarg can be used to bypass this issue, e.g. by setting {'https': None}. Should be used with caution. ### Problem in my opinion: should_bypass_proxies(url, no_proxy) function in utils.py: network location is used, which matches the following pattern: [user[:password]@]host[:port] - ip is determined based on ':' position, which is not valid in this case, as ip will be the username: `ip = netloc.split(':')[0]` - when checking if proxy should be applied, two things are checked: `if netloc.endswith(host) or netloc.split(':')[0].endswith(host):`, neither of which will be true, as host may not contain port, and username surely does not end with the host. I propose to use `domain = urlparse(url).hostname` instead of `netloc = urlparse(url).netloc` when checking against the no_proxy environment variable.
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4158/reactions" }
https://api.github.com/repos/psf/requests/issues/4158/timeline
null
completed
null
null
false
[ "Yup, this seems incorrect to me. I'd welcome a patch to resolve this problem." ]
https://api.github.com/repos/psf/requests/issues/4157
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4157/labels{/name}
https://api.github.com/repos/psf/requests/issues/4157/comments
https://api.github.com/repos/psf/requests/issues/4157/events
https://github.com/psf/requests/issues/4157
235,781,796
MDU6SXNzdWUyMzU3ODE3OTY=
4,157
with requests.get(url, stream=True) as r AttributeError('__exit__',)
{ "avatar_url": "https://avatars.githubusercontent.com/u/7598892?v=4", "events_url": "https://api.github.com/users/beruhan/events{/privacy}", "followers_url": "https://api.github.com/users/beruhan/followers", "following_url": "https://api.github.com/users/beruhan/following{/other_user}", "gists_url": "https://api.github.com/users/beruhan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/beruhan", "id": 7598892, "login": "beruhan", "node_id": "MDQ6VXNlcjc1OTg4OTI=", "organizations_url": "https://api.github.com/users/beruhan/orgs", "received_events_url": "https://api.github.com/users/beruhan/received_events", "repos_url": "https://api.github.com/users/beruhan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/beruhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/beruhan/subscriptions", "type": "User", "url": "https://api.github.com/users/beruhan", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-06-14T07:05:55Z
2021-09-08T08:00:44Z
2017-06-14T07:13:33Z
NONE
resolved
I read the python-requests doc,[http://docs.python-requests.org/en/master/user/advanced/#body-content-workflow](url),I run the example`with requests.get('http://httpbin.org/get', stream=True) as r: pass`,I get the exception 'AttributeError('__exit__',)',is the example left closing clause?
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4157/reactions" }
https://api.github.com/repos/psf/requests/issues/4157/timeline
null
completed
null
null
false
[ "Sorry, no: that feature is going to be released today." ]
https://api.github.com/repos/psf/requests/issues/4156
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4156/labels{/name}
https://api.github.com/repos/psf/requests/issues/4156/comments
https://api.github.com/repos/psf/requests/issues/4156/events
https://github.com/psf/requests/issues/4156
235,692,900
MDU6SXNzdWUyMzU2OTI5MDA=
4,156
http2 protocol support?
{ "avatar_url": "https://avatars.githubusercontent.com/u/1790880?v=4", "events_url": "https://api.github.com/users/kgk/events{/privacy}", "followers_url": "https://api.github.com/users/kgk/followers", "following_url": "https://api.github.com/users/kgk/following{/other_user}", "gists_url": "https://api.github.com/users/kgk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kgk", "id": 1790880, "login": "kgk", "node_id": "MDQ6VXNlcjE3OTA4ODA=", "organizations_url": "https://api.github.com/users/kgk/orgs", "received_events_url": "https://api.github.com/users/kgk/received_events", "repos_url": "https://api.github.com/users/kgk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kgk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kgk/subscriptions", "type": "User", "url": "https://api.github.com/users/kgk", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2017-06-13T21:06:33Z
2021-09-08T08:00:44Z
2017-06-14T06:02:14Z
NONE
resolved
Some servers are moving http2 for better performance. What would it take to have that in the requests library?
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4156/reactions" }
https://api.github.com/repos/psf/requests/issues/4156/timeline
null
completed
null
null
false
[ "In the works!", "ETA: 1.5 years-ish. ", "The TL;DR here is that HTTP/2 is appallingly unpleasant to work with from synchronous codebases like Requests. This means to add support requires substantial architectural changes. " ]
https://api.github.com/repos/psf/requests/issues/4155
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4155/labels{/name}
https://api.github.com/repos/psf/requests/issues/4155/comments
https://api.github.com/repos/psf/requests/issues/4155/events
https://github.com/psf/requests/issues/4155
235,689,020
MDU6SXNzdWUyMzU2ODkwMjA=
4,155
Multiple values in a single param as list
{ "avatar_url": "https://avatars.githubusercontent.com/u/10487167?v=4", "events_url": "https://api.github.com/users/mayukh18/events{/privacy}", "followers_url": "https://api.github.com/users/mayukh18/followers", "following_url": "https://api.github.com/users/mayukh18/following{/other_user}", "gists_url": "https://api.github.com/users/mayukh18/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mayukh18", "id": 10487167, "login": "mayukh18", "node_id": "MDQ6VXNlcjEwNDg3MTY3", "organizations_url": "https://api.github.com/users/mayukh18/orgs", "received_events_url": "https://api.github.com/users/mayukh18/received_events", "repos_url": "https://api.github.com/users/mayukh18/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mayukh18/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mayukh18/subscriptions", "type": "User", "url": "https://api.github.com/users/mayukh18", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-06-13T20:51:59Z
2021-09-08T08:00:45Z
2017-06-13T21:11:52Z
NONE
resolved
I don't know if this has already been discussed earlier. ### What happens now `GET "https://graph.facebook.com/v2.6/USER_ID?fields=first_name,last_name,gender&access_token=PAGE_ACCESS_TOKEN"` is done with the help using requests by `r = requests.get('https://graph.facebook.com/v2.6/' + USER_ID, params={ 'fields': 'first_name,last_name,gender', 'access_token': PAGE_ACCESS_TOKEN )})` ### Preferred way of doing it `r = requests.get('https://graph.facebook.com/v2.6/' + USER_ID, params={ 'fields': [ 'first_name', 'last_name', 'gender'], 'access_token': PAGE_ACCESS_TOKEN )})` I feel this will be a more pythonic way to do it if that is even a word. When I was working on it I found the existing solution not so user friendly. I would love to take this up and contribute.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4155/reactions" }
https://api.github.com/repos/psf/requests/issues/4155/timeline
null
completed
null
null
false
[ "Thanks for your enthusiasm! Unfortunately there is no standard for handling a list of values, and multiple possible ways to represent them. For this reason Requests largely remains neutral on them: if you pass us a list, we'll just encode them all separately. Given that we have a pre-existing behaviour for this sy...
https://api.github.com/repos/psf/requests/issues/4154
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4154/labels{/name}
https://api.github.com/repos/psf/requests/issues/4154/comments
https://api.github.com/repos/psf/requests/issues/4154/events
https://github.com/psf/requests/issues/4154
235,365,747
MDU6SXNzdWUyMzUzNjU3NDc=
4,154
urllib3.exceptions.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)
{ "avatar_url": "https://avatars.githubusercontent.com/u/29382637?v=4", "events_url": "https://api.github.com/users/MisterE0/events{/privacy}", "followers_url": "https://api.github.com/users/MisterE0/followers", "following_url": "https://api.github.com/users/MisterE0/following{/other_user}", "gists_url": "https://api.github.com/users/MisterE0/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MisterE0", "id": 29382637, "login": "MisterE0", "node_id": "MDQ6VXNlcjI5MzgyNjM3", "organizations_url": "https://api.github.com/users/MisterE0/orgs", "received_events_url": "https://api.github.com/users/MisterE0/received_events", "repos_url": "https://api.github.com/users/MisterE0/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MisterE0/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MisterE0/subscriptions", "type": "User", "url": "https://api.github.com/users/MisterE0", "user_view_type": "public" }
[]
closed
true
null
[]
null
6
2017-06-12T21:06:34Z
2021-09-08T08:00:45Z
2017-06-13T05:49:05Z
NONE
resolved
I am receiving a bad handshake error when attempting to access a specific site. From my very limited understanding, I am assuming that this error arises during hello message phase, however, I am having difficulties understanding the error and how to proceed with resolving this error. Using Chrome the selected cipher suite is: Cipher Suite: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (0xc030) I have tried doing pip install -U requests[security] but the error persists. ## Actual Result Traceback (most recent call last): File "E:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen chunked=chunked) File "E:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 345, in _make_request self._validate_conn(conn) File "E:\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 844, in _validate_conn conn.connect() File "E:\Miniconda3\lib\site-packages\urllib3\connection.py", line 326, in connect ssl_context=context) File "E:\Miniconda3\lib\site-packages\urllib3\util\ssl_.py", line 325, in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) File "E:\Miniconda3\lib\site-packages\urllib3\contrib\pyopenssl.py", line 445, in wrap_socket raise ssl.SSLError('bad handshake: %r' % e) ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",) ## System Information $ python -m requests.help ``` { "chardet": { "version": "3.0.4" }, "cryptography": { "version": "1.9" }, "implementation": { "name": "CPython", "version": "3.6.0" }, "platform": { "release": "10", "system": "Windows" }, "pyOpenSSL": { "openssl_version": "1010006f", "version": "17.0.0" }, "requests": { "version": "2.17.3" }, "system_ssl": { "version": "100020af" }, "urllib3": { "version": "1.21.1" }, "using_pyopenssl": true } ```
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4154/reactions" }
https://api.github.com/repos/psf/requests/issues/4154/timeline
null
completed
null
null
false
[ "Huh, this is quite a surprise: it looks like your environment is fine. Can you try installing literally *just* Requests in an environment (no PyOpenSSL) and see if that can reach the host?", "Thank you kindly for the reply. \r\n\r\nWithout PyOpenSSL I receive the following error:\r\nssl.SSLEOFError: EOF occurred...
https://api.github.com/repos/psf/requests/issues/4153
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4153/labels{/name}
https://api.github.com/repos/psf/requests/issues/4153/comments
https://api.github.com/repos/psf/requests/issues/4153/events
https://github.com/psf/requests/issues/4153
235,101,481
MDU6SXNzdWUyMzUxMDE0ODE=
4,153
how to post multi same name k-v to website?
{ "avatar_url": "https://avatars.githubusercontent.com/u/15062548?v=4", "events_url": "https://api.github.com/users/cxgreat2014/events{/privacy}", "followers_url": "https://api.github.com/users/cxgreat2014/followers", "following_url": "https://api.github.com/users/cxgreat2014/following{/other_user}", "gists_url": "https://api.github.com/users/cxgreat2014/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cxgreat2014", "id": 15062548, "login": "cxgreat2014", "node_id": "MDQ6VXNlcjE1MDYyNTQ4", "organizations_url": "https://api.github.com/users/cxgreat2014/orgs", "received_events_url": "https://api.github.com/users/cxgreat2014/received_events", "repos_url": "https://api.github.com/users/cxgreat2014/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cxgreat2014/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cxgreat2014/subscriptions", "type": "User", "url": "https://api.github.com/users/cxgreat2014", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-06-12T00:14:23Z
2021-09-08T09:00:34Z
2017-06-12T01:04:31Z
NONE
resolved
like this: ![image](https://user-images.githubusercontent.com/15062548/27015666-cf744fca-4f46-11e7-8068-a9fc2c0fa917.png) this post data have 3 key name 'tags[]' and value is not same, how to use requests post data like this?
{ "avatar_url": "https://avatars.githubusercontent.com/u/15062548?v=4", "events_url": "https://api.github.com/users/cxgreat2014/events{/privacy}", "followers_url": "https://api.github.com/users/cxgreat2014/followers", "following_url": "https://api.github.com/users/cxgreat2014/following{/other_user}", "gists_url": "https://api.github.com/users/cxgreat2014/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cxgreat2014", "id": 15062548, "login": "cxgreat2014", "node_id": "MDQ6VXNlcjE1MDYyNTQ4", "organizations_url": "https://api.github.com/users/cxgreat2014/orgs", "received_events_url": "https://api.github.com/users/cxgreat2014/received_events", "repos_url": "https://api.github.com/users/cxgreat2014/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cxgreat2014/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cxgreat2014/subscriptions", "type": "User", "url": "https://api.github.com/users/cxgreat2014", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4153/reactions" }
https://api.github.com/repos/psf/requests/issues/4153/timeline
null
completed
null
null
false
[ "find answer in https://stackoverflow.com/questions/26444557/how-to-submit-multiple-files-with-the-same-post-name-with-requests\r\n\r\n```\r\ndata = {'raw','this is a test', 'title':'test test test', 'tags[]': ['test', 'submit', 'tool']}\r\nrequests.post('example.com', data)\r\n```\r\nwish add it to docs" ]
https://api.github.com/repos/psf/requests/issues/4152
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4152/labels{/name}
https://api.github.com/repos/psf/requests/issues/4152/comments
https://api.github.com/repos/psf/requests/issues/4152/events
https://github.com/psf/requests/pull/4152
235,079,597
MDExOlB1bGxSZXF1ZXN0MTI1MDMzNDU2
4,152
Fix a typo: paramters -> parameters
{ "avatar_url": "https://avatars.githubusercontent.com/u/1006477?v=4", "events_url": "https://api.github.com/users/felixonmars/events{/privacy}", "followers_url": "https://api.github.com/users/felixonmars/followers", "following_url": "https://api.github.com/users/felixonmars/following{/other_user}", "gists_url": "https://api.github.com/users/felixonmars/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/felixonmars", "id": 1006477, "login": "felixonmars", "node_id": "MDQ6VXNlcjEwMDY0Nzc=", "organizations_url": "https://api.github.com/users/felixonmars/orgs", "received_events_url": "https://api.github.com/users/felixonmars/received_events", "repos_url": "https://api.github.com/users/felixonmars/repos", "site_admin": false, "starred_url": "https://api.github.com/users/felixonmars/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/felixonmars/subscriptions", "type": "User", "url": "https://api.github.com/users/felixonmars", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-06-11T17:27:19Z
2021-09-05T00:07:13Z
2017-06-11T17:34:36Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4152/reactions" }
https://api.github.com/repos/psf/requests/issues/4152/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4152.diff", "html_url": "https://github.com/psf/requests/pull/4152", "merged_at": "2017-06-11T17:34:36Z", "patch_url": "https://github.com/psf/requests/pull/4152.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4152" }
true
[]
https://api.github.com/repos/psf/requests/issues/4151
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4151/labels{/name}
https://api.github.com/repos/psf/requests/issues/4151/comments
https://api.github.com/repos/psf/requests/issues/4151/events
https://github.com/psf/requests/pull/4151
235,033,448
MDExOlB1bGxSZXF1ZXN0MTI1MDA4MDk3
4,151
Remove exec permission from files that shouldn't have it
{ "avatar_url": "https://avatars.githubusercontent.com/u/1441325?v=4", "events_url": "https://api.github.com/users/justinmayhew/events{/privacy}", "followers_url": "https://api.github.com/users/justinmayhew/followers", "following_url": "https://api.github.com/users/justinmayhew/following{/other_user}", "gists_url": "https://api.github.com/users/justinmayhew/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/justinmayhew", "id": 1441325, "login": "justinmayhew", "node_id": "MDQ6VXNlcjE0NDEzMjU=", "organizations_url": "https://api.github.com/users/justinmayhew/orgs", "received_events_url": "https://api.github.com/users/justinmayhew/received_events", "repos_url": "https://api.github.com/users/justinmayhew/repos", "site_admin": false, "starred_url": "https://api.github.com/users/justinmayhew/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/justinmayhew/subscriptions", "type": "User", "url": "https://api.github.com/users/justinmayhew", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-06-10T23:47:57Z
2021-09-05T00:07:14Z
2017-06-11T09:26:52Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4151/reactions" }
https://api.github.com/repos/psf/requests/issues/4151/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4151.diff", "html_url": "https://github.com/psf/requests/pull/4151", "merged_at": "2017-06-11T09:26:52Z", "patch_url": "https://github.com/psf/requests/pull/4151.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4151" }
true
[]
https://api.github.com/repos/psf/requests/issues/4150
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4150/labels{/name}
https://api.github.com/repos/psf/requests/issues/4150/comments
https://api.github.com/repos/psf/requests/issues/4150/events
https://github.com/psf/requests/pull/4150
234,989,049
MDExOlB1bGxSZXF1ZXN0MTI0OTgzMjYw
4,150
delete prepare_auth func uless param
{ "avatar_url": "https://avatars.githubusercontent.com/u/10242001?v=4", "events_url": "https://api.github.com/users/phantooom/events{/privacy}", "followers_url": "https://api.github.com/users/phantooom/followers", "following_url": "https://api.github.com/users/phantooom/following{/other_user}", "gists_url": "https://api.github.com/users/phantooom/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phantooom", "id": 10242001, "login": "phantooom", "node_id": "MDQ6VXNlcjEwMjQyMDAx", "organizations_url": "https://api.github.com/users/phantooom/orgs", "received_events_url": "https://api.github.com/users/phantooom/received_events", "repos_url": "https://api.github.com/users/phantooom/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phantooom/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phantooom/subscriptions", "type": "User", "url": "https://api.github.com/users/phantooom", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-06-10T08:27:18Z
2021-09-05T00:07:12Z
2017-06-10T08:49:18Z
NONE
resolved
url is a useless param.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4150/reactions" }
https://api.github.com/repos/psf/requests/issues/4150/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4150.diff", "html_url": "https://github.com/psf/requests/pull/4150", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4150.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4150" }
true
[ "Thanks for this!\r\n\r\nHowever, while we don't use this it's possible that anyone subclassing might. I'm very reluctant to remove this with no good reason, as it's definitely a breaking change." ]
https://api.github.com/repos/psf/requests/issues/4149
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4149/labels{/name}
https://api.github.com/repos/psf/requests/issues/4149/comments
https://api.github.com/repos/psf/requests/issues/4149/events
https://github.com/psf/requests/issues/4149
234,978,301
MDU6SXNzdWUyMzQ5NzgzMDE=
4,149
Cannot find reference 'urllib3' in packages.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/26851112?v=4", "events_url": "https://api.github.com/users/arthur17/events{/privacy}", "followers_url": "https://api.github.com/users/arthur17/followers", "following_url": "https://api.github.com/users/arthur17/following{/other_user}", "gists_url": "https://api.github.com/users/arthur17/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arthur17", "id": 26851112, "login": "arthur17", "node_id": "MDQ6VXNlcjI2ODUxMTEy", "organizations_url": "https://api.github.com/users/arthur17/orgs", "received_events_url": "https://api.github.com/users/arthur17/received_events", "repos_url": "https://api.github.com/users/arthur17/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arthur17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arthur17/subscriptions", "type": "User", "url": "https://api.github.com/users/arthur17", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2017-06-10T04:05:08Z
2021-08-30T00:06:13Z
2017-06-10T07:01:17Z
NONE
resolved
**Summary**. Can not find urllib3 when using latest `PyCharm` and `requests` from versions 2.17.1 to 2.17.3 **What you expected.** Expected `urllib3` to be found on `packages.py` **What happened instead.** ![image](https://user-images.githubusercontent.com/26851112/26999613-a60370ce-4d63-11e7-8e2a-9f5261b7e667.png) **Steps to reproduce** + Open (or create) any project in PyCharm + You can use the systems Python or a virtualenv + Install requests 2.17.3 (by using pip on terminal or by going to project interpreter settings) + Try to import urllib3 + `from requests.packages.urllib3.exceptions import InsecureRequestWarning` Maybe it has something to do with db076c098e962b5096f6b0c77d69b80396228464? **System Information** ``` { "chardet": { "version": "3.0.4" }, "cryptography": { "version": "" }, "implementation": { "name": "CPython", "version": "3.5.3" }, "platform": { "release": "4.4.0-79-generic", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.17.3" }, "system_ssl": { "version": "1000207f" }, "urllib3": { "version": "1.21.1" }, "using_pyopenssl": false } ```
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4149/reactions" }
https://api.github.com/repos/psf/requests/issues/4149/timeline
null
completed
null
null
false
[ "Hrm. So PyCharm is wrong here: this path does exist. But it's added dynamically, which may cause PyCharm some problems. I recommend opening a bug report with PyCharm. ", "Copy the urllib3 folder into the package. because it doesn't install it dependency itself.", "try installing urllib3 and then.\r\nfrom urlli...
https://api.github.com/repos/psf/requests/issues/4148
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4148/labels{/name}
https://api.github.com/repos/psf/requests/issues/4148/comments
https://api.github.com/repos/psf/requests/issues/4148/events
https://github.com/psf/requests/issues/4148
234,913,602
MDU6SXNzdWUyMzQ5MTM2MDI=
4,148
http response is not decoded when encoding is missing from the response header, even if decode_unicode is set
{ "avatar_url": "https://avatars.githubusercontent.com/u/11225761?v=4", "events_url": "https://api.github.com/users/mx237/events{/privacy}", "followers_url": "https://api.github.com/users/mx237/followers", "following_url": "https://api.github.com/users/mx237/following{/other_user}", "gists_url": "https://api.github.com/users/mx237/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mx237", "id": 11225761, "login": "mx237", "node_id": "MDQ6VXNlcjExMjI1NzYx", "organizations_url": "https://api.github.com/users/mx237/orgs", "received_events_url": "https://api.github.com/users/mx237/received_events", "repos_url": "https://api.github.com/users/mx237/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mx237/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mx237/subscriptions", "type": "User", "url": "https://api.github.com/users/mx237", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-06-09T19:06:15Z
2021-09-08T08:00:44Z
2017-06-09T19:15:41Z
NONE
resolved
Platform: Win7 Pro SP1 Python: 3.6.1 64 bit package: requests==2.17.3 requests-file==1.4.2 requests-ftp==0.3.1 urllib3==1.21.1 When I try to request [http://www.google.com/finance/historical?q=NASDAQ%3AAAPL&startdate=Jun+1%2C+2017&enddate=Jun+2%2C+2017&output=csv](http://www.google.com/finance/historical?q=NASDAQ%3AAAPL&startdate=Jun+1%2C+2017&enddate=Jun+2%2C+2017&output=csv), the http response has no encoding info. However, the response is utf-8 encoded with utf-8 BOM. Even if I set `decode_unicode=True` in `iter_content`, it does not try to decode the content and simply gives the raw bytes. I wonder if this is a designed feature or could you add a feature to peek the few bytes in the beginning and try to guess the encoding from BOM when `decode_unicode` is set and the encoding is not available? Thank you very much!
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4148/reactions" }
https://api.github.com/repos/psf/requests/issues/4148/timeline
null
completed
null
null
false
[ "This behaviour of `iter_content` is unfortunately well-known: see #3574 for a PR that fixed this issue as reported in #3359 and #3481. Unfortunately, to resolve it we have to turn this into an error condition, which is a breaking change and so this change is not making it into the v2 series: it'll land in v3.\r\n...
https://api.github.com/repos/psf/requests/issues/4147
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4147/labels{/name}
https://api.github.com/repos/psf/requests/issues/4147/comments
https://api.github.com/repos/psf/requests/issues/4147/events
https://github.com/psf/requests/issues/4147
234,894,812
MDU6SXNzdWUyMzQ4OTQ4MTI=
4,147
Urllib3 ConnectionError exception passing through requests API
{ "avatar_url": "https://avatars.githubusercontent.com/u/3619262?v=4", "events_url": "https://api.github.com/users/aJetHorn/events{/privacy}", "followers_url": "https://api.github.com/users/aJetHorn/followers", "following_url": "https://api.github.com/users/aJetHorn/following{/other_user}", "gists_url": "https://api.github.com/users/aJetHorn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aJetHorn", "id": 3619262, "login": "aJetHorn", "node_id": "MDQ6VXNlcjM2MTkyNjI=", "organizations_url": "https://api.github.com/users/aJetHorn/orgs", "received_events_url": "https://api.github.com/users/aJetHorn/received_events", "repos_url": "https://api.github.com/users/aJetHorn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aJetHorn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aJetHorn/subscriptions", "type": "User", "url": "https://api.github.com/users/aJetHorn", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2017-06-09T17:44:20Z
2021-09-06T00:06:46Z
2017-06-09T20:58:28Z
NONE
resolved
I am using Requests Version: 2.11.1 catching all request exceptions like this: except requests.exceptions.RequestException as e: logger.debug("%s", str(e)) However, this does not catch a NewConnectionError thrown by requests.packages.urllib3.connection.HTTPConnection The full error statement is: ConnectionError: HTTPConnectionPool(host='REDACTED', port=27001): Max retries exceeded with url: /REDACTED (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x6bf5a50>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) Based off [https://github.com/requests/requests/issues/1572](https://github.com/requests/requests/issues/1572), it appears that all urllib3 exceptions should be caught by requests.exceptions.RequestException and that this falls into the category of an exception leak. Full trace: Traceback (most recent call last): ... File "REDACTED/app/process.py", line 399, in REDACTED r = requests.post(url, data=json.dumps(payload), headers=headers) File "/usr/lib/python2.7/site-packages/requests/api.py", line 110, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python2.7/site-packages/requests/api.py", line 56, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 475, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 596, in send r = adapter.send(request, **kwargs) File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 487, in send raise ConnectionError(e, request=request) ConnectionError: HTTPConnectionPool(host='REDACTED', port=27000): Max retries exceeded with url: REDACTED (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x6bf5a50>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))
{ "avatar_url": "https://avatars.githubusercontent.com/u/3619262?v=4", "events_url": "https://api.github.com/users/aJetHorn/events{/privacy}", "followers_url": "https://api.github.com/users/aJetHorn/followers", "following_url": "https://api.github.com/users/aJetHorn/following{/other_user}", "gists_url": "https://api.github.com/users/aJetHorn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aJetHorn", "id": 3619262, "login": "aJetHorn", "node_id": "MDQ6VXNlcjM2MTkyNjI=", "organizations_url": "https://api.github.com/users/aJetHorn/orgs", "received_events_url": "https://api.github.com/users/aJetHorn/received_events", "repos_url": "https://api.github.com/users/aJetHorn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aJetHorn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aJetHorn/subscriptions", "type": "User", "url": "https://api.github.com/users/aJetHorn", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4147/reactions" }
https://api.github.com/repos/psf/requests/issues/4147/timeline
null
completed
null
null
false
[ "Hey @aJetHorn, it looks like this is a `ConnectionError` wrapping a `NewConnectionError` in your traceback. The `ConnectionError` inherits from `RequestsException`, so it should be caught. Do you have an example domain you're experiencing this on?\r\n\r\nThis is the repro I used to test this:\r\n\r\n```python\r\n...
https://api.github.com/repos/psf/requests/issues/4146
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4146/labels{/name}
https://api.github.com/repos/psf/requests/issues/4146/comments
https://api.github.com/repos/psf/requests/issues/4146/events
https://github.com/psf/requests/pull/4146
234,884,349
MDExOlB1bGxSZXF1ZXN0MTI0OTA5NDAy
4,146
Revert "Convert version compatibility checks to warnings"
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
6
2017-06-09T16:55:15Z
2021-09-02T00:07:46Z
2018-02-27T17:11:36Z
CONTRIBUTOR
resolved
Reverts requests/requests#4144
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4146/reactions" }
https://api.github.com/repos/psf/requests/issues/4146/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4146.diff", "html_url": "https://github.com/psf/requests/pull/4146", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4146.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4146" }
true
[ "continuation of https://github.com/requests/requests/pull/4144#issuecomment-307426091", "restarting for windows", "So we definitely don't want a complete revert of this. I do think we we want a selective revert though. We absolutely want to be more resilient to versions we can't parse. I don't think we want to...
https://api.github.com/repos/psf/requests/issues/4145
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4145/labels{/name}
https://api.github.com/repos/psf/requests/issues/4145/comments
https://api.github.com/repos/psf/requests/issues/4145/events
https://github.com/psf/requests/pull/4145
234,763,275
MDExOlB1bGxSZXF1ZXN0MTI0ODIwMzA4
4,145
typo
{ "avatar_url": "https://avatars.githubusercontent.com/u/15275188?v=4", "events_url": "https://api.github.com/users/elliotgao2/events{/privacy}", "followers_url": "https://api.github.com/users/elliotgao2/followers", "following_url": "https://api.github.com/users/elliotgao2/following{/other_user}", "gists_url": "https://api.github.com/users/elliotgao2/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/elliotgao2", "id": 15275188, "login": "elliotgao2", "node_id": "MDQ6VXNlcjE1Mjc1MTg4", "organizations_url": "https://api.github.com/users/elliotgao2/orgs", "received_events_url": "https://api.github.com/users/elliotgao2/received_events", "repos_url": "https://api.github.com/users/elliotgao2/repos", "site_admin": false, "starred_url": "https://api.github.com/users/elliotgao2/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/elliotgao2/subscriptions", "type": "User", "url": "https://api.github.com/users/elliotgao2", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-06-09T08:56:31Z
2021-09-05T00:07:15Z
2017-06-09T09:04:40Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4145/reactions" }
https://api.github.com/repos/psf/requests/issues/4145/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4145.diff", "html_url": "https://github.com/psf/requests/pull/4145", "merged_at": "2017-06-09T09:04:40Z", "patch_url": "https://github.com/psf/requests/pull/4145.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4145" }
true
[]
https://api.github.com/repos/psf/requests/issues/4144
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4144/labels{/name}
https://api.github.com/repos/psf/requests/issues/4144/comments
https://api.github.com/repos/psf/requests/issues/4144/events
https://github.com/psf/requests/pull/4144
234,656,705
MDExOlB1bGxSZXF1ZXN0MTI0NzQ0ODEw
4,144
Convert version compatibility checks to warnings
{ "avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4", "events_url": "https://api.github.com/users/nateprewitt/events{/privacy}", "followers_url": "https://api.github.com/users/nateprewitt/followers", "following_url": "https://api.github.com/users/nateprewitt/following{/other_user}", "gists_url": "https://api.github.com/users/nateprewitt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nateprewitt", "id": 5271761, "login": "nateprewitt", "node_id": "MDQ6VXNlcjUyNzE3NjE=", "organizations_url": "https://api.github.com/users/nateprewitt/orgs", "received_events_url": "https://api.github.com/users/nateprewitt/received_events", "repos_url": "https://api.github.com/users/nateprewitt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nateprewitt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nateprewitt/subscriptions", "type": "User", "url": "https://api.github.com/users/nateprewitt", "user_view_type": "public" }
[]
closed
true
null
[]
null
12
2017-06-08T21:07:53Z
2021-09-05T00:07:15Z
2017-06-09T01:40:08Z
MEMBER
resolved
This patch will convert the dependency exceptions into warnings, preventing the forced halt while importing Requests. I condensed the message into a single response, but we can expand that out if needed. It just seemed like another place for updates to be forgotten. I'd also like to test this function, but due to the requirements changing with each release, it's hard to write something that won't need to be updated in parallel. We could look at parsing the requirements out of `requires` but that seems less than ideal. If I'm being honest, I'm not crazy about expanding the code around this any more than we absolutely have to.
{ "avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4", "events_url": "https://api.github.com/users/nateprewitt/events{/privacy}", "followers_url": "https://api.github.com/users/nateprewitt/followers", "following_url": "https://api.github.com/users/nateprewitt/following{/other_user}", "gists_url": "https://api.github.com/users/nateprewitt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nateprewitt", "id": 5271761, "login": "nateprewitt", "node_id": "MDQ6VXNlcjUyNzE3NjE=", "organizations_url": "https://api.github.com/users/nateprewitt/orgs", "received_events_url": "https://api.github.com/users/nateprewitt/received_events", "repos_url": "https://api.github.com/users/nateprewitt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nateprewitt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nateprewitt/subscriptions", "type": "User", "url": "https://api.github.com/users/nateprewitt", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4144/reactions" }
https://api.github.com/repos/psf/requests/issues/4144/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4144.diff", "html_url": "https://github.com/psf/requests/pull/4144", "merged_at": "2017-06-09T01:40:08Z", "patch_url": "https://github.com/psf/requests/pull/4144.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4144" }
true
[ "Err, force pushing dismisses reviews now? I took care of the flake8 issue with a `# noqa` because we will likely want to use `patch` in the future. Removing it creates a lot of clutter.", "Alright, I'm going to merge this then since everything except the broken windows tests are passing.", "Did @sigmavirus24 h...
https://api.github.com/repos/psf/requests/issues/4143
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4143/labels{/name}
https://api.github.com/repos/psf/requests/issues/4143/comments
https://api.github.com/repos/psf/requests/issues/4143/events
https://github.com/psf/requests/issues/4143
234,632,262
MDU6SXNzdWUyMzQ2MzIyNjI=
4,143
Can't parse version information, urllib3 returns "['dev']"
{ "avatar_url": "https://avatars.githubusercontent.com/u/21175939?v=4", "events_url": "https://api.github.com/users/Ichicoro/events{/privacy}", "followers_url": "https://api.github.com/users/Ichicoro/followers", "following_url": "https://api.github.com/users/Ichicoro/following{/other_user}", "gists_url": "https://api.github.com/users/Ichicoro/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Ichicoro", "id": 21175939, "login": "Ichicoro", "node_id": "MDQ6VXNlcjIxMTc1OTM5", "organizations_url": "https://api.github.com/users/Ichicoro/orgs", "received_events_url": "https://api.github.com/users/Ichicoro/received_events", "repos_url": "https://api.github.com/users/Ichicoro/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Ichicoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ichicoro/subscriptions", "type": "User", "url": "https://api.github.com/users/Ichicoro", "user_view_type": "public" }
[]
closed
true
null
[]
null
10
2017-06-08T19:30:42Z
2021-09-08T08:00:46Z
2017-06-08T20:06:01Z
NONE
resolved
I wrote a script and tried to execute it. The python interpreter stopped the execution with a traceback saying that ``` Traceback (most recent call last): File ".\main.py", line 3, in <module> import lyricsgetter File "C:\Users\smart\Documents\Projects\telegram-lyrics-bot\lyricsgetter.py", line 1, in <module> import requests File "C:\Users\smart\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\__init__.py", line 53, in <module> major, minor, patch = urllib3_version ValueError: not enough values to unpack (expected 3, got 1) ``` I then tried adding a `print(urllib3_version)` before line 53 in `__init__.py`. ## Expected Result `print(urllib3_version)` should have returned the version, and my script should have executed fine. ## Actual Result `print(urllib3_version)` printed `['dev']` and stopped the execution of my script with a `ValueError` ## Reproduction Steps ```python import requests ``` ## System Information $ python -m requests.help ``` ['1', '21', '1'] { "chardet": { "version": "3.0.4" }, "cryptography": { "version": "" }, "implementation": { "name": "CPython", "version": "3.6.0" }, "platform": { "release": "10", "system": "Windows" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.17.3" }, "system_ssl": { "version": "100020af" }, "urllib3": { "version": "1.21.1" }, "using_pyopenssl": false } ```
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4143/reactions" }
https://api.github.com/repos/psf/requests/issues/4143/timeline
null
completed
null
null
false
[ "That's quite fascinating especially given the output of `python -m requests.help` as you printed it which shows `urllib3` at version 1.21.1 and even `urllib3_version` as `['1', '21', '1']`.", "Hey @Ichicoro, this is actually a duplicate of #4076. I'm in the process of finishing a PR to address this so it should ...
https://api.github.com/repos/psf/requests/issues/4142
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4142/labels{/name}
https://api.github.com/repos/psf/requests/issues/4142/comments
https://api.github.com/repos/psf/requests/issues/4142/events
https://github.com/psf/requests/issues/4142
234,357,629
MDU6SXNzdWUyMzQzNTc2Mjk=
4,142
No method to retrieve cookie object by name
{ "avatar_url": "https://avatars.githubusercontent.com/u/5554910?v=4", "events_url": "https://api.github.com/users/lordjabez/events{/privacy}", "followers_url": "https://api.github.com/users/lordjabez/followers", "following_url": "https://api.github.com/users/lordjabez/following{/other_user}", "gists_url": "https://api.github.com/users/lordjabez/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lordjabez", "id": 5554910, "login": "lordjabez", "node_id": "MDQ6VXNlcjU1NTQ5MTA=", "organizations_url": "https://api.github.com/users/lordjabez/orgs", "received_events_url": "https://api.github.com/users/lordjabez/received_events", "repos_url": "https://api.github.com/users/lordjabez/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lordjabez/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lordjabez/subscriptions", "type": "User", "url": "https://api.github.com/users/lordjabez", "user_view_type": "public" }
[]
closed
true
null
[]
null
4
2017-06-07T22:09:39Z
2021-09-08T09:00:36Z
2017-06-08T17:37:49Z
NONE
resolved
I would like to be able to get a cookie object out of the cookie jar by name and inspect its attributes (e.g. domain, expires, secure flag). My use case is a test script that ensures my webserver is configuring cookies properly. I expect to have some kind of function like `get` that returns the whole cookie object, not just the value, but no function seems to exist. ## Reproduction Steps ```python import requests response = requests.get('http://google.com') response.cookies.get('NID') # Only returns cookie value for c in response.cookies: print(c) # c is entire cookie object ``` If this is a desired feature, I'd be happy to code it up myself. My suggestion is a simple `get_cookie` function, but am open to other ideas.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4142/reactions" }
https://api.github.com/repos/psf/requests/issues/4142/timeline
null
completed
null
null
false
[ "You're right, this is not a feature that exists currently. I don't think we want it though: I'm reluctant to expand `RequestsCookieJar` too far, especially when we have some pretty mixed (ie. negative) feelings about cookielib. My inclination is that the best thing to do is for you to write a helper function that ...
https://api.github.com/repos/psf/requests/issues/4141
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4141/labels{/name}
https://api.github.com/repos/psf/requests/issues/4141/comments
https://api.github.com/repos/psf/requests/issues/4141/events
https://github.com/psf/requests/issues/4141
234,202,579
MDU6SXNzdWUyMzQyMDI1Nzk=
4,141
Windows Jenkins CI failing on master
{ "avatar_url": "https://avatars.githubusercontent.com/u/501702?v=4", "events_url": "https://api.github.com/users/edmorley/events{/privacy}", "followers_url": "https://api.github.com/users/edmorley/followers", "following_url": "https://api.github.com/users/edmorley/following{/other_user}", "gists_url": "https://api.github.com/users/edmorley/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/edmorley", "id": 501702, "login": "edmorley", "node_id": "MDQ6VXNlcjUwMTcwMg==", "organizations_url": "https://api.github.com/users/edmorley/orgs", "received_events_url": "https://api.github.com/users/edmorley/received_events", "repos_url": "https://api.github.com/users/edmorley/repos", "site_admin": false, "starred_url": "https://api.github.com/users/edmorley/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/edmorley/subscriptions", "type": "User", "url": "https://api.github.com/users/edmorley", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-06-07T13:05:29Z
2021-09-08T08:00:33Z
2017-07-27T14:53:44Z
CONTRIBUTOR
resolved
As spotted in #4136 and elsewhere, the Windows Jenkins CI job is failing on master: http://jenkins.kennethreitz.org:8080/job/requests/job/requests-windows/buildTimeTrend ...with: ``` j:\jenkins\workspace\requests\requests-windows>.env\Scripts\pip install -r requirements.txt Obtaining file:///J:/jenkins/workspace/requests/requests-windows (from -r requirements.txt (line 1)) Complete output from command python setup.py egg_info: running egg_info ... File "j:\jenkins\workspace\requests\requests-windows\.env\lib\site-packages\setuptools\command\egg_info.py", line 470, in append if self._safe_path(path): File "j:\jenkins\workspace\requests\requests-windows\.env\lib\site-packages\setuptools\command\egg_info.py", line 503, in _safe_path if os.path.exists(u_path) or os.path.exists(utf8_path): File "j:\jenkins\workspace\requests\requests-windows\.env\lib\genericpath.py", line 26, in exists os.stat(path) TypeError: stat() argument 1 must be encoded string without null bytes, not unicode ``` In addition, the script that reports the result to GitHub appears to be broken, since the GitHub status for the windows job says "Epic Fail! No test results found.", rather than "Failed" or similar. cc @kennethreitz
{ "avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4", "events_url": "https://api.github.com/users/nateprewitt/events{/privacy}", "followers_url": "https://api.github.com/users/nateprewitt/followers", "following_url": "https://api.github.com/users/nateprewitt/following{/other_user}", "gists_url": "https://api.github.com/users/nateprewitt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nateprewitt", "id": 5271761, "login": "nateprewitt", "node_id": "MDQ6VXNlcjUyNzE3NjE=", "organizations_url": "https://api.github.com/users/nateprewitt/orgs", "received_events_url": "https://api.github.com/users/nateprewitt/received_events", "repos_url": "https://api.github.com/users/nateprewitt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nateprewitt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nateprewitt/subscriptions", "type": "User", "url": "https://api.github.com/users/nateprewitt", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4141/reactions" }
https://api.github.com/repos/psf/requests/issues/4141/timeline
null
completed
null
null
false
[ "Closing this out since the Windows CI issues seem to have been resolved." ]
https://api.github.com/repos/psf/requests/issues/4140
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4140/labels{/name}
https://api.github.com/repos/psf/requests/issues/4140/comments
https://api.github.com/repos/psf/requests/issues/4140/events
https://github.com/psf/requests/pull/4140
234,198,383
MDExOlB1bGxSZXF1ZXN0MTI0NDEyMTUw
4,140
Clearer makefile for building README.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2017-06-07T12:50:46Z
2021-09-05T00:07:13Z
2017-06-09T17:30:57Z
MEMBER
resolved
Resolves #4138.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4140/reactions" }
https://api.github.com/repos/psf/requests/issues/4140/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4140.diff", "html_url": "https://github.com/psf/requests/pull/4140", "merged_at": "2017-06-09T17:30:57Z", "patch_url": "https://github.com/psf/requests/pull/4140.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4140" }
true
[ "I'm not really thrilled with it, but I'm kinda short of other options. Short of actually improving the package in question to provide better errors, which it can't really do, this is kinda the best we can do. =(", "Many thanks!" ]
https://api.github.com/repos/psf/requests/issues/4139
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4139/labels{/name}
https://api.github.com/repos/psf/requests/issues/4139/comments
https://api.github.com/repos/psf/requests/issues/4139/events
https://github.com/psf/requests/issues/4139
234,088,546
MDU6SXNzdWUyMzQwODg1NDY=
4,139
why don't wrapper urllib3 LocationValueError("No host specified.")
{ "avatar_url": "https://avatars.githubusercontent.com/u/1680805?v=4", "events_url": "https://api.github.com/users/dading/events{/privacy}", "followers_url": "https://api.github.com/users/dading/followers", "following_url": "https://api.github.com/users/dading/following{/other_user}", "gists_url": "https://api.github.com/users/dading/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dading", "id": 1680805, "login": "dading", "node_id": "MDQ6VXNlcjE2ODA4MDU=", "organizations_url": "https://api.github.com/users/dading/orgs", "received_events_url": "https://api.github.com/users/dading/received_events", "repos_url": "https://api.github.com/users/dading/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dading/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dading/subscriptions", "type": "User", "url": "https://api.github.com/users/dading", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2017-06-07T04:20:38Z
2021-09-08T09:00:37Z
2017-06-07T13:08:21Z
NONE
resolved
Summary. ## Expected Result i can import exception from requests. ## Actual Result when i catch LocationValueError, i need import LocationValueError from urllib3.exceptions, not from requests.... ## System Information $ python v2.7.0 ``` <paste here> ``` This command is only available on Requests v2.16.4 and greater. Otherwise, please provide some basic information about your system (Python version, operating system, &c).
{ "avatar_url": "https://avatars.githubusercontent.com/u/1680805?v=4", "events_url": "https://api.github.com/users/dading/events{/privacy}", "followers_url": "https://api.github.com/users/dading/followers", "following_url": "https://api.github.com/users/dading/following{/other_user}", "gists_url": "https://api.github.com/users/dading/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dading", "id": 1680805, "login": "dading", "node_id": "MDQ6VXNlcjE2ODA4MDU=", "organizations_url": "https://api.github.com/users/dading/orgs", "received_events_url": "https://api.github.com/users/dading/received_events", "repos_url": "https://api.github.com/users/dading/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dading/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dading/subscriptions", "type": "User", "url": "https://api.github.com/users/dading", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4139/reactions" }
https://api.github.com/repos/psf/requests/issues/4139/timeline
null
completed
null
null
false
[ "Hey @dading, it looks like this may be a duplicate of #3220. Could you please provide some more information on when you're encountering this exception? Is it occurring with a specific domain, or is this failure periodic?\r\n\r\nCould you also provide the version of Requests you're currently using? Thank you!", "...
https://api.github.com/repos/psf/requests/issues/4138
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4138/labels{/name}
https://api.github.com/repos/psf/requests/issues/4138/comments
https://api.github.com/repos/psf/requests/issues/4138/events
https://github.com/psf/requests/issues/4138
234,047,498
MDU6SXNzdWUyMzQwNDc0OTg=
4,138
Log output for `make test-readme` failures is not clear
{ "avatar_url": "https://avatars.githubusercontent.com/u/501702?v=4", "events_url": "https://api.github.com/users/edmorley/events{/privacy}", "followers_url": "https://api.github.com/users/edmorley/followers", "following_url": "https://api.github.com/users/edmorley/following{/other_user}", "gists_url": "https://api.github.com/users/edmorley/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/edmorley", "id": 501702, "login": "edmorley", "node_id": "MDQ6VXNlcjUwMTcwMg==", "organizations_url": "https://api.github.com/users/edmorley/orgs", "received_events_url": "https://api.github.com/users/edmorley/received_events", "repos_url": "https://api.github.com/users/edmorley/repos", "site_admin": false, "starred_url": "https://api.github.com/users/edmorley/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/edmorley/subscriptions", "type": "User", "url": "https://api.github.com/users/edmorley", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-06-06T22:49:47Z
2021-09-08T09:00:35Z
2017-06-09T17:30:57Z
CONTRIBUTOR
resolved
The first round of CI for #4137 failed in the `readme` Jenkins job: http://jenkins.kennethreitz.org:8080/job/requests/job/requests-readme/67/ The console output for the failure was: ``` ... Installing collected packages: requests Found existing installation: requests 2.17.3 Uninstalling requests-2.17.3: Successfully uninstalled requests-2.17.3 Running setup.py develop for requests Successfully installed requests + make test-readme python setup.py check -r -s running check warning: Check: :128: (WARNING/2) Bullet list ends without a blank line; unexpected unindent. warning: Check: Invalid markup which will not be rendered on PyPI. error: Please correct your package. Makefile:11: recipe for target 'test-readme' failed make: *** [test-readme] Error 1 Build step 'Virtualenv Builder' marked build as failure ``` (http://jenkins.kennethreitz.org:8080/job/requests/job/requests-readme/67/console) This confused me initially, since the log output doesn't mention a particular filename, so all I had to go on was the name of the test (`test-readme`) - but the PR only modified `AUTHORS.rst`, `HISTORY.rst` and `docs/user/advanced.rst` - and not `README.rst`. Not being familiar with `setup.py check`, and the functionality `docutils` adds to it, it took me a while to figure out it was validating the value passed to `long_description` in setup.py's `setup()`, which is: ```python long_description=readme + '\n\n' + history, ``` ...and therefore in my case the bad syntax was actually from `HISTORY.rst`. Things that might make this more clear: * The Makefile command being renamed to say `test-readme-history` or similar * Leaving the makefile command named as-is, but in case of failure make it output "Validation of setup.py metadata failed! Check markup in X and Y" * Using another way to validate the markup that scans individual files (rather than the concatenated text in setup.py) and can give specific filenames and line numbers Many thanks :-)
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4138/reactions" }
https://api.github.com/repos/psf/requests/issues/4138/timeline
null
completed
null
null
false
[ "Also, currently the `test-readme` make command calls `python setup.py check -r -s` which isn't clear for someone who isn't familiar with the check command. Perhaps `python setup.py check --restructuredtext --strict` would make the purpose clearer?" ]
https://api.github.com/repos/psf/requests/issues/4137
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4137/labels{/name}
https://api.github.com/repos/psf/requests/issues/4137/comments
https://api.github.com/repos/psf/requests/issues/4137/events
https://github.com/psf/requests/pull/4137
234,043,285
MDExOlB1bGxSZXF1ZXN0MTI0MzAxNzU0
4,137
Allow Requests.Response to be used as a context manager
{ "avatar_url": "https://avatars.githubusercontent.com/u/501702?v=4", "events_url": "https://api.github.com/users/edmorley/events{/privacy}", "followers_url": "https://api.github.com/users/edmorley/followers", "following_url": "https://api.github.com/users/edmorley/following{/other_user}", "gists_url": "https://api.github.com/users/edmorley/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/edmorley", "id": 501702, "login": "edmorley", "node_id": "MDQ6VXNlcjUwMTcwMg==", "organizations_url": "https://api.github.com/users/edmorley/orgs", "received_events_url": "https://api.github.com/users/edmorley/received_events", "repos_url": "https://api.github.com/users/edmorley/repos", "site_admin": false, "starred_url": "https://api.github.com/users/edmorley/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/edmorley/subscriptions", "type": "User", "url": "https://api.github.com/users/edmorley", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-06-06T22:27:04Z
2021-09-05T00:07:15Z
2017-06-07T07:51:42Z
CONTRIBUTOR
resolved
This saves having to wrap the call to requests with `contextlib.closing()`, allowing it to be used directly in a `with` statement, like so: ```python with requests.get('http://httpbin.org/get', stream=True) as r: # Do things with the response here. ``` Fixes #4136.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4137/reactions" }
https://api.github.com/repos/psf/requests/issues/4137/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4137.diff", "html_url": "https://github.com/psf/requests/pull/4137", "merged_at": "2017-06-07T07:51:42Z", "patch_url": "https://github.com/psf/requests/pull/4137.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4137" }
true
[ "FYI, @kennethreitz, as you can see here the master branch *is* failing on the Windows builder. @requests/core for the moment we can ignore that failing Windows test and continue to merge until @kennethreitz works out what's going on with the builder. ;)" ]
https://api.github.com/repos/psf/requests/issues/4136
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4136/labels{/name}
https://api.github.com/repos/psf/requests/issues/4136/comments
https://api.github.com/repos/psf/requests/issues/4136/events
https://github.com/psf/requests/issues/4136
234,042,418
MDU6SXNzdWUyMzQwNDI0MTg=
4,136
Allow Requests.Response to be used as a context manager in `with` statements
{ "avatar_url": "https://avatars.githubusercontent.com/u/501702?v=4", "events_url": "https://api.github.com/users/edmorley/events{/privacy}", "followers_url": "https://api.github.com/users/edmorley/followers", "following_url": "https://api.github.com/users/edmorley/following{/other_user}", "gists_url": "https://api.github.com/users/edmorley/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/edmorley", "id": 501702, "login": "edmorley", "node_id": "MDQ6VXNlcjUwMTcwMg==", "organizations_url": "https://api.github.com/users/edmorley/orgs", "received_events_url": "https://api.github.com/users/edmorley/received_events", "repos_url": "https://api.github.com/users/edmorley/repos", "site_admin": false, "starred_url": "https://api.github.com/users/edmorley/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/edmorley/subscriptions", "type": "User", "url": "https://api.github.com/users/edmorley", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-06-06T22:23:00Z
2021-09-08T09:00:38Z
2017-06-07T07:51:42Z
CONTRIBUTOR
resolved
The [docs for streaming responses](http://docs.python-requests.org/en/master/user/advanced/#body-content-workflow) currently state: > If you find yourself partially reading request bodies (or not reading them at all) while using stream=True, you should consider using contextlib.closing ([documented here](http://docs.python.org/2/library/contextlib.html#contextlib.closing)), like this: > ```python > from contextlib import closing > > with closing(requests.get('http://httpbin.org/get', stream=True)) as r: > # Do things with the response here. > ``` It would be great to be able to omit `contextlib.closing()` entirely, and use the call to requests directly within a `with` statement, like so: ```python with requests.get('http://httpbin.org/get', stream=True) as r: # Do things with the response here. ``` However that currently results in `AttributeError: __exit__`, since [`Requests.Response`](https://github.com/requests/requests/blob/v2.17.3/requests/models.py#L576-L942) doesn't have the `__enter__` and `__exit__` methods expected of a context manager: https://docs.python.org/3/reference/datamodel.html#context-managers I think it would be worthwhile to add them, to allow safe streaming without the extra boilerplate. (There's also prior art - `Requests.Session()` [can be used as a context-manager](https://github.com/requests/requests/blob/v2.17.3/requests/sessions.py#L389-L393).)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 4, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 4, "url": "https://api.github.com/repos/psf/requests/issues/4136/reactions" }
https://api.github.com/repos/psf/requests/issues/4136/timeline
null
completed
null
null
false
[]
https://api.github.com/repos/psf/requests/issues/4135
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4135/labels{/name}
https://api.github.com/repos/psf/requests/issues/4135/comments
https://api.github.com/repos/psf/requests/issues/4135/events
https://github.com/psf/requests/pull/4135
234,034,254
MDExOlB1bGxSZXF1ZXN0MTI0Mjk1MTU1
4,135
Add the pytest .cache/ directory to .gitignore
{ "avatar_url": "https://avatars.githubusercontent.com/u/501702?v=4", "events_url": "https://api.github.com/users/edmorley/events{/privacy}", "followers_url": "https://api.github.com/users/edmorley/followers", "following_url": "https://api.github.com/users/edmorley/following{/other_user}", "gists_url": "https://api.github.com/users/edmorley/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/edmorley", "id": 501702, "login": "edmorley", "node_id": "MDQ6VXNlcjUwMTcwMg==", "organizations_url": "https://api.github.com/users/edmorley/orgs", "received_events_url": "https://api.github.com/users/edmorley/received_events", "repos_url": "https://api.github.com/users/edmorley/repos", "site_admin": false, "starred_url": "https://api.github.com/users/edmorley/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/edmorley/subscriptions", "type": "User", "url": "https://api.github.com/users/edmorley", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-06-06T21:44:41Z
2021-09-05T00:07:12Z
2017-06-06T22:00:39Z
CONTRIBUTOR
resolved
For example, when a pytest run fails, it saves failure metadata to: `.cache/v/cache/lastfailed`
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4135/reactions" }
https://api.github.com/repos/psf/requests/issues/4135/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4135.diff", "html_url": "https://github.com/psf/requests/pull/4135", "merged_at": "2017-06-06T22:00:39Z", "patch_url": "https://github.com/psf/requests/pull/4135.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4135" }
true
[ "✨🍰✨" ]
https://api.github.com/repos/psf/requests/issues/4134
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4134/labels{/name}
https://api.github.com/repos/psf/requests/issues/4134/comments
https://api.github.com/repos/psf/requests/issues/4134/events
https://github.com/psf/requests/pull/4134
234,030,731
MDExOlB1bGxSZXF1ZXN0MTI0MjkyNjMy
4,134
Raise exceptions in utils.set_environ
{ "avatar_url": "https://avatars.githubusercontent.com/u/8541468?v=4", "events_url": "https://api.github.com/users/mlcrazy/events{/privacy}", "followers_url": "https://api.github.com/users/mlcrazy/followers", "following_url": "https://api.github.com/users/mlcrazy/following{/other_user}", "gists_url": "https://api.github.com/users/mlcrazy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mlcrazy", "id": 8541468, "login": "mlcrazy", "node_id": "MDQ6VXNlcjg1NDE0Njg=", "organizations_url": "https://api.github.com/users/mlcrazy/orgs", "received_events_url": "https://api.github.com/users/mlcrazy/received_events", "repos_url": "https://api.github.com/users/mlcrazy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mlcrazy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mlcrazy/subscriptions", "type": "User", "url": "https://api.github.com/users/mlcrazy", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2017-06-06T21:30:12Z
2021-09-05T00:07:14Z
2017-06-09T18:34:57Z
CONTRIBUTOR
resolved
fixes #4127
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4134/reactions" }
https://api.github.com/repos/psf/requests/issues/4134/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4134.diff", "html_url": "https://github.com/psf/requests/pull/4134", "merged_at": "2017-06-09T18:34:56Z", "patch_url": "https://github.com/psf/requests/pull/4134.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4134" }
true
[ "@Lukasa @nateprewitt, did some commit fixups, not sure if I did the HISTORY.rst part correctly", "There are conflicts in the AUTHORS.rst file. :smile:" ]
https://api.github.com/repos/psf/requests/issues/4133
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4133/labels{/name}
https://api.github.com/repos/psf/requests/issues/4133/comments
https://api.github.com/repos/psf/requests/issues/4133/events
https://github.com/psf/requests/issues/4133
234,022,831
MDU6SXNzdWUyMzQwMjI4MzE=
4,133
POST converts request data from UTF-8 to ISO-Latin
{ "avatar_url": "https://avatars.githubusercontent.com/u/4348479?v=4", "events_url": "https://api.github.com/users/rhoerbe/events{/privacy}", "followers_url": "https://api.github.com/users/rhoerbe/followers", "following_url": "https://api.github.com/users/rhoerbe/following{/other_user}", "gists_url": "https://api.github.com/users/rhoerbe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhoerbe", "id": 4348479, "login": "rhoerbe", "node_id": "MDQ6VXNlcjQzNDg0Nzk=", "organizations_url": "https://api.github.com/users/rhoerbe/orgs", "received_events_url": "https://api.github.com/users/rhoerbe/received_events", "repos_url": "https://api.github.com/users/rhoerbe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhoerbe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhoerbe/subscriptions", "type": "User", "url": "https://api.github.com/users/rhoerbe", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-06-06T20:59:17Z
2021-09-08T09:00:37Z
2017-06-07T07:55:27Z
NONE
resolved
Posting a chunk of XML in utf-8 encoding arrives garbled (iso-latin) at the target server. It should arrive as encoded. ## Reproduction Steps ```python import requests request = ''' <?xml version="1.0" encoding="UTF-8"?> <Requ> <GivenName>Özdemam</GivenName> <FamilyNameGrünzl</FamilyName> </Requ> ''' print(request) headers = {'Content-Type': 'text/xml; charset=utf-8', } req = requests.Request('POST', 'http://192.168.1.5:8888/api', headers=headers, data=request) prepped_requ = req.prepare() s = requests.Session() http_response = s.send(prepped_requ) ``` Running `nc -l 8888' will show the garbled Umlaut characters, whereas print or command-line curl will produce the expected result. ## System Information Tested on CentOS7/ Python 3.4.6 (EPEL) and OSX 10.12 MacPorts Python 3.5.3 Seems to be similar to #3476, but is unresolved.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4133/reactions" }
https://api.github.com/repos/psf/requests/issues/4133/timeline
null
completed
null
null
false
[ "You haven't encoded it. ;)\r\n\r\nOn Python 3 the native string type is unicode: it has no encoding. We have to auto-encode the data, and in practice that's done by httplib with no reference to whatever you put in your header field. Try changing your code to this:\r\n\r\n```python\r\nimport requests\r\n\r\nrequest...
https://api.github.com/repos/psf/requests/issues/4132
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4132/labels{/name}
https://api.github.com/repos/psf/requests/issues/4132/comments
https://api.github.com/repos/psf/requests/issues/4132/events
https://github.com/psf/requests/pull/4132
234,020,147
MDExOlB1bGxSZXF1ZXN0MTI0Mjg0OTE1
4,132
Update README.rst (just a test)
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-06-06T20:49:25Z
2021-09-05T00:07:15Z
2017-06-07T15:07:01Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4132/reactions" }
https://api.github.com/repos/psf/requests/issues/4132/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4132.diff", "html_url": "https://github.com/psf/requests/pull/4132", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4132.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4132" }
true
[]
https://api.github.com/repos/psf/requests/issues/4131
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4131/labels{/name}
https://api.github.com/repos/psf/requests/issues/4131/comments
https://api.github.com/repos/psf/requests/issues/4131/events
https://github.com/psf/requests/issues/4131
233,869,974
MDU6SXNzdWUyMzM4Njk5NzQ=
4,131
Error when using pip install requests - SyntaxError in setup.py?
{ "avatar_url": "https://avatars.githubusercontent.com/u/18332543?v=4", "events_url": "https://api.github.com/users/nathrun/events{/privacy}", "followers_url": "https://api.github.com/users/nathrun/followers", "following_url": "https://api.github.com/users/nathrun/following{/other_user}", "gists_url": "https://api.github.com/users/nathrun/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nathrun", "id": 18332543, "login": "nathrun", "node_id": "MDQ6VXNlcjE4MzMyNTQz", "organizations_url": "https://api.github.com/users/nathrun/orgs", "received_events_url": "https://api.github.com/users/nathrun/received_events", "repos_url": "https://api.github.com/users/nathrun/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nathrun/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nathrun/subscriptions", "type": "User", "url": "https://api.github.com/users/nathrun", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-06-06T12:06:10Z
2021-09-08T09:00:38Z
2017-06-06T12:07:39Z
NONE
resolved
Hi, I am not sure if I am just doing something stupid but I can't seem to install requests on my raspberry pi which is running raspbian. ## Expected Result Install requests for python ## Actual Result When trying to install i got this: `Downloading/unpacking requests Downloading requests-2.17.3.tar.gz (123Kb): 123Kb downloaded Running setup.py egg_info for package requests Traceback (most recent call last): File "<string>", line 14, in <module> File "/home/pi/build/requests/setup.py", line 52, in <module> exec(f.read(), about) File "<string>", line 14 __cake__ = u'\u2728 \U0001f370 \u2728' ^ SyntaxError: invalid syntax Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 14, in <module> File "/home/pi/build/requests/setup.py", line 52, in <module> exec(f.read(), about) File "<string>", line 14 __cake__ = u'\u2728 \U0001f370 \u2728' ^ SyntaxError: invalid syntax ---------------------------------------- Command python setup.py egg_info failed with error code 1 in /home/pi/build/requests Storing complete log in /home/pi/.pip/pip.log` ## Reproduction Steps pip-3.2 install requests ## System Information I am trying to install this on a Raspberry Pi 2 B+ running Rasbian. python version 3.2.3
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4131/reactions" }
https://api.github.com/repos/psf/requests/issues/4131/timeline
null
completed
null
null
false
[ "Requests does not support Python 3.2, and has not for more than a year." ]
https://api.github.com/repos/psf/requests/issues/4130
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4130/labels{/name}
https://api.github.com/repos/psf/requests/issues/4130/comments
https://api.github.com/repos/psf/requests/issues/4130/events
https://github.com/psf/requests/issues/4130
233,787,894
MDU6SXNzdWUyMzM3ODc4OTQ=
4,130
German signs äÄöÖüÜß presented not correctly
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost", "user_view_type": "public" }
[]
closed
true
null
[]
null
12
2017-06-06T06:07:11Z
2021-09-08T09:00:38Z
2017-06-06T11:54:01Z
NONE
resolved
Sending a response with special german signs and encoded as utf-8 does not really help to get special german signs like äÄöÖüÜß in response. Sending such signs results in empty response. The answer object has as text field an empty field and can not use json(...) function member, ending with an exception. ## Expected Result Was expecting responsed text in response object with german signs. ## Actual Result Getting following exception: File "C:\Python27\lib\site-packages\requests\models.py", line 886, in json return complexjson.loads(self.text, **kwargs) File "C:\Python27\lib\json\__init__.py", line 338, in loads return _default_decoder.decode(s) File "C:\Python27\lib\json\decoder.py", line 365, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Python27\lib\json\decoder.py", line 383, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded ## Reproduction Steps Code that i use in parts: For headers using following structure: headers = { 'Content-Type' : 'application/json; encoding="utf-8"', 'Authorization' : 'authorization ' } Sending request with: response = requests.post( url, headers = headers ) response.close() Trying to get text from response with: response.text (But it is empty!) or a json object, because getting json in response response.json() (But getting an exception described in ## Actual result) ## System Information Python 2.7.5 requests 2.17.3
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4130/reactions" }
https://api.github.com/repos/psf/requests/issues/4130/timeline
null
completed
null
null
false
[ "Are you actually sending any JSON data at all? You don't appear to be in your request: you only seem to be setting the url and the headers.", "Hello Lukasa, it was just an example. I send JSON.\r\nIf you like to test encoding, that should be utf-8 per default =>\r\npython =>\r\nimport requests\r\nresponse = requ...
https://api.github.com/repos/psf/requests/issues/4129
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4129/labels{/name}
https://api.github.com/repos/psf/requests/issues/4129/comments
https://api.github.com/repos/psf/requests/issues/4129/events
https://github.com/psf/requests/pull/4129
233,773,448
MDExOlB1bGxSZXF1ZXN0MTI0MTA1NDk4
4,129
Fix a typo: verison -> version
{ "avatar_url": "https://avatars.githubusercontent.com/u/1006477?v=4", "events_url": "https://api.github.com/users/felixonmars/events{/privacy}", "followers_url": "https://api.github.com/users/felixonmars/followers", "following_url": "https://api.github.com/users/felixonmars/following{/other_user}", "gists_url": "https://api.github.com/users/felixonmars/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/felixonmars", "id": 1006477, "login": "felixonmars", "node_id": "MDQ6VXNlcjEwMDY0Nzc=", "organizations_url": "https://api.github.com/users/felixonmars/orgs", "received_events_url": "https://api.github.com/users/felixonmars/received_events", "repos_url": "https://api.github.com/users/felixonmars/repos", "site_admin": false, "starred_url": "https://api.github.com/users/felixonmars/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/felixonmars/subscriptions", "type": "User", "url": "https://api.github.com/users/felixonmars", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-06-06T04:03:35Z
2021-09-05T00:07:16Z
2017-06-06T04:07:28Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4", "events_url": "https://api.github.com/users/nateprewitt/events{/privacy}", "followers_url": "https://api.github.com/users/nateprewitt/followers", "following_url": "https://api.github.com/users/nateprewitt/following{/other_user}", "gists_url": "https://api.github.com/users/nateprewitt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nateprewitt", "id": 5271761, "login": "nateprewitt", "node_id": "MDQ6VXNlcjUyNzE3NjE=", "organizations_url": "https://api.github.com/users/nateprewitt/orgs", "received_events_url": "https://api.github.com/users/nateprewitt/received_events", "repos_url": "https://api.github.com/users/nateprewitt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nateprewitt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nateprewitt/subscriptions", "type": "User", "url": "https://api.github.com/users/nateprewitt", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4129/reactions" }
https://api.github.com/repos/psf/requests/issues/4129/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4129.diff", "html_url": "https://github.com/psf/requests/pull/4129", "merged_at": "2017-06-06T04:07:28Z", "patch_url": "https://github.com/psf/requests/pull/4129.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4129" }
true
[]
https://api.github.com/repos/psf/requests/issues/4128
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4128/labels{/name}
https://api.github.com/repos/psf/requests/issues/4128/comments
https://api.github.com/repos/psf/requests/issues/4128/events
https://github.com/psf/requests/issues/4128
233,647,572
MDU6SXNzdWUyMzM2NDc1NzI=
4,128
investigate pytest-timeout plugin
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2017-06-05T16:52:18Z
2021-09-08T08:00:31Z
2017-07-29T22:41:49Z
CONTRIBUTOR
resolved
will increase the reliability of tests on windows, perhaps. - [ ] identify tests that hang on windows https://pypi.python.org/pypi/pytest-timeout
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4128/reactions" }
https://api.github.com/repos/psf/requests/issues/4128/timeline
null
completed
null
null
false
[ "I want to work on this issue! Can I take this issue as a beginner in OSS?", "I don't think this will help much with the Windows tests. Thanks for the interest @vikramcse " ]
https://api.github.com/repos/psf/requests/issues/4127
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4127/labels{/name}
https://api.github.com/repos/psf/requests/issues/4127/comments
https://api.github.com/repos/psf/requests/issues/4127/events
https://github.com/psf/requests/issues/4127
233,614,531
MDU6SXNzdWUyMzM2MTQ1MzE=
4,127
UnboundLocalError: local variable 'bypass' referenced before assignment
{ "avatar_url": "https://avatars.githubusercontent.com/u/8541468?v=4", "events_url": "https://api.github.com/users/mlcrazy/events{/privacy}", "followers_url": "https://api.github.com/users/mlcrazy/followers", "following_url": "https://api.github.com/users/mlcrazy/following{/other_user}", "gists_url": "https://api.github.com/users/mlcrazy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mlcrazy", "id": 8541468, "login": "mlcrazy", "node_id": "MDQ6VXNlcjg1NDE0Njg=", "organizations_url": "https://api.github.com/users/mlcrazy/orgs", "received_events_url": "https://api.github.com/users/mlcrazy/received_events", "repos_url": "https://api.github.com/users/mlcrazy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mlcrazy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mlcrazy/subscriptions", "type": "User", "url": "https://api.github.com/users/mlcrazy", "user_view_type": "public" }
[]
closed
true
null
[]
null
15
2017-06-05T14:52:56Z
2021-09-08T09:00:35Z
2017-06-09T18:34:56Z
CONTRIBUTOR
resolved
When using requests with GAE dev_appserver sandbox, this variable gets referenced before assignment when making requests to the FB graph API UnboundLocalError: local variable 'bypass' referenced before assignment https://github.com/requests/requests/blob/master/requests/utils.py#L680
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4127/reactions" }
https://api.github.com/repos/psf/requests/issues/4127/timeline
null
completed
null
null
false
[ "Uh...this bug appears to be fixed in the current release, if it was present at all. There is no way to that code unless `set_environ` does something absolutely horrifying in GAE, such as swallowing exceptions it hits in` __enter__`.", "Using requests==2.17.3, oddly enough this works fine for making requests to n...
https://api.github.com/repos/psf/requests/issues/4126
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4126/labels{/name}
https://api.github.com/repos/psf/requests/issues/4126/comments
https://api.github.com/repos/psf/requests/issues/4126/events
https://github.com/psf/requests/issues/4126
233,487,271
MDU6SXNzdWUyMzM0ODcyNzE=
4,126
digest auth with netrc
{ "avatar_url": "https://avatars.githubusercontent.com/u/14829854?v=4", "events_url": "https://api.github.com/users/fstefanov/events{/privacy}", "followers_url": "https://api.github.com/users/fstefanov/followers", "following_url": "https://api.github.com/users/fstefanov/following{/other_user}", "gists_url": "https://api.github.com/users/fstefanov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fstefanov", "id": 14829854, "login": "fstefanov", "node_id": "MDQ6VXNlcjE0ODI5ODU0", "organizations_url": "https://api.github.com/users/fstefanov/orgs", "received_events_url": "https://api.github.com/users/fstefanov/received_events", "repos_url": "https://api.github.com/users/fstefanov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fstefanov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fstefanov/subscriptions", "type": "User", "url": "https://api.github.com/users/fstefanov", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2017-06-05T03:42:21Z
2021-09-08T09:00:40Z
2017-06-05T13:36:33Z
NONE
resolved
According to the documentation: netrc Authentication If no authentication method is given with the auth argument, Requests will attempt to get the authentication credentials for the URL's hostname from the user's netrc file. The netrc file overrides raw HTTP authentication headers set with headers=. If credentials for the hostname are found, the request is sent with HTTP Basic Auth. How can i use then Digest with ~/.netrc ?
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4126/reactions" }
https://api.github.com/repos/psf/requests/issues/4126/timeline
null
completed
null
null
false
[ "At this time Requests does not enable the use of Digest Auth with `~/.netrc`. This would be a feature worth having, though it's a difficult one to add because right now Requests does not have any kind of multi-auth support. The toolbelt does though.", "@PhilipStefanov \"the toolbelt\" = https://github.com/reques...
https://api.github.com/repos/psf/requests/issues/4125
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4125/labels{/name}
https://api.github.com/repos/psf/requests/issues/4125/comments
https://api.github.com/repos/psf/requests/issues/4125/events
https://github.com/psf/requests/issues/4125
233,463,634
MDU6SXNzdWUyMzM0NjM2MzQ=
4,125
chardet version check in >=2.16.0 is breaking our tox tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/606038?v=4", "events_url": "https://api.github.com/users/cas--/events{/privacy}", "followers_url": "https://api.github.com/users/cas--/followers", "following_url": "https://api.github.com/users/cas--/following{/other_user}", "gists_url": "https://api.github.com/users/cas--/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cas--", "id": 606038, "login": "cas--", "node_id": "MDQ6VXNlcjYwNjAzOA==", "organizations_url": "https://api.github.com/users/cas--/orgs", "received_events_url": "https://api.github.com/users/cas--/received_events", "repos_url": "https://api.github.com/users/cas--/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cas--/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cas--/subscriptions", "type": "User", "url": "https://api.github.com/users/cas--", "user_view_type": "public" }
[]
closed
true
null
[]
null
5
2017-06-04T22:12:30Z
2021-09-08T09:00:39Z
2017-06-05T05:29:46Z
NONE
resolved
The latest update (2.16.0 and 2.17.3) to version check chardet has broken one of our sphinx docs tox tests on travis. ``` File "/home/travis/build/cas--/Deluge/.tox/docs/local/lib/python2.7/site-packages/requests/__init__.py", line 66, in <module> major, minor, patch = chardet.__version__.split('.')[:3] AttributeError: type object '__version__' has no attribute 'split' ``` I have no idea how/why this is occurring but it's your new code in `__init__.py` that is breaking when version checking chardet. Commit that introduced the issue: 2b34880e2fa3fe6006bf64517e036f5ed74478d6 Full details of OS and versions: https://travis-ci.org/cas--/Deluge/jobs/239401586
{ "avatar_url": "https://avatars.githubusercontent.com/u/606038?v=4", "events_url": "https://api.github.com/users/cas--/events{/privacy}", "followers_url": "https://api.github.com/users/cas--/followers", "following_url": "https://api.github.com/users/cas--/following{/other_user}", "gists_url": "https://api.github.com/users/cas--/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cas--", "id": 606038, "login": "cas--", "node_id": "MDQ6VXNlcjYwNjAzOA==", "organizations_url": "https://api.github.com/users/cas--/orgs", "received_events_url": "https://api.github.com/users/cas--/received_events", "repos_url": "https://api.github.com/users/cas--/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cas--/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cas--/subscriptions", "type": "User", "url": "https://api.github.com/users/cas--", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4125/reactions" }
https://api.github.com/repos/psf/requests/issues/4125/timeline
null
completed
null
null
false
[ "Is this reproducible for you outside of Travis CI? I cannot reproduce it.", "@cas-- It looks like this is directly related to the [`conf.py`](https://github.com/deluge-torrent/deluge/blob/6743b0c813769bd1fd6e3b0c96e2f037adc78dd0/docs/source/conf.py) file in Deluge's `docs/source` directory. It's replacing `chard...
https://api.github.com/repos/psf/requests/issues/4124
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4124/labels{/name}
https://api.github.com/repos/psf/requests/issues/4124/comments
https://api.github.com/repos/psf/requests/issues/4124/events
https://github.com/psf/requests/pull/4124
233,365,921
MDExOlB1bGxSZXF1ZXN0MTIzODQwNjUw
4,124
Add support for MessagePack
{ "avatar_url": "https://avatars.githubusercontent.com/u/116473?v=4", "events_url": "https://api.github.com/users/suzaku/events{/privacy}", "followers_url": "https://api.github.com/users/suzaku/followers", "following_url": "https://api.github.com/users/suzaku/following{/other_user}", "gists_url": "https://api.github.com/users/suzaku/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/suzaku", "id": 116473, "login": "suzaku", "node_id": "MDQ6VXNlcjExNjQ3Mw==", "organizations_url": "https://api.github.com/users/suzaku/orgs", "received_events_url": "https://api.github.com/users/suzaku/received_events", "repos_url": "https://api.github.com/users/suzaku/repos", "site_admin": false, "starred_url": "https://api.github.com/users/suzaku/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/suzaku/subscriptions", "type": "User", "url": "https://api.github.com/users/suzaku", "user_view_type": "public" }
[]
closed
true
null
[]
null
4
2017-06-03T12:15:30Z
2021-09-05T00:07:16Z
2017-06-03T21:11:20Z
NONE
resolved
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4124/reactions" }
https://api.github.com/repos/psf/requests/issues/4124/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4124.diff", "html_url": "https://github.com/psf/requests/pull/4124", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4124.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4124" }
true
[ "Hi there @suzaku!\r\n\r\nThanks for sending this pull request! We're so glad you've chosen to contribute to Requests and we appreciate all the time and effort you've put in to get to the point of sending this PR.\r\n\r\nSadly, however, it's highly unlikely that we will accept this pull request. Here's why:\r\n\r\n...
https://api.github.com/repos/psf/requests/issues/4123
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4123/labels{/name}
https://api.github.com/repos/psf/requests/issues/4123/comments
https://api.github.com/repos/psf/requests/issues/4123/events
https://github.com/psf/requests/issues/4123
232,804,149
MDU6SXNzdWUyMzI4MDQxNDk=
4,123
Make response.next lazily computable.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
[]
open
false
null
[]
null
17
2017-06-01T08:35:46Z
2024-05-19T18:54:54Z
null
MEMBER
null
When attempting to debug #4122 I attempted to use the standard method for debugging this, which is to set `allow_redirects=False` and to manually check the headers. Unfortunately, this no longer works since @kennethreitz shipped 2.15.0, as Requests now *always* computes the first redirect target in order to write it into `Response.next`. This makes it very frustrating to debug problems with Requests redirect following because it cannot be disabled, meaning that monkeypatching is required to prevent Requests blowing up. I propose that we should either make `response.next` lazily computable, such that it is only calculated when actually requested, or we should remove it. ## Expected Result I expected that if `allow_redirects=False` was provided Requests would not run any of its redirect handling code. ## Actual Result It did. ## Reproduction Steps ```python import requests url = 'http://www.yftxt.com/plus/xiazai_yfx.php?open=2&id=12914&uhash=7fadfdb165fadc7362f9dc90' requests.get(url, allow_redirects=False) ``` ## System Information $ python -m requests.help ``` { "chardet": { "version": "3.0.3" }, "cryptography": { "version": "" }, "implementation": { "name": "CPython", "version": "3.6.0" }, "platform": { "release": "16.7.0", "system": "Darwin" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.17.3" }, "system_ssl": { "version": "100020cf" }, "urllib3": { "version": "1.21.1" }, "using_pyopenssl": false } ```
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4123/reactions" }
https://api.github.com/repos/psf/requests/issues/4123/timeline
null
null
null
null
false
[ "> we should remove it.\r\n\r\n+1\r\n\r\nI don't think the implementation is good and I don't think having this on a Response object is the right place for it. There's no way for people to use that Request object with anything other than a Session and if they're already using a Session they have what they need.", ...
https://api.github.com/repos/psf/requests/issues/4122
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4122/labels{/name}
https://api.github.com/repos/psf/requests/issues/4122/comments
https://api.github.com/repos/psf/requests/issues/4122/events
https://github.com/psf/requests/issues/4122
232,791,488
MDU6SXNzdWUyMzI3OTE0ODg=
4,122
UnicodeDecodeError in requests.get(url) method
{ "avatar_url": "https://avatars.githubusercontent.com/u/6891304?v=4", "events_url": "https://api.github.com/users/zhuifengshen/events{/privacy}", "followers_url": "https://api.github.com/users/zhuifengshen/followers", "following_url": "https://api.github.com/users/zhuifengshen/following{/other_user}", "gists_url": "https://api.github.com/users/zhuifengshen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zhuifengshen", "id": 6891304, "login": "zhuifengshen", "node_id": "MDQ6VXNlcjY4OTEzMDQ=", "organizations_url": "https://api.github.com/users/zhuifengshen/orgs", "received_events_url": "https://api.github.com/users/zhuifengshen/received_events", "repos_url": "https://api.github.com/users/zhuifengshen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zhuifengshen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zhuifengshen/subscriptions", "type": "User", "url": "https://api.github.com/users/zhuifengshen", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2017-06-01T07:41:16Z
2021-09-08T09:00:40Z
2017-06-02T09:11:32Z
NONE
resolved
## Code: test.py ``` #!/usr/bin/env python # _*_ coding:utf-8 _*_ import requests url = 'http://www.yftxt.com/plus/xiazai_yfx.php?open=2&id=12914&uhash=7fadfdb165fadc7362f9dc90' requests.get(url) ``` ## System Information ubuntu 16.04 python3.6.1 requests2.14.2 ## Run $ python test.py ## Result ``` Traceback (most recent call last): File "/home/devin/Project/github/pythonic/Py3Demo/demo.py", line 71, in <module> requests.get(url) File "/usr/local/lib/python3.6.1/lib/python3.6/site-packages/requests/api.py", line 72, in get return request('get', url, params=params, **kwargs) File "/usr/local/lib/python3.6.1/lib/python3.6/site-packages/requests/api.py", line 58, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6.1/lib/python3.6/site-packages/requests/sessions.py", line 518, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6.1/lib/python3.6/site-packages/requests/sessions.py", line 661, in send history = [resp for resp in gen] if allow_redirects else [] File "/usr/local/lib/python3.6.1/lib/python3.6/site-packages/requests/sessions.py", line 661, in <listcomp> history = [resp for resp in gen] if allow_redirects else [] File "/usr/local/lib/python3.6.1/lib/python3.6/site-packages/requests/sessions.py", line 122, in resolve_redirects url = self.get_redirect_target(resp) File "/usr/local/lib/python3.6.1/lib/python3.6/site-packages/requests/sessions.py", line 113, in get_redirect_target return to_native_string(location, 'utf8') File "/usr/local/lib/python3.6.1/lib/python3.6/site-packages/requests/_internal_utils.py", line 25, in to_native_string out = string.decode(encoding) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb3 in position 39: invalid start byte ``` ##Help Does anyone knows this problem? Thanks
{ "avatar_url": "https://avatars.githubusercontent.com/u/6891304?v=4", "events_url": "https://api.github.com/users/zhuifengshen/events{/privacy}", "followers_url": "https://api.github.com/users/zhuifengshen/followers", "following_url": "https://api.github.com/users/zhuifengshen/following{/other_user}", "gists_url": "https://api.github.com/users/zhuifengshen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zhuifengshen", "id": 6891304, "login": "zhuifengshen", "node_id": "MDQ6VXNlcjY4OTEzMDQ=", "organizations_url": "https://api.github.com/users/zhuifengshen/orgs", "received_events_url": "https://api.github.com/users/zhuifengshen/received_events", "repos_url": "https://api.github.com/users/zhuifengshen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zhuifengshen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zhuifengshen/subscriptions", "type": "User", "url": "https://api.github.com/users/zhuifengshen", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4122/reactions" }
https://api.github.com/repos/psf/requests/issues/4122/timeline
null
completed
null
null
false
[ "Looks like the redirect location isn't encoded correct. Try it with\n`allow_redirects=false` and look at the response's `Location` header\n\nOn Thu, 1 Jun 2017, 5:41 PM Devin <notifications@github.com> wrote:\n\n> Code: test.py\n>\n> #!/usr/bin/env python\n> # _*_ coding:utf-8 _*_\n> import requests\n> url = 'http...
https://api.github.com/repos/psf/requests/issues/4121
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4121/labels{/name}
https://api.github.com/repos/psf/requests/issues/4121/comments
https://api.github.com/repos/psf/requests/issues/4121/events
https://github.com/psf/requests/issues/4121
232,686,555
MDU6SXNzdWUyMzI2ODY1NTU=
4,121
iter_lines gives different results depending on chunk_size
{ "avatar_url": "https://avatars.githubusercontent.com/u/16595115?v=4", "events_url": "https://api.github.com/users/a-p-f/events{/privacy}", "followers_url": "https://api.github.com/users/a-p-f/followers", "following_url": "https://api.github.com/users/a-p-f/following{/other_user}", "gists_url": "https://api.github.com/users/a-p-f/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/a-p-f", "id": 16595115, "login": "a-p-f", "node_id": "MDQ6VXNlcjE2NTk1MTE1", "organizations_url": "https://api.github.com/users/a-p-f/orgs", "received_events_url": "https://api.github.com/users/a-p-f/received_events", "repos_url": "https://api.github.com/users/a-p-f/repos", "site_admin": false, "starred_url": "https://api.github.com/users/a-p-f/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/a-p-f/subscriptions", "type": "User", "url": "https://api.github.com/users/a-p-f", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2017-05-31T20:30:24Z
2021-09-08T09:00:41Z
2017-05-31T20:40:31Z
NONE
resolved
When using iter_lines with chunk_size other than None, it can generate an extra blank line if the end of a chunk lands on a delimiter. ## Reproduction Steps ```python import StringIO import requests def getTestFile(): f = StringIO.StringIO() f.write('a-b') f.seek(0) return f r = requests.Response() r.raw = getTestFile() print [l for l in r.iter_lines(delimiter='-')] r = requests.Response() r.raw = getTestFile() print [l for l in r.iter_lines(delimiter='-', chunk_size=2)] ``` ## Expected Result ['a', 'b'] ['a', 'b'] ## Actual Result ['a', 'b'] ['a', '', 'b'] ## Proposed Fix I modified iter_lines as follows, and the above test passes: ```python def iter_lines(self, chunk_size=ITER_CHUNK_SIZE, decode_unicode=None, delimiter=None): """Iterates over the response data, one line at a time. When stream=True is set on the request, this avoids reading the content at once into memory for large responses. .. note:: This method is not reentrant safe. """ pending = None for chunk in self.iter_content(chunk_size=chunk_size, decode_unicode=decode_unicode): if pending is not None: chunk = pending + chunk if delimiter: lines = chunk.split(delimiter) else: lines = chunk.splitlines() if lines and lines[-1] and chunk and lines[-1][-1] == chunk[-1]: pending = lines.pop() elif lines and lines[-1] == '': pending = lines.pop() else: pending = None for line in lines: yield line if pending is not None: yield pending ``` ## System Information $ python -m requests.help ``` { "chardet": { "version": "3.0.3" }, "cryptography": { "version": "" }, "implementation": { "name": "CPython", "version": "2.7.13" }, "platform": { "release": "16.6.0", "system": "Darwin" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.17.3" }, "system_ssl": { "version": "100020bf" }, "urllib3": { "version": "1.21.1" }, "using_pyopenssl": false } ``` This command is only available on Requests v2.16.4 and greater. Otherwise, please provide some basic information about your system (Python version, operating system, &c).
{ "avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4", "events_url": "https://api.github.com/users/nateprewitt/events{/privacy}", "followers_url": "https://api.github.com/users/nateprewitt/followers", "following_url": "https://api.github.com/users/nateprewitt/following{/other_user}", "gists_url": "https://api.github.com/users/nateprewitt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nateprewitt", "id": 5271761, "login": "nateprewitt", "node_id": "MDQ6VXNlcjUyNzE3NjE=", "organizations_url": "https://api.github.com/users/nateprewitt/orgs", "received_events_url": "https://api.github.com/users/nateprewitt/received_events", "repos_url": "https://api.github.com/users/nateprewitt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nateprewitt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nateprewitt/subscriptions", "type": "User", "url": "https://api.github.com/users/nateprewitt", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4121/reactions" }
https://api.github.com/repos/psf/requests/issues/4121/timeline
null
completed
null
null
false
[ "Hey @a-p-f, thanks for putting together such a detailed issue. This is actually a duplicate of #3980 and addressed by #3984. This is a breaking change though, so it won't be available until 3.0.0 is released.\r\n\r\nI'm going to close this out as a dupe, but please let us know if you have any further questions.", ...
https://api.github.com/repos/psf/requests/issues/4120
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4120/labels{/name}
https://api.github.com/repos/psf/requests/issues/4120/comments
https://api.github.com/repos/psf/requests/issues/4120/events
https://github.com/psf/requests/pull/4120
232,508,242
MDExOlB1bGxSZXF1ZXN0MTIzMjMwOTYy
4,120
Bring 3.0 up-to-date with master.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
[]
closed
true
null
[]
null
15
2017-05-31T09:30:42Z
2021-09-05T00:07:14Z
2017-06-10T06:57:24Z
MEMBER
resolved
This was a gnarly merge, and the odds of it going right first time are pretty low, so let's have the CI prove or disprove the success of it for me.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4120/reactions" }
https://api.github.com/repos/psf/requests/issues/4120/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4120.diff", "html_url": "https://github.com/psf/requests/pull/4120", "merged_at": "2017-06-10T06:57:24Z", "patch_url": "https://github.com/psf/requests/pull/4120.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4120" }
true
[ "@Lukasa you're merging this into master?", "Other than definitely not wanting to merge this into master, this looks like it's right. It would be nice to see a smaller diff against proposed/3.0.0 though.", "Okay, I updated the branch for you", "FYI, the windows tests won't finish because they're blocked. I pi...
https://api.github.com/repos/psf/requests/issues/4119
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4119/labels{/name}
https://api.github.com/repos/psf/requests/issues/4119/comments
https://api.github.com/repos/psf/requests/issues/4119/events
https://github.com/psf/requests/issues/4119
232,493,981
MDU6SXNzdWUyMzI0OTM5ODE=
4,119
TypeError when using a custom HTTPSConnectionPool
{ "avatar_url": "https://avatars.githubusercontent.com/u/29090022?v=4", "events_url": "https://api.github.com/users/amatyukhin0/events{/privacy}", "followers_url": "https://api.github.com/users/amatyukhin0/followers", "following_url": "https://api.github.com/users/amatyukhin0/following{/other_user}", "gists_url": "https://api.github.com/users/amatyukhin0/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amatyukhin0", "id": 29090022, "login": "amatyukhin0", "node_id": "MDQ6VXNlcjI5MDkwMDIy", "organizations_url": "https://api.github.com/users/amatyukhin0/orgs", "received_events_url": "https://api.github.com/users/amatyukhin0/received_events", "repos_url": "https://api.github.com/users/amatyukhin0/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amatyukhin0/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amatyukhin0/subscriptions", "type": "User", "url": "https://api.github.com/users/amatyukhin0", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2017-05-31T08:38:35Z
2021-09-08T09:00:41Z
2017-05-31T08:59:42Z
NONE
resolved
An issue #4010 was closed, but this error ```python TypeError: _new_pool() got an unexpected keyword argument 'request_context' ``` still appears in requests 2.17.3. Details are in the issue #4010.
{ "avatar_url": "https://avatars.githubusercontent.com/u/29090022?v=4", "events_url": "https://api.github.com/users/amatyukhin0/events{/privacy}", "followers_url": "https://api.github.com/users/amatyukhin0/followers", "following_url": "https://api.github.com/users/amatyukhin0/following{/other_user}", "gists_url": "https://api.github.com/users/amatyukhin0/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amatyukhin0", "id": 29090022, "login": "amatyukhin0", "node_id": "MDQ6VXNlcjI5MDkwMDIy", "organizations_url": "https://api.github.com/users/amatyukhin0/orgs", "received_events_url": "https://api.github.com/users/amatyukhin0/received_events", "repos_url": "https://api.github.com/users/amatyukhin0/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amatyukhin0/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amatyukhin0/subscriptions", "type": "User", "url": "https://api.github.com/users/amatyukhin0", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4119/reactions" }
https://api.github.com/repos/psf/requests/issues/4119/timeline
null
completed
null
null
false
[ "@amatyukhin0 Did you read [this comment](https://github.com/requests/requests/issues/4010#issuecomment-300352930)? I believe it explains your concern.", "@Lukasa Sorry, i was inattentive, it works after the fix." ]
https://api.github.com/repos/psf/requests/issues/4118
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4118/labels{/name}
https://api.github.com/repos/psf/requests/issues/4118/comments
https://api.github.com/repos/psf/requests/issues/4118/events
https://github.com/psf/requests/pull/4118
232,401,613
MDExOlB1bGxSZXF1ZXN0MTIzMTU4MDM4
4,118
Drop python2.6 support
{ "avatar_url": "https://avatars.githubusercontent.com/u/730811?v=4", "events_url": "https://api.github.com/users/WhyNotHugo/events{/privacy}", "followers_url": "https://api.github.com/users/WhyNotHugo/followers", "following_url": "https://api.github.com/users/WhyNotHugo/following{/other_user}", "gists_url": "https://api.github.com/users/WhyNotHugo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WhyNotHugo", "id": 730811, "login": "WhyNotHugo", "node_id": "MDQ6VXNlcjczMDgxMQ==", "organizations_url": "https://api.github.com/users/WhyNotHugo/orgs", "received_events_url": "https://api.github.com/users/WhyNotHugo/received_events", "repos_url": "https://api.github.com/users/WhyNotHugo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WhyNotHugo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WhyNotHugo/subscriptions", "type": "User", "url": "https://api.github.com/users/WhyNotHugo", "user_view_type": "public" }
[]
closed
true
null
[]
null
16
2017-05-30T22:33:15Z
2021-09-05T00:07:08Z
2017-07-26T19:59:40Z
CONTRIBUTOR
resolved
Drop support for python2.6. Fixes #3928 Note that this targets the 3.0.0 branch, not master.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4118/reactions" }
https://api.github.com/repos/psf/requests/issues/4118/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4118.diff", "html_url": "https://github.com/psf/requests/pull/4118", "merged_at": "2017-07-26T19:59:40Z", "patch_url": "https://github.com/psf/requests/pull/4118.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4118" }
true
[ "Not entirely sure why CI is failing -- is this branch not updated for it?\r\n```\r\n+ make ci\r\nmake: *** No rule to make target 'ci'. Stop.\r\n```", "@hobarrera No, it looks like it isn't. I'll try to resolve that problem today.", "Thanks!", "Hey @hobarrera, it looks like 2.6 is still in the tox.ini file....
https://api.github.com/repos/psf/requests/issues/4117
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4117/labels{/name}
https://api.github.com/repos/psf/requests/issues/4117/comments
https://api.github.com/repos/psf/requests/issues/4117/events
https://github.com/psf/requests/issues/4117
232,395,252
MDU6SXNzdWUyMzIzOTUyNTI=
4,117
Looks like dependency mismatch for chardet lib.
{ "avatar_url": "https://avatars.githubusercontent.com/u/27700867?v=4", "events_url": "https://api.github.com/users/synchr-darnold/events{/privacy}", "followers_url": "https://api.github.com/users/synchr-darnold/followers", "following_url": "https://api.github.com/users/synchr-darnold/following{/other_user}", "gists_url": "https://api.github.com/users/synchr-darnold/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/synchr-darnold", "id": 27700867, "login": "synchr-darnold", "node_id": "MDQ6VXNlcjI3NzAwODY3", "organizations_url": "https://api.github.com/users/synchr-darnold/orgs", "received_events_url": "https://api.github.com/users/synchr-darnold/received_events", "repos_url": "https://api.github.com/users/synchr-darnold/repos", "site_admin": false, "starred_url": "https://api.github.com/users/synchr-darnold/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/synchr-darnold/subscriptions", "type": "User", "url": "https://api.github.com/users/synchr-darnold", "user_view_type": "public" }
[]
closed
true
null
[]
null
18
2017-05-30T22:02:34Z
2021-09-08T07:00:24Z
2017-05-31T01:00:30Z
NONE
resolved
Version: requests-2.17.3 Exception: Requests dependency 'chardet' must be version >= 3.0.2, < 3.1.0 ``` cd /usr/local/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/ [root@ip-10-0-11-136 packages]# python Python 2.7.12 (default, Sep 1 2016, 22:14:00) [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import chardet >>> import os >>> print os.path.abspath(chardet.__file__) /usr/local/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/chardet/__init__.pyc >>> chardet.__version__ '2.3.0' ```
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4117/reactions" }
https://api.github.com/repos/psf/requests/issues/4117/timeline
null
completed
null
null
false
[ "looks like you need to update your chardet to the versions specified :)", "Exactly what @kennethreitz. `pip install -U 'chardet >= 3.0.2, < 3.1.0'` will fix this up for you.", "The chardet that is included with requests is broken. ", "No chardet is included with the new versions of Requests: they depend on i...
https://api.github.com/repos/psf/requests/issues/4116
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4116/labels{/name}
https://api.github.com/repos/psf/requests/issues/4116/comments
https://api.github.com/repos/psf/requests/issues/4116/events
https://github.com/psf/requests/pull/4116
232,374,129
MDExOlB1bGxSZXF1ZXN0MTIzMTM3ODMy
4,116
Add editorconfig for easier styling
{ "avatar_url": "https://avatars.githubusercontent.com/u/12768035?v=4", "events_url": "https://api.github.com/users/ishvad/events{/privacy}", "followers_url": "https://api.github.com/users/ishvad/followers", "following_url": "https://api.github.com/users/ishvad/following{/other_user}", "gists_url": "https://api.github.com/users/ishvad/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ishvad", "id": 12768035, "login": "ishvad", "node_id": "MDQ6VXNlcjEyNzY4MDM1", "organizations_url": "https://api.github.com/users/ishvad/orgs", "received_events_url": "https://api.github.com/users/ishvad/received_events", "repos_url": "https://api.github.com/users/ishvad/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ishvad/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ishvad/subscriptions", "type": "User", "url": "https://api.github.com/users/ishvad", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2017-05-30T20:36:20Z
2021-09-01T00:11:41Z
2017-05-30T20:52:43Z
NONE
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4", "events_url": "https://api.github.com/users/nateprewitt/events{/privacy}", "followers_url": "https://api.github.com/users/nateprewitt/followers", "following_url": "https://api.github.com/users/nateprewitt/following{/other_user}", "gists_url": "https://api.github.com/users/nateprewitt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nateprewitt", "id": 5271761, "login": "nateprewitt", "node_id": "MDQ6VXNlcjUyNzE3NjE=", "organizations_url": "https://api.github.com/users/nateprewitt/orgs", "received_events_url": "https://api.github.com/users/nateprewitt/received_events", "repos_url": "https://api.github.com/users/nateprewitt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nateprewitt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nateprewitt/subscriptions", "type": "User", "url": "https://api.github.com/users/nateprewitt", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4116/reactions" }
https://api.github.com/repos/psf/requests/issues/4116/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4116.diff", "html_url": "https://github.com/psf/requests/pull/4116", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4116.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4116" }
true
[ "I don't think this is needed.", "Thanks for opening your first pull request, @ishvad! We appreciate your effort in trying to improve the Requests project.\r\n\r\nWe try to keep the code inside the Requests repository to minimum essentials. While this will likely be useful for some developers, I don't know if thi...
https://api.github.com/repos/psf/requests/issues/4115
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4115/labels{/name}
https://api.github.com/repos/psf/requests/issues/4115/comments
https://api.github.com/repos/psf/requests/issues/4115/events
https://github.com/psf/requests/pull/4115
232,269,728
MDExOlB1bGxSZXF1ZXN0MTIzMDYyMzg2
4,115
add cchardet support and use chardet as fallback
{ "avatar_url": "https://avatars.githubusercontent.com/u/4757825?v=4", "events_url": "https://api.github.com/users/2mf/events{/privacy}", "followers_url": "https://api.github.com/users/2mf/followers", "following_url": "https://api.github.com/users/2mf/following{/other_user}", "gists_url": "https://api.github.com/users/2mf/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/2mf", "id": 4757825, "login": "2mf", "node_id": "MDQ6VXNlcjQ3NTc4MjU=", "organizations_url": "https://api.github.com/users/2mf/orgs", "received_events_url": "https://api.github.com/users/2mf/received_events", "repos_url": "https://api.github.com/users/2mf/repos", "site_admin": false, "starred_url": "https://api.github.com/users/2mf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/2mf/subscriptions", "type": "User", "url": "https://api.github.com/users/2mf", "user_view_type": "public" }
[]
closed
true
null
[]
null
14
2017-05-30T14:21:56Z
2021-09-05T00:07:18Z
2017-05-30T19:45:53Z
NONE
resolved
I created this pull-request for #4112
{ "avatar_url": "https://avatars.githubusercontent.com/u/4757825?v=4", "events_url": "https://api.github.com/users/2mf/events{/privacy}", "followers_url": "https://api.github.com/users/2mf/followers", "following_url": "https://api.github.com/users/2mf/following{/other_user}", "gists_url": "https://api.github.com/users/2mf/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/2mf", "id": 4757825, "login": "2mf", "node_id": "MDQ6VXNlcjQ3NTc4MjU=", "organizations_url": "https://api.github.com/users/2mf/orgs", "received_events_url": "https://api.github.com/users/2mf/received_events", "repos_url": "https://api.github.com/users/2mf/repos", "site_admin": false, "starred_url": "https://api.github.com/users/2mf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/2mf/subscriptions", "type": "User", "url": "https://api.github.com/users/2mf", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4115/reactions" }
https://api.github.com/repos/psf/requests/issues/4115/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4115.diff", "html_url": "https://github.com/psf/requests/pull/4115", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4115.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4115" }
true
[ "sure :-)\r\nI have to update the test settings as well to ensure chardet and cchardet run both", "This whole thing scares me. ", "I for one am not wedded to doing it: I'm nervous about the amount of code it adds as well.", "@2mf do you have any metrics on how much faster cchardet is than chardet? e.g. is it ...
https://api.github.com/repos/psf/requests/issues/4114
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4114/labels{/name}
https://api.github.com/repos/psf/requests/issues/4114/comments
https://api.github.com/repos/psf/requests/issues/4114/events
https://github.com/psf/requests/pull/4114
232,202,449
MDExOlB1bGxSZXF1ZXN0MTIzMDEzMjgz
4,114
Catch error if multiprocessing is not available or is unable to determine the number of CPUs
{ "avatar_url": "https://avatars.githubusercontent.com/u/161093?v=4", "events_url": "https://api.github.com/users/girlpunk/events{/privacy}", "followers_url": "https://api.github.com/users/girlpunk/followers", "following_url": "https://api.github.com/users/girlpunk/following{/other_user}", "gists_url": "https://api.github.com/users/girlpunk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/girlpunk", "id": 161093, "login": "girlpunk", "node_id": "MDQ6VXNlcjE2MTA5Mw==", "organizations_url": "https://api.github.com/users/girlpunk/orgs", "received_events_url": "https://api.github.com/users/girlpunk/received_events", "repos_url": "https://api.github.com/users/girlpunk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/girlpunk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/girlpunk/subscriptions", "type": "User", "url": "https://api.github.com/users/girlpunk", "user_view_type": "public" }
[]
closed
true
null
[]
null
6
2017-05-30T10:03:05Z
2021-09-05T00:07:18Z
2017-05-30T12:54:32Z
CONTRIBUTOR
resolved
resolves #4113
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4114/reactions" }
https://api.github.com/repos/psf/requests/issues/4114/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4114.diff", "html_url": "https://github.com/psf/requests/pull/4114", "merged_at": "2017-05-30T12:54:32Z", "patch_url": "https://github.com/psf/requests/pull/4114.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4114" }
true
[ "FYI @kennethreitz, it seems only one check is running here: I have no idea why.", "add to whitelist", "(Taking a shot in the dark)", "There we go, spelling was never my forte (but the comment box here has spell check :)", "no rush from me, I'm stuck with 2.15.1 until chardet/chardet#127 is sorted.", "@si...
https://api.github.com/repos/psf/requests/issues/4113
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4113/labels{/name}
https://api.github.com/repos/psf/requests/issues/4113/comments
https://api.github.com/repos/psf/requests/issues/4113/events
https://github.com/psf/requests/issues/4113
232,199,143
MDU6SXNzdWUyMzIxOTkxNDM=
4,113
Installation fails on platforms without multiprocessing
{ "avatar_url": "https://avatars.githubusercontent.com/u/161093?v=4", "events_url": "https://api.github.com/users/girlpunk/events{/privacy}", "followers_url": "https://api.github.com/users/girlpunk/followers", "following_url": "https://api.github.com/users/girlpunk/following{/other_user}", "gists_url": "https://api.github.com/users/girlpunk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/girlpunk", "id": 161093, "login": "girlpunk", "node_id": "MDQ6VXNlcjE2MTA5Mw==", "organizations_url": "https://api.github.com/users/girlpunk/orgs", "received_events_url": "https://api.github.com/users/girlpunk/received_events", "repos_url": "https://api.github.com/users/girlpunk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/girlpunk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/girlpunk/subscriptions", "type": "User", "url": "https://api.github.com/users/girlpunk", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2017-05-30T09:50:23Z
2021-09-08T09:00:42Z
2017-05-30T12:54:32Z
CONTRIBUTOR
resolved
On the latest version of requests in pypi, requests requires the multiprocessing module to install correctly, even though it is not used in the installation, only in the unit tests. This means it is no longer possible to install requests on platforms that lack multiprocessing support (such as Android or IoT devices) ## Expected Result Requests is installed and available for use ## Actual Result Installation fails with the following: ``` Downloading/unpacking requests Downloading requests-2.17.3.tar.gz (123Kb): 123Kb downloaded Running setup.py egg_info for package requests Traceback (most recent call last): File "<string>", line 14, in <module> File "/tmp/build/requests/setup.py", line 11, in <module> from multiprocessing import cpu_count ImportError: No module named multiprocessing Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 14, in <module> File "/tmp/build/requests/setup.py", line 11, in <module> from multiprocessing import cpu_count ImportError: No module named multiprocessing ---------------------------------------- Command python setup.py egg_info failed with error code 1 Storing complete log in /sdcard/com.hipipal.qpyplus/.pip/pip.log ``` ## Reproduction Steps From a platform without multiprocessing: ``` pip install requests ``` ## System Information For obvious reasons, requests.help is not available, but I've tried to piece together the information that it would produce: - platform.system() Linux - platform.release() 3.14.29 - implementation CPython - implementation_version 2.7.2 - ssl.OPENSSL_VERSION_NUMBER 268443727L - requests_version 2.17.3
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4113/reactions" }
https://api.github.com/repos/psf/requests/issues/4113/timeline
null
completed
null
null
false
[ "Appears to be since e6e3589, I'll see if I can do a fix for it", "Thanks for this report. It should be entirely possible to pull the multiprocessing import into a tighter scope." ]
https://api.github.com/repos/psf/requests/issues/4112
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4112/labels{/name}
https://api.github.com/repos/psf/requests/issues/4112/comments
https://api.github.com/repos/psf/requests/issues/4112/events
https://github.com/psf/requests/issues/4112
232,186,491
MDU6SXNzdWUyMzIxODY0OTE=
4,112
please support cchardet as alternative to chardet
{ "avatar_url": "https://avatars.githubusercontent.com/u/4757825?v=4", "events_url": "https://api.github.com/users/2mf/events{/privacy}", "followers_url": "https://api.github.com/users/2mf/followers", "following_url": "https://api.github.com/users/2mf/following{/other_user}", "gists_url": "https://api.github.com/users/2mf/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/2mf", "id": 4757825, "login": "2mf", "node_id": "MDQ6VXNlcjQ3NTc4MjU=", "organizations_url": "https://api.github.com/users/2mf/orgs", "received_events_url": "https://api.github.com/users/2mf/received_events", "repos_url": "https://api.github.com/users/2mf/repos", "site_admin": false, "starred_url": "https://api.github.com/users/2mf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/2mf/subscriptions", "type": "User", "url": "https://api.github.com/users/2mf", "user_view_type": "public" }
[ { "color": "02e10c", "default": false, "description": null, "id": 76800, "name": "Feature Request", "node_id": "MDU6TGFiZWw3NjgwMA==", "url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request" } ]
closed
true
null
[]
null
0
2017-05-30T09:03:47Z
2021-09-08T09:00:41Z
2017-05-30T19:46:12Z
NONE
resolved
aiohttp is supporting cchardet as alternative to chardet as it is faster please do the same in requests
{ "avatar_url": "https://avatars.githubusercontent.com/u/4757825?v=4", "events_url": "https://api.github.com/users/2mf/events{/privacy}", "followers_url": "https://api.github.com/users/2mf/followers", "following_url": "https://api.github.com/users/2mf/following{/other_user}", "gists_url": "https://api.github.com/users/2mf/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/2mf", "id": 4757825, "login": "2mf", "node_id": "MDQ6VXNlcjQ3NTc4MjU=", "organizations_url": "https://api.github.com/users/2mf/orgs", "received_events_url": "https://api.github.com/users/2mf/received_events", "repos_url": "https://api.github.com/users/2mf/repos", "site_admin": false, "starred_url": "https://api.github.com/users/2mf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/2mf/subscriptions", "type": "User", "url": "https://api.github.com/users/2mf", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4112/reactions" }
https://api.github.com/repos/psf/requests/issues/4112/timeline
null
completed
null
null
false
[]
https://api.github.com/repos/psf/requests/issues/4111
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4111/labels{/name}
https://api.github.com/repos/psf/requests/issues/4111/comments
https://api.github.com/repos/psf/requests/issues/4111/events
https://github.com/psf/requests/pull/4111
232,142,905
MDExOlB1bGxSZXF1ZXN0MTIyOTcxOTE3
4,111
support urllib3-dev
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-30T04:56:03Z
2021-08-28T00:06:24Z
2017-05-30T06:52:35Z
CONTRIBUTOR
resolved
A user complained about this this weekend. Open to review / comments.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4111/reactions" }
https://api.github.com/repos/psf/requests/issues/4111/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4111.diff", "html_url": "https://github.com/psf/requests/pull/4111", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4111.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4111" }
true
[ "Feature request revoked" ]
https://api.github.com/repos/psf/requests/issues/4110
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4110/labels{/name}
https://api.github.com/repos/psf/requests/issues/4110/comments
https://api.github.com/repos/psf/requests/issues/4110/events
https://github.com/psf/requests/issues/4110
232,142,250
MDU6SXNzdWUyMzIxNDIyNTA=
4,110
Removed Myself from PyPi (security concerns, and otherwise)
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-30T04:50:09Z
2021-09-08T09:00:42Z
2017-05-30T04:50:34Z
CONTRIBUTOR
resolved
![letter](https://d3vv6lp55qjaqc.cloudfront.net/items/39202X1U0d430o2O3G1X/Screen%20Shot%202017-05-30%20at%2012.10.22%20AM.png?X-CloudApp-Visitor-Id=2577&v=0505af2c)
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4110/reactions" }
https://api.github.com/repos/psf/requests/issues/4110/timeline
null
completed
null
null
false
[ "Posting here as a matter of record. " ]
https://api.github.com/repos/psf/requests/issues/4109
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4109/labels{/name}
https://api.github.com/repos/psf/requests/issues/4109/comments
https://api.github.com/repos/psf/requests/issues/4109/events
https://github.com/psf/requests/issues/4109
232,141,308
MDU6SXNzdWUyMzIxNDEzMDg=
4,109
Concerns about 3.0.0 Plans (cryptography)
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[ { "color": "fbca04", "default": false, "description": null, "id": 44501249, "name": "Needs BDFL Input", "node_id": "MDU6TGFiZWw0NDUwMTI0OQ==", "url": "https://api.github.com/repos/psf/requests/labels/Needs%20BDFL%20Input" }, { "color": "fef2c0", "default": false, "descrip...
closed
true
null
[]
null
7
2017-05-30T04:40:13Z
2021-09-08T09:00:42Z
2017-05-30T15:23:33Z
CONTRIBUTOR
resolved
As @Lukasa and I discussed at PyCon, `twisted[tls]`, as it stands, would be a dependency of Requests for version 3.0.0. I have major concerns for this, as I struggled a lot to get `crypography` to install properly on Linux this weekend. We need to ensure that if we plan to to do this, before we put all the work in, that zero installation issues will be had by any of our users. One of the reasons we are popular and well-loved is the fact that we have no installation pains, compared to some other libraries. I think we may need to contribute to `cryptography` (potentially by just making suggestions, or otherwise) in order for this to be a tenable plan for us. ----------------- Correct me, of course, if I'm unfounded in any of my concern @Lukasa. Any thoughts?
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4109/reactions" }
https://api.github.com/repos/psf/requests/issues/4109/timeline
null
completed
null
null
false
[ "/cc @alex (potentially)", "So, the biggest thing we're planning to improve this is that we're looking into shipping Linux wheels. /cc @reaperhulk\r\n\r\nThe major blocker for doing that is making pyOpenSSL able to find certificates (not relevant for requests, because `certifi`, but still needed for other consume...
https://api.github.com/repos/psf/requests/issues/4108
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4108/labels{/name}
https://api.github.com/repos/psf/requests/issues/4108/comments
https://api.github.com/repos/psf/requests/issues/4108/events
https://github.com/psf/requests/pull/4108
232,128,756
MDExOlB1bGxSZXF1ZXN0MTIyOTYyODAy
4,108
flake8 improvements
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-30T02:35:48Z
2021-09-05T00:07:19Z
2017-05-30T03:08:03Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4108/reactions" }
https://api.github.com/repos/psf/requests/issues/4108/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4108.diff", "html_url": "https://github.com/psf/requests/pull/4108", "merged_at": "2017-05-30T03:08:03Z", "patch_url": "https://github.com/psf/requests/pull/4108.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4108" }
true
[ "man, that tool catches some great stuff. thanks for maintaining it, @sigmavirus24!" ]
https://api.github.com/repos/psf/requests/issues/4107
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4107/labels{/name}
https://api.github.com/repos/psf/requests/issues/4107/comments
https://api.github.com/repos/psf/requests/issues/4107/events
https://github.com/psf/requests/pull/4107
232,107,557
MDExOlB1bGxSZXF1ZXN0MTIyOTQ5OTk5
4,107
windows ci test
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-05-29T22:32:44Z
2021-09-05T00:07:20Z
2017-05-29T22:35:43Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4107/reactions" }
https://api.github.com/repos/psf/requests/issues/4107/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4107.diff", "html_url": "https://github.com/psf/requests/pull/4107", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4107.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4107" }
true
[]
https://api.github.com/repos/psf/requests/issues/4106
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4106/labels{/name}
https://api.github.com/repos/psf/requests/issues/4106/comments
https://api.github.com/repos/psf/requests/issues/4106/events
https://github.com/psf/requests/pull/4106
232,100,900
MDExOlB1bGxSZXF1ZXN0MTIyOTQ2MDA4
4,106
Fix requests.packages not having package attributes
{ "avatar_url": "https://avatars.githubusercontent.com/u/2896066?v=4", "events_url": "https://api.github.com/users/ryanpineo/events{/privacy}", "followers_url": "https://api.github.com/users/ryanpineo/followers", "following_url": "https://api.github.com/users/ryanpineo/following{/other_user}", "gists_url": "https://api.github.com/users/ryanpineo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ryanpineo", "id": 2896066, "login": "ryanpineo", "node_id": "MDQ6VXNlcjI4OTYwNjY=", "organizations_url": "https://api.github.com/users/ryanpineo/orgs", "received_events_url": "https://api.github.com/users/ryanpineo/received_events", "repos_url": "https://api.github.com/users/ryanpineo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ryanpineo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ryanpineo/subscriptions", "type": "User", "url": "https://api.github.com/users/ryanpineo", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2017-05-29T21:28:15Z
2021-09-05T00:07:20Z
2017-05-29T21:31:49Z
CONTRIBUTOR
resolved
Fixes #4104
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4106/reactions" }
https://api.github.com/repos/psf/requests/issues/4106/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4106.diff", "html_url": "https://github.com/psf/requests/pull/4106", "merged_at": "2017-05-29T21:31:49Z", "patch_url": "https://github.com/psf/requests/pull/4106.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4106" }
true
[ "Im not entirely sure if this is the best way to solve the problem but it looks like it works and causes the tests to pass", "exactly what i was going to do!", "Released as 2.17.2!" ]
https://api.github.com/repos/psf/requests/issues/4105
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4105/labels{/name}
https://api.github.com/repos/psf/requests/issues/4105/comments
https://api.github.com/repos/psf/requests/issues/4105/events
https://github.com/psf/requests/issues/4105
232,100,274
MDU6SXNzdWUyMzIxMDAyNzQ=
4,105
Since 2.17.1, urllib3 is no longer in requests.packages
{ "avatar_url": "https://avatars.githubusercontent.com/u/8939758?v=4", "events_url": "https://api.github.com/users/andy-maier/events{/privacy}", "followers_url": "https://api.github.com/users/andy-maier/followers", "following_url": "https://api.github.com/users/andy-maier/following{/other_user}", "gists_url": "https://api.github.com/users/andy-maier/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/andy-maier", "id": 8939758, "login": "andy-maier", "node_id": "MDQ6VXNlcjg5Mzk3NTg=", "organizations_url": "https://api.github.com/users/andy-maier/orgs", "received_events_url": "https://api.github.com/users/andy-maier/received_events", "repos_url": "https://api.github.com/users/andy-maier/repos", "site_admin": false, "starred_url": "https://api.github.com/users/andy-maier/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/andy-maier/subscriptions", "type": "User", "url": "https://api.github.com/users/andy-maier", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-29T21:22:38Z
2021-09-08T09:00:43Z
2017-05-29T21:26:53Z
NONE
resolved
The newly released v2.17.1 of the requests package introduced an issue in that `urllib3` is no longer in `requests.packages`: ``` python -c "import zhmcclient; print('Import: ok')" Traceback (most recent call last): File "<string>", line 1, in <module> File "zhmcclient/__init__.py", line 30, in <module> from ._session import * # noqa: F401 File "zhmcclient/_session.py", line 29, in <module> from requests.packages import urllib3 ImportError: cannot import name urllib3 ``` Version 2.17.0 and before worked fine. We circumvented this issue by fixing the version of requests to 2.17.0, for now. ## Expected Result `urllib3` is again in `requests.packages`. ## Actual Result `urllib3` is no longer in `requests.packages`. ## Reproduction Steps ```python from requests.packages import urllib3 ``` ## System Information This could be reproduced on Python 2.7, 3.4, 3.5, 3.6 and on all OS platforms that we test on (Ubuntu, OS-X and Windows).
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4105/reactions" }
https://api.github.com/repos/psf/requests/issues/4105/timeline
null
completed
null
null
false
[ "Closing for #4104" ]
https://api.github.com/repos/psf/requests/issues/4104
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4104/labels{/name}
https://api.github.com/repos/psf/requests/issues/4104/comments
https://api.github.com/repos/psf/requests/issues/4104/events
https://github.com/psf/requests/issues/4104
232,098,975
MDU6SXNzdWUyMzIwOTg5NzU=
4,104
AttributeError: module 'requests.packages' has no attribute 'urllib3'
{ "avatar_url": "https://avatars.githubusercontent.com/u/2896066?v=4", "events_url": "https://api.github.com/users/ryanpineo/events{/privacy}", "followers_url": "https://api.github.com/users/ryanpineo/followers", "following_url": "https://api.github.com/users/ryanpineo/following{/other_user}", "gists_url": "https://api.github.com/users/ryanpineo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ryanpineo", "id": 2896066, "login": "ryanpineo", "node_id": "MDQ6VXNlcjI4OTYwNjY=", "organizations_url": "https://api.github.com/users/ryanpineo/orgs", "received_events_url": "https://api.github.com/users/ryanpineo/received_events", "repos_url": "https://api.github.com/users/ryanpineo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ryanpineo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ryanpineo/subscriptions", "type": "User", "url": "https://api.github.com/users/ryanpineo", "user_view_type": "public" }
[]
closed
true
null
[]
null
11
2017-05-29T21:10:40Z
2021-09-08T07:00:26Z
2017-05-29T21:31:49Z
CONTRIBUTOR
resolved
This [commit](https://github.com/requests/requests/commit/588e8f7f640f774e71d61b53ccb34d310172e0ad) seems to have broken requests.packages. ## Expected Result requests.packages.urllib3 to be the urllib3 package ## Actual Result AttributeError: module 'requests.packages' has no attribute 'urllib3' ## Reproduction Steps ```python import requests requests.packages.urllib3 ``` ## System Information $ python -m requests.help ``` { "chardet": { "version": "3.0.3" }, "cryptography": { "version": "" }, "implementation": { "name": "CPython", "version": "3.6.1" }, "platform": { "release": "4.11.2-1-ARCH", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.17.1" }, "system_ssl": { "version": "1010006f" }, "urllib3": { "version": "1.21.1" }, "using_pyopenssl": false } ```
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/psf/requests/issues/4104/reactions" }
https://api.github.com/repos/psf/requests/issues/4104/timeline
null
completed
null
null
false
[ "Interesting, I am unable to reproduce locally", "nevermind!", "I'm able to reproduce this locally. It looks like this may be the product of removing the actual `import` statements.", "fix released in 2.17.2!", "Thanks for the speedy resolution!", "Thanks for the speedy release, but it does not work for u...
https://api.github.com/repos/psf/requests/issues/4103
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4103/labels{/name}
https://api.github.com/repos/psf/requests/issues/4103/comments
https://api.github.com/repos/psf/requests/issues/4103/events
https://github.com/psf/requests/pull/4103
232,087,196
MDExOlB1bGxSZXF1ZXN0MTIyOTM3OTU0
4,103
Preserve identity of unbundled deps
{ "avatar_url": "https://avatars.githubusercontent.com/u/837573?v=4", "events_url": "https://api.github.com/users/untitaker/events{/privacy}", "followers_url": "https://api.github.com/users/untitaker/followers", "following_url": "https://api.github.com/users/untitaker/following{/other_user}", "gists_url": "https://api.github.com/users/untitaker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/untitaker", "id": 837573, "login": "untitaker", "node_id": "MDQ6VXNlcjgzNzU3Mw==", "organizations_url": "https://api.github.com/users/untitaker/orgs", "received_events_url": "https://api.github.com/users/untitaker/received_events", "repos_url": "https://api.github.com/users/untitaker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/untitaker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/untitaker/subscriptions", "type": "User", "url": "https://api.github.com/users/untitaker", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-29T19:43:03Z
2021-09-05T00:07:21Z
2017-05-29T19:45:39Z
CONTRIBUTOR
resolved
Fix #4102
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4103/reactions" }
https://api.github.com/repos/psf/requests/issues/4103/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4103.diff", "html_url": "https://github.com/psf/requests/pull/4103", "merged_at": "2017-05-29T19:45:39Z", "patch_url": "https://github.com/psf/requests/pull/4103.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4103" }
true
[ "interesting. I didn't know you could use `__import__` usefully without an assignment. " ]
https://api.github.com/repos/psf/requests/issues/4102
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4102/labels{/name}
https://api.github.com/repos/psf/requests/issues/4102/comments
https://api.github.com/repos/psf/requests/issues/4102/events
https://github.com/psf/requests/issues/4102
232,086,285
MDU6SXNzdWUyMzIwODYyODU=
4,102
submodules of requests.packages.urllib3 are not equal to urllib3's
{ "avatar_url": "https://avatars.githubusercontent.com/u/837573?v=4", "events_url": "https://api.github.com/users/untitaker/events{/privacy}", "followers_url": "https://api.github.com/users/untitaker/followers", "following_url": "https://api.github.com/users/untitaker/following{/other_user}", "gists_url": "https://api.github.com/users/untitaker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/untitaker", "id": 837573, "login": "untitaker", "node_id": "MDQ6VXNlcjgzNzU3Mw==", "organizations_url": "https://api.github.com/users/untitaker/orgs", "received_events_url": "https://api.github.com/users/untitaker/received_events", "repos_url": "https://api.github.com/users/untitaker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/untitaker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/untitaker/subscriptions", "type": "User", "url": "https://api.github.com/users/untitaker", "user_view_type": "public" }
[]
closed
true
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}...
null
3
2017-05-29T19:35:46Z
2021-09-08T09:00:44Z
2017-05-29T19:45:39Z
CONTRIBUTOR
resolved
See title. Caused by the unbundling and related to e.g. #4072 ## Reproduction Steps ```python import requests.packages.urllib3 import urllib3 from requests.packages.urllib3.connectionpool import HTTPConnection as old from urllib3.connectionpool import HTTPConnection as new assert old is new ``` The assertion should not fail, but does on my machine ## System Information ``` { "chardet": { "version": "3.0.3" }, "cryptography": { "version": "1.8.1" }, "implementation": { "name": "CPython", "version": "3.6.1" }, "platform": { "release": "4.10.13-1-ARCH", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "100020bf", "version": "16.2.0" }, "requests": { "version": "2.17.0" }, "system_ssl": { "version": "1010005f" }, "urllib3": { "version": "1.21.1" }, "using_pyopenssl": true } ```
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4102/reactions" }
https://api.github.com/repos/psf/requests/issues/4102/timeline
null
completed
null
null
false
[ "Thank you for bringing such a reproducible case. I'll see what I can do. ", "I have a clue what might help, let me see.", "<3" ]
https://api.github.com/repos/psf/requests/issues/4101
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4101/labels{/name}
https://api.github.com/repos/psf/requests/issues/4101/comments
https://api.github.com/repos/psf/requests/issues/4101/events
https://github.com/psf/requests/issues/4101
232,076,714
MDU6SXNzdWUyMzIwNzY3MTQ=
4,101
Connection pool is full, discarding connection: localhost in 2.17.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/499317?v=4", "events_url": "https://api.github.com/users/bedge/events{/privacy}", "followers_url": "https://api.github.com/users/bedge/followers", "following_url": "https://api.github.com/users/bedge/following{/other_user}", "gists_url": "https://api.github.com/users/bedge/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bedge", "id": 499317, "login": "bedge", "node_id": "MDQ6VXNlcjQ5OTMxNw==", "organizations_url": "https://api.github.com/users/bedge/orgs", "received_events_url": "https://api.github.com/users/bedge/received_events", "repos_url": "https://api.github.com/users/bedge/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bedge/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bedge/subscriptions", "type": "User", "url": "https://api.github.com/users/bedge", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2017-05-29T18:21:59Z
2021-09-08T09:00:43Z
2017-05-29T23:16:39Z
NONE
resolved
Summary. After upgrading to 2.17.0 (from 2.14.2) I got an immediate failure on all apps using the requests lib. Given the fact that no one else has seen this, I expect it's an incompatibility between other libs. Filing here first to track. ## Expected Result No exception in normal use case. What you expected. No exception in normal use case. ## Actual Result ``` u'25177330-cf2a-3943-af3b-86582902a2cc', u'f296a708-e02c-393, resp:None, <type 'exceptions.ValueError'> Timeout value connect was Timeout(connect=None, read=None, total=None), but it must be an int, float or None. Traceback (most recent call last): File "/opt/nim/ur-api/mlutil/sdk/nimsdk.py", line 154, in _GET params=arguments File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 526, in get return self.request('GET', url, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 513, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 623, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 440, in send timeout=timeout File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 587, in urlopen timeout_obj = self._get_timeout(timeout) File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 302, in _get_timeout return Timeout.from_float(timeout) File "/usr/local/lib/python2.7/dist-packages/urllib3/util/timeout.py", line 154, in from_float return Timeout(read=timeout, connect=timeout) File "/usr/local/lib/python2.7/dist-packages/urllib3/util/timeout.py", line 94, in __init__ self._connect = self._validate_timeout(connect, 'connect') File "/usr/local/lib/python2.7/dist-packages/urllib3/util/timeout.py", line 127, in _validate_timeout "int, float or None." % (name, value)) ValueError: Timeout value connect was Timeout(connect=None, read=None, total=None), but it must be an int, float or None. ``` What happened instead. See exception above ## Reproduction Steps Have not tried to isolate or narrow focus. ## System Information $ python -m requests.help ``` ubuntu@ip-10-200-17-89:~$ python --version Python 2.7.12 ubuntu@ip-10-200-17-89:~$ pip --version pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7) ``` This command is only available on Requests v2.16.4 and greater. Otherwise, please provide some basic information about your system (Python version, operating system, &c).
{ "avatar_url": "https://avatars.githubusercontent.com/u/499317?v=4", "events_url": "https://api.github.com/users/bedge/events{/privacy}", "followers_url": "https://api.github.com/users/bedge/followers", "following_url": "https://api.github.com/users/bedge/following{/other_user}", "gists_url": "https://api.github.com/users/bedge/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bedge", "id": 499317, "login": "bedge", "node_id": "MDQ6VXNlcjQ5OTMxNw==", "organizations_url": "https://api.github.com/users/bedge/orgs", "received_events_url": "https://api.github.com/users/bedge/received_events", "repos_url": "https://api.github.com/users/bedge/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bedge/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bedge/subscriptions", "type": "User", "url": "https://api.github.com/users/bedge", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4101/reactions" }
https://api.github.com/repos/psf/requests/issues/4101/timeline
null
completed
null
null
false
[ "Thanks for taking the time to open this ticket, @bedge. I've got a feeling this is related to the unvendoring of Requests' dependencies. It looks like this *should* be solved in 2.17.1. Would you mind upgrading before we continue debugging here?", "Confirmed fixed in:\r\n```\r\nrequests==2.17.3\r\n```\r\nThanks ...
https://api.github.com/repos/psf/requests/issues/4100
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4100/labels{/name}
https://api.github.com/repos/psf/requests/issues/4100/comments
https://api.github.com/repos/psf/requests/issues/4100/events
https://github.com/psf/requests/pull/4100
232,065,915
MDExOlB1bGxSZXF1ZXN0MTIyOTI0NDAy
4,100
Remove session redirect cache
{ "avatar_url": "https://avatars.githubusercontent.com/u/706257?v=4", "events_url": "https://api.github.com/users/bcongdon/events{/privacy}", "followers_url": "https://api.github.com/users/bcongdon/followers", "following_url": "https://api.github.com/users/bcongdon/following{/other_user}", "gists_url": "https://api.github.com/users/bcongdon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bcongdon", "id": 706257, "login": "bcongdon", "node_id": "MDQ6VXNlcjcwNjI1Nw==", "organizations_url": "https://api.github.com/users/bcongdon/orgs", "received_events_url": "https://api.github.com/users/bcongdon/received_events", "repos_url": "https://api.github.com/users/bcongdon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bcongdon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bcongdon/subscriptions", "type": "User", "url": "https://api.github.com/users/bcongdon", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-29T16:56:29Z
2021-09-05T00:07:22Z
2017-05-29T17:14:43Z
CONTRIBUTOR
resolved
Addresses #4055. Essentially, this just strips out the redirect cache in `sessions.py`. I ran the tests and didn't find any side effects of removing the cache. This is my first PR to requests, so let me know if there's any additional steps that need to be done. Thanks!
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4100/reactions" }
https://api.github.com/repos/psf/requests/issues/4100/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4100.diff", "html_url": "https://github.com/psf/requests/pull/4100", "merged_at": "2017-05-29T17:14:43Z", "patch_url": "https://github.com/psf/requests/pull/4100.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4100" }
true
[ "This looks great! If the tests pass, we can release this as v0.17.0" ]
https://api.github.com/repos/psf/requests/issues/4099
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4099/labels{/name}
https://api.github.com/repos/psf/requests/issues/4099/comments
https://api.github.com/repos/psf/requests/issues/4099/events
https://github.com/psf/requests/pull/4099
232,059,459
MDExOlB1bGxSZXF1ZXN0MTIyOTIwMDU3
4,099
Requests namespace
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-29T16:12:09Z
2021-09-05T00:07:21Z
2017-05-29T17:15:21Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4099/reactions" }
https://api.github.com/repos/psf/requests/issues/4099/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4099.diff", "html_url": "https://github.com/psf/requests/pull/4099", "merged_at": "2017-05-29T17:15:21Z", "patch_url": "https://github.com/psf/requests/pull/4099.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4099" }
true
[ "🍰 🎉 " ]
https://api.github.com/repos/psf/requests/issues/4098
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4098/labels{/name}
https://api.github.com/repos/psf/requests/issues/4098/comments
https://api.github.com/repos/psf/requests/issues/4098/events
https://github.com/psf/requests/pull/4098
231,986,398
MDExOlB1bGxSZXF1ZXN0MTIyODY5MTU2
4,098
move functionlocal imports in utils.py and models.py to global scope
{ "avatar_url": "https://avatars.githubusercontent.com/u/1318438?v=4", "events_url": "https://api.github.com/users/NiklasRosenstein/events{/privacy}", "followers_url": "https://api.github.com/users/NiklasRosenstein/followers", "following_url": "https://api.github.com/users/NiklasRosenstein/following{/other_user}", "gists_url": "https://api.github.com/users/NiklasRosenstein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/NiklasRosenstein", "id": 1318438, "login": "NiklasRosenstein", "node_id": "MDQ6VXNlcjEzMTg0Mzg=", "organizations_url": "https://api.github.com/users/NiklasRosenstein/orgs", "received_events_url": "https://api.github.com/users/NiklasRosenstein/received_events", "repos_url": "https://api.github.com/users/NiklasRosenstein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/NiklasRosenstein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NiklasRosenstein/subscriptions", "type": "User", "url": "https://api.github.com/users/NiklasRosenstein", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2017-05-29T10:33:18Z
2021-09-05T00:07:21Z
2017-05-29T17:24:48Z
NONE
resolved
This avoids runtime warnings when using the `requests` module for the first time when it is no longer in `sys.modules`. ``` [...]\Lib\site-packages\requests\utils.py:164: RuntimeWarning: Parent module 'requests' not found while handling absolute import from netrc import netrc, NetrcParseError [...]\Lib\site-packages\requests\utils.py:49: RuntimeWarning: Parent module 'requests' not found while handling absolute import import _winreg as winreg ``` Seeing this warning is very common for me, since I develop Python plugins for an application that embeds Python. To ensure that no dependencies between plugins are conflicting, every plugin develiers its own dependencies and makes sure they leave no trace in `sys.modules` and `sys.path`.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4098/reactions" }
https://api.github.com/repos/psf/requests/issues/4098/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4098.diff", "html_url": "https://github.com/psf/requests/pull/4098", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4098.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4098" }
true
[ "Hrm, I'm pretty nervous about this. It's hard for us to avoid regressing this behaviour and it's extremely likely that we'd add it somewhere else. Is it not more advisable to silence the warning?", "While that is possible, eg. by wrapping the requests API, the [`warnings` \"Temporarily Suppressing Warnings\"][0]...
https://api.github.com/repos/psf/requests/issues/4097
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4097/labels{/name}
https://api.github.com/repos/psf/requests/issues/4097/comments
https://api.github.com/repos/psf/requests/issues/4097/events
https://github.com/psf/requests/issues/4097
231,963,667
MDU6SXNzdWUyMzE5NjM2Njc=
4,097
Allow passing a JSONEncoder and JSONDecoder
{ "avatar_url": "https://avatars.githubusercontent.com/u/779047?v=4", "events_url": "https://api.github.com/users/remcohaszing/events{/privacy}", "followers_url": "https://api.github.com/users/remcohaszing/followers", "following_url": "https://api.github.com/users/remcohaszing/following{/other_user}", "gists_url": "https://api.github.com/users/remcohaszing/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/remcohaszing", "id": 779047, "login": "remcohaszing", "node_id": "MDQ6VXNlcjc3OTA0Nw==", "organizations_url": "https://api.github.com/users/remcohaszing/orgs", "received_events_url": "https://api.github.com/users/remcohaszing/received_events", "repos_url": "https://api.github.com/users/remcohaszing/repos", "site_admin": false, "starred_url": "https://api.github.com/users/remcohaszing/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/remcohaszing/subscriptions", "type": "User", "url": "https://api.github.com/users/remcohaszing", "user_view_type": "public" }
[]
closed
true
null
[]
null
4
2017-05-29T08:53:37Z
2021-09-08T08:00:42Z
2017-05-29T08:59:41Z
NONE
resolved
The python json module supports a custom [JSONEncoder] and [JSONDecoder]. This enables to serialize / deserialize custom data formats. Since requests just passes JSON data directly to `json.dumps` and `json.loads`, it is not possible to customize JSON serialization at all. As a result one must configure configure the JSON request manually, meaning the content type needs to be set manually. I suggest to add the ability to pass custom `json_encoder` and `json_decoder` properties to requests. This handles pretty much all other arguments that could be passed to `json.dumps` and `json.loads` as well. This example: ```python response = requests.post( 'https://www.example.com', content_type='application/json', data=json.dumps(data, cls=MyEncoder)) result = json.loads(response.text, cls=MyDecoder) ``` would become: ```python response = requests.post( 'https://www.example.com', json=data, json_encoder=MyEncoder, json_decoder=MyDecoder) result = response.json() ``` I could even imagine that it's useful to pass these arguments to the session constructor, because data from one session might often contain the same types of data serialization. ```python session = requests.Session(json_encoder=MyEncoder, json_decoder=MyDecoder) response = session.post('https://www.example.com', json=data) result = response.json() ``` [JSONDecoder]: https://docs.python.org/3.6/library/json.html#json.JSONDecoder [JSONEncoder]: https://docs.python.org/3.6/library/json.html#json.JSONEncoder
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4097/reactions" }
https://api.github.com/repos/psf/requests/issues/4097/timeline
null
completed
null
null
false
[ "Thanks for this suggestion!\r\n\r\nIt's been provided before and was rejected (see #2755): the same argument applies here, I'm afraid. This is just too minor in utility to justify adding the extra kwargs: `json=` triggers only a tiny amount of code that can easily be replicated in your own application. :smile:", ...
https://api.github.com/repos/psf/requests/issues/4096
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4096/labels{/name}
https://api.github.com/repos/psf/requests/issues/4096/comments
https://api.github.com/repos/psf/requests/issues/4096/events
https://github.com/psf/requests/issues/4096
231,952,326
MDU6SXNzdWUyMzE5NTIzMjY=
4,096
Requests > 2.16.1 breaks urllib3's Retry functionality
{ "avatar_url": "https://avatars.githubusercontent.com/u/372783?v=4", "events_url": "https://api.github.com/users/thomir/events{/privacy}", "followers_url": "https://api.github.com/users/thomir/followers", "following_url": "https://api.github.com/users/thomir/following{/other_user}", "gists_url": "https://api.github.com/users/thomir/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/thomir", "id": 372783, "login": "thomir", "node_id": "MDQ6VXNlcjM3Mjc4Mw==", "organizations_url": "https://api.github.com/users/thomir/orgs", "received_events_url": "https://api.github.com/users/thomir/received_events", "repos_url": "https://api.github.com/users/thomir/repos", "site_admin": false, "starred_url": "https://api.github.com/users/thomir/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thomir/subscriptions", "type": "User", "url": "https://api.github.com/users/thomir", "user_view_type": "public" }
[]
closed
true
null
[]
null
7
2017-05-29T07:59:52Z
2021-09-08T09:00:44Z
2017-05-29T20:40:19Z
NONE
resolved
Hi, We had code that used the vendorised urllib3 Retry functionality like so: ```python from requests.packages.urllib3.util import Retry session = requests.Session() retries = Retry( total=2, method_whitelist=['GET', 'POST', 'PATCH'], status_forcelist=[500, 502, 503, 504]) retryable_adapter = HTTPAdapter(max_retries=retries) session.mount('http://', retryable_adapter) session.mount('https://', retryable_adapter) ``` When we were running requests 2.13.0 this worked fine. However, today we upgraded to 2.16.5 and found that while the above code does not error, it now silently does nothing. This is because: `HTTPAdapter.__init__` calls `self.max_retries = Retry.from_int(max_retries)`, passing my Retry instance into Retry.from_int. `Retry.from_int` has this snippet of code: ```python if isinstance(retries, Retry): return retries ``` In earlier versions of requests this returned my `Retry` instance unchanged. However now the `isinstance` check fails because: ``` >>> type(retries) <class 'requests.packages.urllib3.util.retry.Retry'> >>> Retry <class 'urllib3.util.retry.Retry'> ``` I note that in 2.16.1 the release notes mentioned this exact problem, and provided a workaround (that works!). However, the release notes for [2.16.2](https://github.com/kennethreitz/requests/blob/master/HISTORY.rst#2162-2017-05-27) say that the workaround is no longer necessary. I'm happy with the workaround documented in the 2.16.1 release notes, but wanted to file this bug so you're aware that the advice in the 2.16.2 release notes is misleading, and leads to subtle bugs. ## System Information $ python -m requests.help ``` { "chardet": { "version": "3.0.3" }, "cryptography": { "version": "" }, "implementation": { "name": "CPython", "version": "3.4.3" }, "platform": { "release": "4.10.0-21-generic", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.16.5" }, "system_ssl": { "version": "1000106f" }, "urllib3": { "version": "1.21.1" }, "using_pyopenssl": false } ```
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4096/reactions" }
https://api.github.com/repos/psf/requests/issues/4096/timeline
null
completed
null
null
false
[ "Thanks for this report! I think this is for @kennethreitz to deal with. 😁", "Can you confirm for me that you don't have any older Requests `*.pyc` files in your environment? I can't reproduce this with the current master branch:\r\n\r\n```pycon\r\n>>> import requests\r\n>>> import urllib3\r\n>>> x = urllib3.uti...
https://api.github.com/repos/psf/requests/issues/4095
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4095/labels{/name}
https://api.github.com/repos/psf/requests/issues/4095/comments
https://api.github.com/repos/psf/requests/issues/4095/events
https://github.com/psf/requests/pull/4095
231,933,534
MDExOlB1bGxSZXF1ZXN0MTIyODMyNDE4
4,095
test
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-05-29T06:01:26Z
2021-09-05T00:07:22Z
2017-05-29T15:40:06Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4095/reactions" }
https://api.github.com/repos/psf/requests/issues/4095/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4095.diff", "html_url": "https://github.com/psf/requests/pull/4095", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4095.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4095" }
true
[]
https://api.github.com/repos/psf/requests/issues/4094
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4094/labels{/name}
https://api.github.com/repos/psf/requests/issues/4094/comments
https://api.github.com/repos/psf/requests/issues/4094/events
https://github.com/psf/requests/pull/4094
231,930,372
MDExOlB1bGxSZXF1ZXN0MTIyODMwMjY3
4,094
Flake8
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-05-29T05:32:02Z
2021-09-05T00:07:22Z
2017-05-29T05:53:27Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4094/reactions" }
https://api.github.com/repos/psf/requests/issues/4094/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4094.diff", "html_url": "https://github.com/psf/requests/pull/4094", "merged_at": "2017-05-29T05:53:27Z", "patch_url": "https://github.com/psf/requests/pull/4094.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4094" }
true
[]
https://api.github.com/repos/psf/requests/issues/4093
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4093/labels{/name}
https://api.github.com/repos/psf/requests/issues/4093/comments
https://api.github.com/repos/psf/requests/issues/4093/events
https://github.com/psf/requests/pull/4093
231,929,892
MDExOlB1bGxSZXF1ZXN0MTIyODMwMDAx
4,093
More Testing
{ "avatar_url": "https://avatars.githubusercontent.com/u/208567?v=4", "events_url": "https://api.github.com/users/erinxocon/events{/privacy}", "followers_url": "https://api.github.com/users/erinxocon/followers", "following_url": "https://api.github.com/users/erinxocon/following{/other_user}", "gists_url": "https://api.github.com/users/erinxocon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erinxocon", "id": 208567, "login": "erinxocon", "node_id": "MDQ6VXNlcjIwODU2Nw==", "organizations_url": "https://api.github.com/users/erinxocon/orgs", "received_events_url": "https://api.github.com/users/erinxocon/received_events", "repos_url": "https://api.github.com/users/erinxocon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erinxocon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erinxocon/subscriptions", "type": "User", "url": "https://api.github.com/users/erinxocon", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-05-29T05:27:48Z
2021-09-05T00:07:23Z
2017-05-29T05:53:09Z
NONE
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4093/reactions" }
https://api.github.com/repos/psf/requests/issues/4093/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4093.diff", "html_url": "https://github.com/psf/requests/pull/4093", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4093.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4093" }
true
[]
https://api.github.com/repos/psf/requests/issues/4092
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4092/labels{/name}
https://api.github.com/repos/psf/requests/issues/4092/comments
https://api.github.com/repos/psf/requests/issues/4092/events
https://github.com/psf/requests/pull/4092
231,927,544
MDExOlB1bGxSZXF1ZXN0MTIyODI4NTQ0
4,092
testing
{ "avatar_url": "https://avatars.githubusercontent.com/u/208567?v=4", "events_url": "https://api.github.com/users/erinxocon/events{/privacy}", "followers_url": "https://api.github.com/users/erinxocon/followers", "following_url": "https://api.github.com/users/erinxocon/following{/other_user}", "gists_url": "https://api.github.com/users/erinxocon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erinxocon", "id": 208567, "login": "erinxocon", "node_id": "MDQ6VXNlcjIwODU2Nw==", "organizations_url": "https://api.github.com/users/erinxocon/orgs", "received_events_url": "https://api.github.com/users/erinxocon/received_events", "repos_url": "https://api.github.com/users/erinxocon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erinxocon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erinxocon/subscriptions", "type": "User", "url": "https://api.github.com/users/erinxocon", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-29T05:02:57Z
2021-09-06T00:06:47Z
2017-05-29T05:26:49Z
NONE
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4092/reactions" }
https://api.github.com/repos/psf/requests/issues/4092/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4092.diff", "html_url": "https://github.com/psf/requests/pull/4092", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4092.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4092" }
true
[ "add to whitelist" ]
https://api.github.com/repos/psf/requests/issues/4091
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4091/labels{/name}
https://api.github.com/repos/psf/requests/issues/4091/comments
https://api.github.com/repos/psf/requests/issues/4091/events
https://github.com/psf/requests/pull/4091
231,925,602
MDExOlB1bGxSZXF1ZXN0MTIyODI3MjQ1
4,091
test
{ "avatar_url": "https://avatars.githubusercontent.com/u/208567?v=4", "events_url": "https://api.github.com/users/erinxocon/events{/privacy}", "followers_url": "https://api.github.com/users/erinxocon/followers", "following_url": "https://api.github.com/users/erinxocon/following{/other_user}", "gists_url": "https://api.github.com/users/erinxocon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erinxocon", "id": 208567, "login": "erinxocon", "node_id": "MDQ6VXNlcjIwODU2Nw==", "organizations_url": "https://api.github.com/users/erinxocon/orgs", "received_events_url": "https://api.github.com/users/erinxocon/received_events", "repos_url": "https://api.github.com/users/erinxocon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erinxocon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erinxocon/subscriptions", "type": "User", "url": "https://api.github.com/users/erinxocon", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-29T04:41:12Z
2021-09-06T00:06:48Z
2017-05-29T05:01:47Z
NONE
resolved
changed humans to human
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4091/reactions" }
https://api.github.com/repos/psf/requests/issues/4091/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4091.diff", "html_url": "https://github.com/psf/requests/pull/4091", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4091.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4091" }
true
[ "# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4091?src=pr&el=h1) Report\n> Merging [#4091](https://codecov.io/gh/kennethreitz/requests/pull/4091?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/78349914c818db5f904f630e3614e488260772ef?src=pr&el=desc) will **not change...
https://api.github.com/repos/psf/requests/issues/4090
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4090/labels{/name}
https://api.github.com/repos/psf/requests/issues/4090/comments
https://api.github.com/repos/psf/requests/issues/4090/events
https://github.com/psf/requests/pull/4090
231,920,046
MDExOlB1bGxSZXF1ZXN0MTIyODIzNjU4
4,090
just testing
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-05-29T03:36:35Z
2021-09-05T00:07:19Z
2017-05-29T05:01:35Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4090/reactions" }
https://api.github.com/repos/psf/requests/issues/4090/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4090.diff", "html_url": "https://github.com/psf/requests/pull/4090", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4090.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4090" }
true
[]
https://api.github.com/repos/psf/requests/issues/4089
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4089/labels{/name}
https://api.github.com/repos/psf/requests/issues/4089/comments
https://api.github.com/repos/psf/requests/issues/4089/events
https://github.com/psf/requests/pull/4089
231,909,363
MDExOlB1bGxSZXF1ZXN0MTIyODE3MDQ2
4,089
test 4
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-29T01:29:45Z
2021-09-06T00:06:48Z
2017-05-29T03:36:01Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4089/reactions" }
https://api.github.com/repos/psf/requests/issues/4089/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4089.diff", "html_url": "https://github.com/psf/requests/pull/4089", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4089.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4089" }
true
[ "# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4089?src=pr&el=h1) Report\n> Merging [#4089](https://codecov.io/gh/kennethreitz/requests/pull/4089?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/78349914c818db5f904f630e3614e488260772ef?src=pr&el=desc) will **not change...
https://api.github.com/repos/psf/requests/issues/4088
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4088/labels{/name}
https://api.github.com/repos/psf/requests/issues/4088/comments
https://api.github.com/repos/psf/requests/issues/4088/events
https://github.com/psf/requests/pull/4088
231,904,827
MDExOlB1bGxSZXF1ZXN0MTIyODE0NTYx
4,088
test 3
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
8
2017-05-29T00:18:28Z
2021-09-06T00:06:48Z
2017-05-29T01:51:22Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4088/reactions" }
https://api.github.com/repos/psf/requests/issues/4088/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4088.diff", "html_url": "https://github.com/psf/requests/pull/4088", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4088.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4088" }
true
[ "Can one of the admins verify this patch?", "Can one of the admins verify this patch?", "Can one of the admins verify this patch?", "Can one of the admins verify this patch?", "add to whitelist", "ok to test", "ok to test", "ok to test" ]
https://api.github.com/repos/psf/requests/issues/4087
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4087/labels{/name}
https://api.github.com/repos/psf/requests/issues/4087/comments
https://api.github.com/repos/psf/requests/issues/4087/events
https://github.com/psf/requests/pull/4087
231,904,253
MDExOlB1bGxSZXF1ZXN0MTIyODE0MjQx
4,087
test 2
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2017-05-29T00:07:12Z
2021-09-06T00:06:49Z
2017-05-29T00:17:04Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4087/reactions" }
https://api.github.com/repos/psf/requests/issues/4087/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4087.diff", "html_url": "https://github.com/psf/requests/pull/4087", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4087.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4087" }
true
[ "test", "Can one of the admins verify this patch?" ]
https://api.github.com/repos/psf/requests/issues/4086
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4086/labels{/name}
https://api.github.com/repos/psf/requests/issues/4086/comments
https://api.github.com/repos/psf/requests/issues/4086/events
https://github.com/psf/requests/pull/4086
231,880,507
MDExOlB1bGxSZXF1ZXN0MTIyODAxNTY5
4,086
try this travis file
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-28T16:54:31Z
2021-09-05T00:07:19Z
2017-05-28T18:38:52Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4086/reactions" }
https://api.github.com/repos/psf/requests/issues/4086/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4086.diff", "html_url": "https://github.com/psf/requests/pull/4086", "merged_at": "2017-05-28T18:38:52Z", "patch_url": "https://github.com/psf/requests/pull/4086.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4086" }
true
[ "# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4086?src=pr&el=h1) Report\n> Merging [#4086](https://codecov.io/gh/kennethreitz/requests/pull/4086?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/303eca03f31741571fe2025d792ca3db28687078?src=pr&el=desc) will **not change...
https://api.github.com/repos/psf/requests/issues/4085
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4085/labels{/name}
https://api.github.com/repos/psf/requests/issues/4085/comments
https://api.github.com/repos/psf/requests/issues/4085/events
https://github.com/psf/requests/issues/4085
231,872,723
MDU6SXNzdWUyMzE4NzI3MjM=
4,085
AttributeError using socks5 support [socks]
{ "avatar_url": "https://avatars.githubusercontent.com/u/17954776?v=4", "events_url": "https://api.github.com/users/dorazouri/events{/privacy}", "followers_url": "https://api.github.com/users/dorazouri/followers", "following_url": "https://api.github.com/users/dorazouri/following{/other_user}", "gists_url": "https://api.github.com/users/dorazouri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dorazouri", "id": 17954776, "login": "dorazouri", "node_id": "MDQ6VXNlcjE3OTU0Nzc2", "organizations_url": "https://api.github.com/users/dorazouri/orgs", "received_events_url": "https://api.github.com/users/dorazouri/received_events", "repos_url": "https://api.github.com/users/dorazouri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dorazouri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dorazouri/subscriptions", "type": "User", "url": "https://api.github.com/users/dorazouri", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-28T14:31:58Z
2021-09-08T09:00:50Z
2017-05-28T14:40:25Z
NONE
resolved
Using requests with a socks5 proxy fails on: AttributeError: 'super' object has no attribute 'settimeout' ## Reproduction Steps `pip install requests[socks]==2.14.2` (this installs PySocks v1.6.7) run a socks proxy on port 9050. I use Tor for that matter. Simplified code I use is: ```python import requests proxies={'http': 'socks5://127.0.0.1:9050'} url = 'http://www.whatismyip.org/' requests.get(url, proxies=proxies) ``` ## System Information ``` Windows 7 (x64): 6.1.7601 Python 2.7.12 64bit ``` ## Full Traceback File "c:\Python27\lib\site-packages\requests\api.py", line 72, in get return request('get', url, params=params, **kwargs) File "c:\Python27\lib\site-packages\requests\api.py", line 58, in request return session.request(method=method, url=url, **kwargs) File "c:\Python27\lib\site-packages\requests\sessions.py", line 518, in request resp = self.send(prep, **send_kwargs) File "c:\Python27\lib\site-packages\requests\sessions.py", line 639, in send r = adapter.send(request, **kwargs) File "c:\Python27\lib\site-packages\requests\adapters.py", line 438, in send timeout=timeout File "c:\Python27\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 600, in urlopen chunked=chunked) File "c:\Python27\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 356, in _make_request conn.request(method, url, **httplib_request_kw) File "c:\python27\Lib\httplib.py", line 1057,in request self._send_request(method, url, body, headers) File "c:\python27\Lib\httplib.py", line 1097, in _send_request self.endheaders(body) File "c:\python27\Lib\httplib.py",line 1053, in endheaders self._send_output(message_body) File "c:\python27\Lib\httplib.py", line 897, in _send_output self.send(msg) File "c:\python27\Lib\httplib.py", line 859,in send self.connect() File "c:\Python27\lib\site-packages\requests\packages\urllib3\connection.py", line 166, in connect conn = self._new_conn() File "c:\Python27\lib\site-packages\requests\packages\urllib3\contrib\socks.py", line 88, in _new_conn **extra_kw File "c:\Python27\lib\site-packages\socks.py", line 229, in create_connection sock.connect((remote_host, remote_port)) File "c:\Python27\lib\site-packages\socks.py", line 96, in wrapper return function(*args, **kwargs) File "c:\Python27\lib\site-packages\socks.py", line 781, in connect super(socksocket, self).settimeout(self._timeout) AttributeError: 'super' object has no attribute 'settimeout' ## Extras I want to suggest the closest issue I have found, that is on **gevent**: https://github.com/gevent/gevent/issues/937 Replacing all occurences of (in socks.py): `super(socksocket, self).settimeout` with: `self.settimeout` solves the issue, but I don't know if there are any other side effects
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4085/reactions" }
https://api.github.com/repos/psf/requests/issues/4085/timeline
null
completed
null
null
false
[ "This error comes from PySocks, not from Requests: you'll need to open your issue on [this repository](https://github.com/anorov/pysocks)." ]
https://api.github.com/repos/psf/requests/issues/4084
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4084/labels{/name}
https://api.github.com/repos/psf/requests/issues/4084/comments
https://api.github.com/repos/psf/requests/issues/4084/events
https://github.com/psf/requests/pull/4084
231,844,750
MDExOlB1bGxSZXF1ZXN0MTIyNzgyNzgw
4,084
attempt circle
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-05-28T04:03:02Z
2021-09-06T00:06:49Z
2017-05-28T04:11:40Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4084/reactions" }
https://api.github.com/repos/psf/requests/issues/4084/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4084.diff", "html_url": "https://github.com/psf/requests/pull/4084", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4084.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4084" }
true
[]
https://api.github.com/repos/psf/requests/issues/4083
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4083/labels{/name}
https://api.github.com/repos/psf/requests/issues/4083/comments
https://api.github.com/repos/psf/requests/issues/4083/events
https://github.com/psf/requests/pull/4083
231,842,435
MDExOlB1bGxSZXF1ZXN0MTIyNzgxNjcy
4,083
faster ci (test)
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-05-28T02:55:39Z
2021-09-06T00:06:50Z
2017-05-28T03:37:38Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4083/reactions" }
https://api.github.com/repos/psf/requests/issues/4083/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4083.diff", "html_url": "https://github.com/psf/requests/pull/4083", "merged_at": "2017-05-28T03:37:38Z", "patch_url": "https://github.com/psf/requests/pull/4083.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4083" }
true
[]
https://api.github.com/repos/psf/requests/issues/4082
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4082/labels{/name}
https://api.github.com/repos/psf/requests/issues/4082/comments
https://api.github.com/repos/psf/requests/issues/4082/events
https://github.com/psf/requests/pull/4082
231,840,737
MDExOlB1bGxSZXF1ZXN0MTIyNzgwNzkw
4,082
Jenkins (tesT)
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-28T02:02:38Z
2021-09-06T00:06:49Z
2017-05-28T02:05:29Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4082/reactions" }
https://api.github.com/repos/psf/requests/issues/4082/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4082.diff", "html_url": "https://github.com/psf/requests/pull/4082", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4082.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4082" }
true
[ "# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4082?src=pr&el=h1) Report\n> Merging [#4082](https://codecov.io/gh/kennethreitz/requests/pull/4082?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/03944f4cd62fb906cb20eebda86b150358923564?src=pr&el=desc) will **not change...
https://api.github.com/repos/psf/requests/issues/4081
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4081/labels{/name}
https://api.github.com/repos/psf/requests/issues/4081/comments
https://api.github.com/repos/psf/requests/issues/4081/events
https://github.com/psf/requests/pull/4081
231,833,721
MDExOlB1bGxSZXF1ZXN0MTIyNzc3NDA4
4,081
TEST Update README.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-27T23:05:01Z
2021-09-06T00:06:50Z
2017-05-28T02:05:42Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4081/reactions" }
https://api.github.com/repos/psf/requests/issues/4081/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4081.diff", "html_url": "https://github.com/psf/requests/pull/4081", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/4081.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4081" }
true
[ "# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4081?src=pr&el=h1) Report\n> Merging [#4081](https://codecov.io/gh/kennethreitz/requests/pull/4081?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/03944f4cd62fb906cb20eebda86b150358923564?src=pr&el=desc) will **not change...
https://api.github.com/repos/psf/requests/issues/4080
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4080/labels{/name}
https://api.github.com/repos/psf/requests/issues/4080/comments
https://api.github.com/repos/psf/requests/issues/4080/events
https://github.com/psf/requests/issues/4080
231,828,458
MDU6SXNzdWUyMzE4Mjg0NTg=
4,080
test
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
7
2017-05-27T21:13:32Z
2021-09-08T09:00:51Z
2017-05-27T21:13:53Z
CONTRIBUTOR
resolved
Summary. ## Expected Result What you expected. ## Actual Result What happened instead. ## Reproduction Steps ```python import requests ``` ### System Information $ python -m requests.help ``` { "chardet": "3.0.3", "cryptography": { "version": "" }, "implementation": { "name": "CPython", "version": "3.6.0" }, "platform": { "release": "16.6.0", "system": "Darwin" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.16.4" }, "system_ssl": { "version": "100020bf" }, "urllib3": "1.21.1", "using_pyopenssl": false } ``` This command is only available on Requests v2.16.4 and greater. Otherwise, please provide some basic information about your system (Python version, operating system, &c).
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4080/reactions" }
https://api.github.com/repos/psf/requests/issues/4080/timeline
null
completed
null
null
false
[ "Any reason for the inconsistency with the `urllib3` and `chardet` keys not having `version` sub-keys?", "@SethMichaelLarson looks like those two were added after the other original definitions. Perhaps `urllib3_info = {'version': urllib3.__version__}` [here](https://github.com/kennethreitz/requests/blob/7ce5ca85...
https://api.github.com/repos/psf/requests/issues/4079
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4079/labels{/name}
https://api.github.com/repos/psf/requests/issues/4079/comments
https://api.github.com/repos/psf/requests/issues/4079/events
https://github.com/psf/requests/pull/4079
231,827,015
MDExOlB1bGxSZXF1ZXN0MTIyNzc0MTE0
4,079
$ python -m requests.help
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-27T20:46:10Z
2021-09-06T00:06:50Z
2017-05-27T20:58:19Z
CONTRIBUTOR
resolved
Related: #3937 Example Usage: ```shell $ python -m requests.help Sat May 27 16:43:57 2017 { "cryptography": { "version": "" }, "implementation": { "name": "CPython", "version": "2.7.13" }, "platform": { "release": "16.6.0", "system": "Darwin" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.16.3" }, "system_ssl": { "version": "100020bf" }, "using_pyopenssl": false }
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4079/reactions" }
https://api.github.com/repos/psf/requests/issues/4079/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4079.diff", "html_url": "https://github.com/psf/requests/pull/4079", "merged_at": "2017-05-27T20:58:19Z", "patch_url": "https://github.com/psf/requests/pull/4079.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4079" }
true
[ "# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4079?src=pr&el=h1) Report\n> Merging [#4079](https://codecov.io/gh/kennethreitz/requests/pull/4079?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/a44284c045b43d728c2a07d4f0a064bf8714f4af?src=pr&el=desc) will **decrease**...
https://api.github.com/repos/psf/requests/issues/4078
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4078/labels{/name}
https://api.github.com/repos/psf/requests/issues/4078/comments
https://api.github.com/repos/psf/requests/issues/4078/events
https://github.com/psf/requests/issues/4078
231,825,197
MDU6SXNzdWUyMzE4MjUxOTc=
4,078
GAE fails with v2.16.3 | error: required argument is not a float
{ "avatar_url": "https://avatars.githubusercontent.com/u/484487?v=4", "events_url": "https://api.github.com/users/anotherstarburst/events{/privacy}", "followers_url": "https://api.github.com/users/anotherstarburst/followers", "following_url": "https://api.github.com/users/anotherstarburst/following{/other_user}", "gists_url": "https://api.github.com/users/anotherstarburst/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/anotherstarburst", "id": 484487, "login": "anotherstarburst", "node_id": "MDQ6VXNlcjQ4NDQ4Nw==", "organizations_url": "https://api.github.com/users/anotherstarburst/orgs", "received_events_url": "https://api.github.com/users/anotherstarburst/received_events", "repos_url": "https://api.github.com/users/anotherstarburst/repos", "site_admin": false, "starred_url": "https://api.github.com/users/anotherstarburst/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anotherstarburst/subscriptions", "type": "User", "url": "https://api.github.com/users/anotherstarburst", "user_view_type": "public" }
[ { "color": "fbca04", "default": false, "description": null, "id": 615414998, "name": "GAE Support", "node_id": "MDU6TGFiZWw2MTU0MTQ5OTg=", "url": "https://api.github.com/repos/psf/requests/labels/GAE%20Support" } ]
closed
true
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}...
null
29
2017-05-27T20:12:13Z
2021-09-08T06:00:40Z
2017-06-02T13:18:03Z
NONE
resolved
I have just installed the requests library in my appengine app following the instructions at https://cloud.google.com/appengine/docs/standard/python/issue-requests . When making the following request (within the app or within the interactive console) ``` import requests import requests_toolbelt.adapters.appengine # Use the App Engine Requests adapter. This makes sure that Requests uses # URLFetch. requests_toolbelt.adapters.appengine.monkeypatch() r = requests.get('https://api.github.com/events') ``` I get the following error ``` > Traceback (most recent call last): > File "/usr/local/y/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/request_handler.py", line 226, in handle_interactive_request > exec(compiled_code, self._command_globals) > File "<string>", line 8, in <module> > File "/Users/developer/Desktop/myapp-web/libraries/requests/api.py", line 72, in get > return request('get', url, params=params, **kwargs) > File "/Users/developer/Desktop/myapp-web/libraries/requests/api.py", line 58, in request > return session.request(method=method, url=url, **kwargs) > File "/Users/developer/Desktop/myapp-web/libraries/requests/sessions.py", line 523, in request > resp = self.send(prep, **send_kwargs) > File "/Users/developer/Desktop/myapp-web/libraries/requests/sessions.py", line 643, in send > r = adapter.send(request, **kwargs) > File "/Users/developer/Desktop/myapp-web/libraries/requests/adapters.py", line 440, in send > timeout=timeout > File "/Users/developer/Desktop/myapp-web/libraries/requests_toolbelt/adapters/appengine.py", line 172, in urlopen > **response_kw) > File "/Users/developer/Desktop/myapp-web/libraries/urllib3/contrib/appengine.py", line 149, in urlopen > validate_certificate=self.validate_certificate, > File "/usr/local/y/google-cloud-sdk/platform/google_appengine/google/appengine/api/urlfetch.py", line 293, in fetch > return rpc.get_result() > File "/usr/local/y/google-cloud-sdk/platform/google_appengine/google/appengine/api/apiproxy_stub_map.py", line 613, in get_result > return self.__get_result_hook(self) > File "/usr/local/y/google-cloud-sdk/platform/google_appengine/google/appengine/api/urlfetch.py", line 413, in _get_fetch_result > rpc.check_success() > File "/usr/local/y/google-cloud-sdk/platform/google_appengine/google/appengine/api/apiproxy_stub_map.py", line 579, in check_success > self.__rpc.CheckSuccess() > File "/usr/local/y/google-cloud-sdk/platform/google_appengine/google/appengine/api/apiproxy_rpc.py", line 157, in _WaitImpl > self.request, self.response) > File "/usr/local/y/google-cloud-sdk/platform/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py", line 206, in MakeSyncCall > self._MakeRealSyncCall(service, call, request, response) > File "/usr/local/y/google-cloud-sdk/platform/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py", line 255, in _MakeRealSyncCall > request_pb.set_request(request.Encode()) > File "/usr/local/y/google-cloud-sdk/platform/google_appengine/google/net/proto/ProtocolBuffer.py", line 103, in Encode > self.Output(e) > File "/usr/local/y/google-cloud-sdk/platform/google_appengine/google/net/proto/ProtocolBuffer.py", line 347, in Output > self.OutputUnchecked(e) > File "/usr/local/y/google-cloud-sdk/platform/google_appengine/google/appengine/api/urlfetch_service_pb.py", line 484, in OutputUnchecked > out.putDouble(self.deadline_) > File "/usr/local/y/google-cloud-sdk/platform/google_appengine/google/net/proto/ProtocolBuffer.py", line 592, in putDouble > a.fromstring(struct.pack("<d", v)) > error: required argument is not a float ``` I have the following packages installed (along with dependencies) via pip ``` requests-2.16.3.dist-info requests_toolbelt-0.8.0.dist-info ```
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4078/reactions" }
https://api.github.com/repos/psf/requests/issues/4078/timeline
null
completed
null
null
false
[ "Wow, this looks like it involves a lot of GAE code here. @jonparrott any ideas?", "Just a further comment. I did the same thing using the simple hello world app (set up as per https://cloud.google.com/appengine/docs/standard/python/quickstart ) to ensure there weren't any errors introduced by my own code. Same i...
https://api.github.com/repos/psf/requests/issues/4077
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4077/labels{/name}
https://api.github.com/repos/psf/requests/issues/4077/comments
https://api.github.com/repos/psf/requests/issues/4077/events
https://github.com/psf/requests/issues/4077
231,810,789
MDU6SXNzdWUyMzE4MTA3ODk=
4,077
UnicodeDecodeError when trying to install requests on Windows (using Appveyor)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1405370?v=4", "events_url": "https://api.github.com/users/ErikBjare/events{/privacy}", "followers_url": "https://api.github.com/users/ErikBjare/followers", "following_url": "https://api.github.com/users/ErikBjare/following{/other_user}", "gists_url": "https://api.github.com/users/ErikBjare/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ErikBjare", "id": 1405370, "login": "ErikBjare", "node_id": "MDQ6VXNlcjE0MDUzNzA=", "organizations_url": "https://api.github.com/users/ErikBjare/orgs", "received_events_url": "https://api.github.com/users/ErikBjare/received_events", "repos_url": "https://api.github.com/users/ErikBjare/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ErikBjare/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ErikBjare/subscriptions", "type": "User", "url": "https://api.github.com/users/ErikBjare", "user_view_type": "public" }
[]
closed
true
null
[]
null
12
2017-05-27T16:05:54Z
2021-09-08T09:00:40Z
2017-06-05T13:37:08Z
NONE
resolved
**Version:** 2.16.1 Works fine on [Linux and macOS](https://travis-ci.org/ActivityWatch/activitywatch/builds/236669653). Has also worked on Windows [in the past (2.14.1)](https://ci.appveyor.com/project/ErikBjare/activitywatch/build/1.0.144/job/5c46bk2929htjn2r). I'll be attempting a installation of requests 2.14.1 specifically to see if there has indeed been any regression, the [build is here](https://ci.appveyor.com/project/ErikBjare/activitywatch/build/1.0.152/job/fwm5saa4mm0dso5d). The related issue in my repo: https://github.com/ActivityWatch/activitywatch/issues/52 <details> <summary>Stacktrace</summary> ``` Searching for requests Reading https://pypi.python.org/simple/requests/ Downloading https://pypi.python.org/packages/4c/54/1d3abddbd4c7544138b88e8329ef5294ffdc6c5d7ea965bf42e3cc4c9c39/requests-2.16.1.tar.gz#md5=4acb351824461eb3ae1f74ec3a65ff28 Best match: requests 2.16.1 Processing requests-2.16.1.tar.gz Writing C:\Users\appveyor\AppData\Local\Temp\1\easy_install-qoyp00fn\requests-2.16.1\setup.cfg Running requests-2.16.1\setup.py -q bdist_egg --dist-dir C:\Users\appveyor\AppData\Local\Temp\1\easy_install-qoyp00fn\requests-2.16.1\egg-dist-tmp-rqjnti7r Traceback (most recent call last): File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 157, in save_modules yield saved File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context yield File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 255, in run_setup DirectorySandbox(setup_dir).run(runner) File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 285, in run return func() File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 253, in runner _execfile(setup_script, ns) File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 47, in _execfile exec(code, globals, locals) File "C:\Users\appveyor\AppData\Local\Temp\1\easy_install-qoyp00fn\requests-2.16.1\setup.py", line 51, in <module> File "C:\Python35\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 441: character maps to <undefined> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "setup.py", line 18, in <module> 'https://github.com/ActivityWatch/aw-core/tarball/master#egg=aw-core' File "C:\Python35\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Python35\lib\distutils\dist.py", line 955, in run_commands self.run_command(cmd) File "C:\Python35\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Python35\lib\site-packages\setuptools\command\install.py", line 67, in run self.do_egg_install() File "C:\Python35\lib\site-packages\setuptools\command\install.py", line 117, in do_egg_install cmd.run() File "C:\Python35\lib\site-packages\setuptools\command\easy_install.py", line 411, in run self.easy_install(spec, not self.no_deps) File "C:\Python35\lib\site-packages\setuptools\command\easy_install.py", line 654, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File "C:\Python35\lib\site-packages\setuptools\command\easy_install.py", line 701, in install_item self.process_distribution(spec, dist, deps) File "C:\Python35\lib\site-packages\setuptools\command\easy_install.py", line 746, in process_distribution [requirement], self.local_index, self.easy_install File "C:\Python35\lib\site-packages\pkg_resources\__init__.py", line 851, in resolve dist = best[req.key] = env.best_match(req, ws, installer) File "C:\Python35\lib\site-packages\pkg_resources\__init__.py", line 1123, in best_match return self.obtain(req, installer) File "C:\Python35\lib\site-packages\pkg_resources\__init__.py", line 1135, in obtain return installer(requirement) File "C:\Python35\lib\site-packages\setuptools\command\easy_install.py", line 673, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "C:\Python35\lib\site-packages\setuptools\command\easy_install.py", line 699, in install_item dists = self.install_eggs(spec, download, tmpdir) File "C:\Python35\lib\site-packages\setuptools\command\easy_install.py", line 880, in install_eggs return self.build_and_install(setup_script, setup_base) File "C:\Python35\lib\site-packages\setuptools\command\easy_install.py", line 1119, in build_and_install self.run_setup(setup_script, setup_base, args) File "C:\Python35\lib\site-packages\setuptools\command\easy_install.py", line 1105, in run_setup run_setup(setup_script, args) File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 258, in run_setup raise File "C:\Python35\lib\contextlib.py", line 77, in __exit__ self.gen.throw(type, value, traceback) File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context yield File "C:\Python35\lib\contextlib.py", line 77, in __exit__ self.gen.throw(type, value, traceback) File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 169, in save_modules saved_exc.resume() File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 144, in resume six.reraise(type, exc, self._tb) File "C:\Python35\lib\site-packages\six.py", line 685, in reraise raise value.with_traceback(tb) File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 157, in save_modules yield saved File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 198, in setup_context yield File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 255, in run_setup DirectorySandbox(setup_dir).run(runner) File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 285, in run return func() File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 253, in runner _execfile(setup_script, ns) File "C:\Python35\lib\site-packages\setuptools\sandbox.py", line 47, in _execfile exec(code, globals, locals) File "C:\Users\appveyor\AppData\Local\Temp\1\easy_install-qoyp00fn\requests-2.16.1\setup.py", line 51, in <module> File "C:\Python35\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 441: character maps to <undefined> ``` </details>
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4077/reactions" }
https://api.github.com/repos/psf/requests/issues/4077/timeline
null
completed
null
null
false
[ "The build has now progressed beyond the place where it erred previously, so 2.14.1 seems to work fine.", "I think the fix from f3d310b299af587d668493f09d82c84c197d00fd needs to be adapted to the change in 3e32356716572e59c9f10c6c2622bedf5f48b07e.", "@tdsmith we no longer load that file that way any longer. ", ...
https://api.github.com/repos/psf/requests/issues/4076
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4076/labels{/name}
https://api.github.com/repos/psf/requests/issues/4076/comments
https://api.github.com/repos/psf/requests/issues/4076/events
https://github.com/psf/requests/issues/4076
231,805,805
MDU6SXNzdWUyMzE4MDU4MDU=
4,076
ValueError: not enough values to unpack (expected 3, got 1)
{ "avatar_url": "https://avatars.githubusercontent.com/u/25952165?v=4", "events_url": "https://api.github.com/users/Javinator9889/events{/privacy}", "followers_url": "https://api.github.com/users/Javinator9889/followers", "following_url": "https://api.github.com/users/Javinator9889/following{/other_user}", "gists_url": "https://api.github.com/users/Javinator9889/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Javinator9889", "id": 25952165, "login": "Javinator9889", "node_id": "MDQ6VXNlcjI1OTUyMTY1", "organizations_url": "https://api.github.com/users/Javinator9889/orgs", "received_events_url": "https://api.github.com/users/Javinator9889/received_events", "repos_url": "https://api.github.com/users/Javinator9889/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Javinator9889/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Javinator9889/subscriptions", "type": "User", "url": "https://api.github.com/users/Javinator9889", "user_view_type": "public" }
[]
closed
true
null
[]
null
38
2017-05-27T14:47:31Z
2021-09-08T09:00:36Z
2017-05-27T15:22:56Z
NONE
resolved
When using requests, I've just upgraded and I'm having the following error: `import requests as rq` `File "C:\Users\_HOME_\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\__init__.py", line 53, in <module>` `major, minor, patch= urllib3_version` `ValueError: not enough values to unpack (expected 3, got 1)`
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4076/reactions" }
https://api.github.com/repos/psf/requests/issues/4076/timeline
null
completed
null
null
false
[ "can you give me the output of `pip freeze`?", "I would like to know the answer to this, but the solution to this problem should be:\r\n\r\n $ pip install --upgrade requests", "```\r\nappdirs==1.4.3\r\nbeautifulsoup4==4.6.0\r\ncachetools==2.0.0\r\ncertifi==2017.4.17\r\ncffi==1.10.0\r\nchardet==3.0.3\r\nclick...
https://api.github.com/repos/psf/requests/issues/4075
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4075/labels{/name}
https://api.github.com/repos/psf/requests/issues/4075/comments
https://api.github.com/repos/psf/requests/issues/4075/events
https://github.com/psf/requests/issues/4075
231,801,653
MDU6SXNzdWUyMzE4MDE2NTM=
4,075
error after upgrading from 2.14.2 to 2.16.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/131535?v=4", "events_url": "https://api.github.com/users/pierrre/events{/privacy}", "followers_url": "https://api.github.com/users/pierrre/followers", "following_url": "https://api.github.com/users/pierrre/following{/other_user}", "gists_url": "https://api.github.com/users/pierrre/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pierrre", "id": 131535, "login": "pierrre", "node_id": "MDQ6VXNlcjEzMTUzNQ==", "organizations_url": "https://api.github.com/users/pierrre/orgs", "received_events_url": "https://api.github.com/users/pierrre/received_events", "repos_url": "https://api.github.com/users/pierrre/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pierrre/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pierrre/subscriptions", "type": "User", "url": "https://api.github.com/users/pierrre", "user_view_type": "public" }
[]
closed
true
null
[]
null
4
2017-05-27T13:34:53Z
2021-09-08T10:00:36Z
2017-05-27T13:44:39Z
NONE
resolved
(I'm not a Python dev, I don't even know what this project does) I have an automated Travis CI build that requires `ansible-tower-cli`. I install it with `pip install --user ansible-tower-cli`. It began to fail recently: ``` $ tower-cli --help Traceback (most recent call last): File "/home/travis/.local/bin/tower-cli", line 90, in <module> cli() File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 696, in main with self.make_context(prog_name, args, **extra) as ctx: File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 621, in make_context self.parse_args(ctx, args) File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 1018, in parse_args rest = Command.parse_args(self, ctx, args) File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 880, in parse_args value, args = param.handle_parse_result(ctx, opts, args) File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 1404, in handle_parse_result self.callback, ctx, self, value) File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 78, in invoke_param_callback return callback(ctx, param, value) File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 809, in show_help echo(ctx.get_help(), color=ctx.color) File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 496, in get_help return self.command.get_help(self) File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 830, in get_help self.format_help(ctx, formatter) File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 845, in format_help self.format_options(ctx, formatter) File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 956, in format_options self.format_commands(ctx, formatter) File "/home/travis/.local/lib/python2.7/site-packages/click/core.py", line 1000, in format_commands for subcommand in self.list_commands(ctx): File "/home/travis/.local/bin/tower-cli", line 46, in list_commands res = tower_cli.get_resource(filename[:-3]) File "/home/travis/.local/lib/python2.7/site-packages/tower_cli/__init__.py", line 32, in get_resource module = importlib.import_module('tower_cli.resources.%s' % name) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/home/travis/.local/lib/python2.7/site-packages/tower_cli/resources/user.py", line 16, in <module> from tower_cli import models File "/home/travis/.local/lib/python2.7/site-packages/tower_cli/models/__init__.py", line 20, in <module> from tower_cli.models.base import Resource, MonitorableResource, ExeResource, \ File "/home/travis/.local/lib/python2.7/site-packages/tower_cli/models/base.py", line 36, in <module> from tower_cli.api import client File "/home/travis/.local/lib/python2.7/site-packages/tower_cli/api.py", line 25, in <module> from requests.packages import urllib3 ImportError: No module named packages ``` It looks like this issues is caused by the recent `requests` update. `ansible-tower-cli` requires `requests>=2.3.0`. Previously it was installing `2.14.2`, now it's installing `2.16.0`. If I force the `request` version with `pip install --user requests==2.14.2` it works. Is this issue related to all the other recent issue ? Thanks
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4075/reactions" }
https://api.github.com/repos/psf/requests/issues/4075/timeline
null
completed
null
null
false
[ "this is now fixed in the master branch", "Related: #4073", "2.16.1 released, which fixes this. ", "thank you very much for your quick reply ! 👍 " ]
https://api.github.com/repos/psf/requests/issues/4074
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4074/labels{/name}
https://api.github.com/repos/psf/requests/issues/4074/comments
https://api.github.com/repos/psf/requests/issues/4074/events
https://github.com/psf/requests/issues/4074
231,801,207
MDU6SXNzdWUyMzE4MDEyMDc=
4,074
urllib3 can report only only "16.1" instead of "16.1.0"
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}...
null
1
2017-05-27T13:27:35Z
2021-09-08T10:00:36Z
2017-05-27T13:45:36Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4074/reactions" }
https://api.github.com/repos/psf/requests/issues/4074/timeline
null
completed
null
null
false
[ "fixed!" ]
https://api.github.com/repos/psf/requests/issues/4073
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4073/labels{/name}
https://api.github.com/repos/psf/requests/issues/4073/comments
https://api.github.com/repos/psf/requests/issues/4073/events
https://github.com/psf/requests/issues/4073
231,801,177
MDU6SXNzdWUyMzE4MDExNzc=
4,073
Restore "packages" namespace for backwards compatibility
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
21
2017-05-27T13:26:57Z
2021-09-08T09:00:52Z
2017-05-27T14:54:57Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4073/reactions" }
https://api.github.com/repos/psf/requests/issues/4073/timeline
null
completed
null
null
false
[ "shipped. ", "I'm afraid this doesn't resolve the problem with many libraries, such as the official Dropbox and Keen clients, which do\r\n\r\n`from requests.packages.urllib3.poolmanager import PoolManager`\r\n\r\nThis results in the following error:\r\n\r\n`ModuleNotFoundError: No module named 'requests.packages....
https://api.github.com/repos/psf/requests/issues/4072
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4072/labels{/name}
https://api.github.com/repos/psf/requests/issues/4072/comments
https://api.github.com/repos/psf/requests/issues/4072/events
https://github.com/psf/requests/issues/4072
231,789,127
MDU6SXNzdWUyMzE3ODkxMjc=
4,072
"Packages" module is missing in Requests 2.16.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/20154889?v=4", "events_url": "https://api.github.com/users/velmurugan17/events{/privacy}", "followers_url": "https://api.github.com/users/velmurugan17/followers", "following_url": "https://api.github.com/users/velmurugan17/following{/other_user}", "gists_url": "https://api.github.com/users/velmurugan17/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/velmurugan17", "id": 20154889, "login": "velmurugan17", "node_id": "MDQ6VXNlcjIwMTU0ODg5", "organizations_url": "https://api.github.com/users/velmurugan17/orgs", "received_events_url": "https://api.github.com/users/velmurugan17/received_events", "repos_url": "https://api.github.com/users/velmurugan17/repos", "site_admin": false, "starred_url": "https://api.github.com/users/velmurugan17/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/velmurugan17/subscriptions", "type": "User", "url": "https://api.github.com/users/velmurugan17", "user_view_type": "public" }
[]
closed
true
null
[]
null
5
2017-05-27T09:22:26Z
2021-09-08T09:00:54Z
2017-05-27T09:29:54Z
NONE
resolved
Description We are using requests package for our application development and the framework picks up latest version of requests whenever it builds.Today we noticed that our app broken due to new version of Requests 2.16.0.The "Packages" module is completely missing and it leads to our delivery blocking,Could you please check and let us know if we can expect any quick fix for this issue? Working version: 2.14.2 and 2.15.1
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4072/reactions" }
https://api.github.com/repos/psf/requests/issues/4072/timeline
null
completed
null
null
false
[ "This is a duplicate of #4069, please check open issues before raising bug reports. This goes double for emailing maintainers directly: it would have taken you 5 seconds to see your issue on the issue tracker. ", "Sorry for the duplicate", "2.16.1 released, which fixes this!", "Note: code that was written to ...
https://api.github.com/repos/psf/requests/issues/4071
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4071/labels{/name}
https://api.github.com/repos/psf/requests/issues/4071/comments
https://api.github.com/repos/psf/requests/issues/4071/events
https://github.com/psf/requests/issues/4071
231,788,356
MDU6SXNzdWUyMzE3ODgzNTY=
4,071
ImportError: No module named 'requests.packages' for version 2.16.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/14862976?v=4", "events_url": "https://api.github.com/users/yash-nisar/events{/privacy}", "followers_url": "https://api.github.com/users/yash-nisar/followers", "following_url": "https://api.github.com/users/yash-nisar/following{/other_user}", "gists_url": "https://api.github.com/users/yash-nisar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yash-nisar", "id": 14862976, "login": "yash-nisar", "node_id": "MDQ6VXNlcjE0ODYyOTc2", "organizations_url": "https://api.github.com/users/yash-nisar/orgs", "received_events_url": "https://api.github.com/users/yash-nisar/received_events", "repos_url": "https://api.github.com/users/yash-nisar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yash-nisar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yash-nisar/subscriptions", "type": "User", "url": "https://api.github.com/users/yash-nisar", "user_view_type": "public" }
[]
closed
true
null
[]
null
4
2017-05-27T09:07:41Z
2021-09-08T09:00:53Z
2017-05-27T09:17:17Z
NONE
resolved
``` Python 3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from requests.packages.urllib3.poolmanager import PoolManager Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named 'requests.packages' ``` The following import statement used to work for the older version `2.14.2` but fails for the latest version `2.16.0`
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4071/reactions" }
https://api.github.com/repos/psf/requests/issues/4071/timeline
null
completed
null
null
false
[ "This is a duplicate of #4069: please check open issues before reporting bugs. 😉", "My bad.", "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.\r\n\r\nFor example:\r\n\r\n from requests.packages.urllib3.poo...
https://api.github.com/repos/psf/requests/issues/4070
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4070/labels{/name}
https://api.github.com/repos/psf/requests/issues/4070/comments
https://api.github.com/repos/psf/requests/issues/4070/events
https://github.com/psf/requests/issues/4070
231,782,772
MDU6SXNzdWUyMzE3ODI3NzI=
4,070
Error on importing Session object
{ "avatar_url": "https://avatars.githubusercontent.com/u/5862289?v=4", "events_url": "https://api.github.com/users/MahdiZareie/events{/privacy}", "followers_url": "https://api.github.com/users/MahdiZareie/followers", "following_url": "https://api.github.com/users/MahdiZareie/following{/other_user}", "gists_url": "https://api.github.com/users/MahdiZareie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MahdiZareie", "id": 5862289, "login": "MahdiZareie", "node_id": "MDQ6VXNlcjU4NjIyODk=", "organizations_url": "https://api.github.com/users/MahdiZareie/orgs", "received_events_url": "https://api.github.com/users/MahdiZareie/received_events", "repos_url": "https://api.github.com/users/MahdiZareie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MahdiZareie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MahdiZareie/subscriptions", "type": "User", "url": "https://api.github.com/users/MahdiZareie", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2017-05-27T07:22:48Z
2021-09-08T10:00:37Z
2017-05-27T13:40:17Z
NONE
resolved
Hi guys I'm using requests (2.16.0) and I'm seeing an error which wasn't here before : ``` Python 3.5.2 (default, Jul 17 2016, 00:00:00) [GCC 4.8.4] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import urllib3 >>> urllib3.__version__ '1.16' >>> from requests import Session Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/jenkins/env/lib/python3.5/site-packages/requests/__init__.py", line 49, in <module> major, minor, patch = urllib3.__version__.split('.')[:3] ValueError: not enough values to unpack (expected 3, got 2) >>> ```
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4070/reactions" }
https://api.github.com/repos/psf/requests/issues/4070/timeline
null
completed
null
null
false
[ "Yup, this looks like another error introduced by #4067, which appears to assume urllib3 uses three part version numbers (it does not always do that). You can resolve this by typing `pip install -U urllib3`, though that may break something else in your environment. \r\n\r\nPlease watch #4069, as we may well revert ...
https://api.github.com/repos/psf/requests/issues/4069
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4069/labels{/name}
https://api.github.com/repos/psf/requests/issues/4069/comments
https://api.github.com/repos/psf/requests/issues/4069/events
https://github.com/psf/requests/issues/4069
231,777,405
MDU6SXNzdWUyMzE3Nzc0MDU=
4,069
2.16.0 Release Breaking Changes if you relied on Vendored packages
{ "avatar_url": "https://avatars.githubusercontent.com/u/2430381?v=4", "events_url": "https://api.github.com/users/audiolion/events{/privacy}", "followers_url": "https://api.github.com/users/audiolion/followers", "following_url": "https://api.github.com/users/audiolion/following{/other_user}", "gists_url": "https://api.github.com/users/audiolion/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/audiolion", "id": 2430381, "login": "audiolion", "node_id": "MDQ6VXNlcjI0MzAzODE=", "organizations_url": "https://api.github.com/users/audiolion/orgs", "received_events_url": "https://api.github.com/users/audiolion/received_events", "repos_url": "https://api.github.com/users/audiolion/repos", "site_admin": false, "starred_url": "https://api.github.com/users/audiolion/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/audiolion/subscriptions", "type": "User", "url": "https://api.github.com/users/audiolion", "user_view_type": "public" }
[]
closed
true
null
[]
null
12
2017-05-27T05:32:38Z
2021-09-08T09:00:53Z
2017-05-27T13:45:14Z
NONE
resolved
Hey so the 2.16.0 release broke all of the vendored things I am assuming. I have [issued](https://github.com/tomchristie/apistar/pull/189) two [PRs](https://github.com/encode/django-rest-framework/pull/5185) to two frameworks I use that rely on the vendored packages in requests. The `changelog` was a bit obscure about this > 2.16.0 > Unvendor ALL the things! Something like `BREAKING CHANGE: Vendor packages have been removed, if you relied on these you will need to modify your code` would be nice in a 2.16.1 changelog update maybe? I realize that it can be said these vendored packages are internal and should not be relied on but at least these packages had a use case for using requests and some of the underlying libs and used the vendor packages to ensure everything worked as expected with requests. Anyone who was relying on these will have their code break upon upgrade, so perhaps a bigger version bump would have been welcome, but at least this can be a warning to people coming here wondering why stuff broke. My solution was a `compat.py` that conditionally imported `urllib3` (works the same for other vendored packages), see my PRs for that fix.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 7, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 7, "url": "https://api.github.com/repos/psf/requests/issues/4069/reactions" }
https://api.github.com/repos/psf/requests/issues/4069/timeline
null
completed
null
null
false
[ "Yeah, I don't know why @kennethreitz released that: it was pretty obviously going to break a lot of software. Not sure what I can say here: this is ultimately @kennethreitz's software and he can do what he wants, and I'm not going to revert his changes. But there was simply no reason that unvendoring needed to be ...
https://api.github.com/repos/psf/requests/issues/4068
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4068/labels{/name}
https://api.github.com/repos/psf/requests/issues/4068/comments
https://api.github.com/repos/psf/requests/issues/4068/events
https://github.com/psf/requests/issues/4068
231,774,040
MDU6SXNzdWUyMzE3NzQwNDA=
4,068
⚠️ RuntimeError: requests dependency 'urllib3' or 'chardet'
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-05-27T04:19:25Z
2021-09-08T09:00:52Z
2017-05-27T16:43:21Z
CONTRIBUTOR
resolved
## Solution $ pip install --upgrade requests
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 1, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/psf/requests/issues/4068/reactions" }
https://api.github.com/repos/psf/requests/issues/4068/timeline
null
completed
null
null
false
[]
https://api.github.com/repos/psf/requests/issues/4067
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4067/labels{/name}
https://api.github.com/repos/psf/requests/issues/4067/comments
https://api.github.com/repos/psf/requests/issues/4067/events
https://github.com/psf/requests/pull/4067
231,769,417
MDExOlB1bGxSZXF1ZXN0MTIyNzQzNTU1
4,067
Deps (work in progress)
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
5
2017-05-27T02:45:50Z
2021-09-06T00:06:52Z
2017-05-27T03:33:28Z
CONTRIBUTOR
resolved
This pull request works on removing all vendored dependencies from Requests. Targeting v2.16.0. ✨🍰✨
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 2, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/psf/requests/issues/4067/reactions" }
https://api.github.com/repos/psf/requests/issues/4067/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4067.diff", "html_url": "https://github.com/psf/requests/pull/4067", "merged_at": "2017-05-27T03:33:28Z", "patch_url": "https://github.com/psf/requests/pull/4067.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4067" }
true
[ "all tests passing (on python 3 at least!)", "# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4067?src=pr&el=h1) Report\n> Merging [#4067](https://codecov.io/gh/kennethreitz/requests/pull/4067?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/282b01a7c9feae30feccbd54e33...
https://api.github.com/repos/psf/requests/issues/4066
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4066/labels{/name}
https://api.github.com/repos/psf/requests/issues/4066/comments
https://api.github.com/repos/psf/requests/issues/4066/events
https://github.com/psf/requests/pull/4066
231,764,523
MDExOlB1bGxSZXF1ZXN0MTIyNzQwNjY2
4,066
API improvements
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2017-05-27T01:15:12Z
2021-09-05T00:07:18Z
2017-05-27T01:33:29Z
CONTRIBUTOR
resolved
- `Response.next` Related: #4065.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4066/reactions" }
https://api.github.com/repos/psf/requests/issues/4066/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4066.diff", "html_url": "https://github.com/psf/requests/pull/4066", "merged_at": "2017-05-27T01:33:29Z", "patch_url": "https://github.com/psf/requests/pull/4066.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4066" }
true
[ "# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4066?src=pr&el=h1) Report\n> Merging [#4066](https://codecov.io/gh/kennethreitz/requests/pull/4066?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/60041f51693fd6107ad91337222aa3dc125720ac?src=pr&el=desc) will **decrease**...
https://api.github.com/repos/psf/requests/issues/4065
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4065/labels{/name}
https://api.github.com/repos/psf/requests/issues/4065/comments
https://api.github.com/repos/psf/requests/issues/4065/events
https://github.com/psf/requests/issues/4065
231,762,266
MDU6SXNzdWUyMzE3NjIyNjY=
4,065
Idea: Response.next() method, for when allow_redirects=False
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2017-05-27T00:39:38Z
2021-09-08T10:00:38Z
2017-05-27T02:17:29Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4065/reactions" }
https://api.github.com/repos/psf/requests/issues/4065/timeline
null
completed
null
null
false
[ "I really don't like this. Responses will only keep a connection when you're streaming and that's it. If you're planning on attaching a session, that seems really ill-considered.", "I really need to figure out why all my Requests notifications are going to spam", "its possible you once put a previous request no...
https://api.github.com/repos/psf/requests/issues/4064
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4064/labels{/name}
https://api.github.com/repos/psf/requests/issues/4064/comments
https://api.github.com/repos/psf/requests/issues/4064/events
https://github.com/psf/requests/pull/4064
231,489,666
MDExOlB1bGxSZXF1ZXN0MTIyNTQ4MzYw
4,064
Avoid breaking people using requests.__version__
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sigmavirus24", "id": 240830, "login": "sigmavirus24", "node_id": "MDQ6VXNlcjI0MDgzMA==", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "type": "User", "url": "https://api.github.com/users/sigmavirus24", "user_view_type": "public" }
[]
closed
true
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url...
null
4
2017-05-25T23:45:24Z
2021-09-06T00:06:53Z
2017-05-25T23:46:09Z
CONTRIBUTOR
resolved
Using __version__ as a module breaks users who expect requests.__version__ to be the version string.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4064/reactions" }
https://api.github.com/repos/psf/requests/issues/4064/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4064.diff", "html_url": "https://github.com/psf/requests/pull/4064", "merged_at": "2017-05-25T23:46:09Z", "patch_url": "https://github.com/psf/requests/pull/4064.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4064" }
true
[ "Thanks!", "i think `requests.__version__` would have worked fine before, but it just wasn't importable.", "this required some additional work, but we should be all set now", "this was actually a problem with `import *`, not the name of the file" ]
https://api.github.com/repos/psf/requests/issues/4063
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4063/labels{/name}
https://api.github.com/repos/psf/requests/issues/4063/comments
https://api.github.com/repos/psf/requests/issues/4063/events
https://github.com/psf/requests/pull/4063
231,486,606
MDExOlB1bGxSZXF1ZXN0MTIyNTQ2MTI3
4,063
fix rtd
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2017-05-25T23:23:57Z
2021-09-06T00:06:52Z
2017-05-25T23:24:02Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_url": "https://api.github.com/users/kennethreitz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kennethreitz", "id": 119893, "login": "kennethreitz", "node_id": "MDQ6VXNlcjExOTg5Mw==", "organizations_url": "https://api.github.com/users/kennethreitz/orgs", "received_events_url": "https://api.github.com/users/kennethreitz/received_events", "repos_url": "https://api.github.com/users/kennethreitz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kennethreitz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kennethreitz/subscriptions", "type": "User", "url": "https://api.github.com/users/kennethreitz", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4063/reactions" }
https://api.github.com/repos/psf/requests/issues/4063/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/4063.diff", "html_url": "https://github.com/psf/requests/pull/4063", "merged_at": "2017-05-25T23:24:02Z", "patch_url": "https://github.com/psf/requests/pull/4063.patch", "url": "https://api.github.com/repos/psf/requests/pulls/4063" }
true
[]
https://api.github.com/repos/psf/requests/issues/4062
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/4062/labels{/name}
https://api.github.com/repos/psf/requests/issues/4062/comments
https://api.github.com/repos/psf/requests/issues/4062/events
https://github.com/psf/requests/issues/4062
231,437,745
MDU6SXNzdWUyMzE0Mzc3NDU=
4,062
Requests library raises ConnectionError if web-server returns error but only when uploading large file
{ "avatar_url": "https://avatars.githubusercontent.com/u/7551586?v=4", "events_url": "https://api.github.com/users/jhallard/events{/privacy}", "followers_url": "https://api.github.com/users/jhallard/followers", "following_url": "https://api.github.com/users/jhallard/following{/other_user}", "gists_url": "https://api.github.com/users/jhallard/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jhallard", "id": 7551586, "login": "jhallard", "node_id": "MDQ6VXNlcjc1NTE1ODY=", "organizations_url": "https://api.github.com/users/jhallard/orgs", "received_events_url": "https://api.github.com/users/jhallard/received_events", "repos_url": "https://api.github.com/users/jhallard/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jhallard/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jhallard/subscriptions", "type": "User", "url": "https://api.github.com/users/jhallard", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2017-05-25T19:39:08Z
2021-09-08T10:00:40Z
2017-05-25T20:21:02Z
NONE
resolved
Version: requests (2.12.4) I'm running a webserver based on the Bottle framework. This framework exposes an endpoint where you can upload a file. Sometimes, if the disk is full, the webserver is supposed to return a code 429 without reading the file. For some reason, when I'm uploading a file, if the server tries to return a 429 status code the following exception is raised: ```python File "../hooks.py", line 325, in post_video_content response = requests.post(url, data=fh) File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 110, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 56, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 488, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 609, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python2.7/site-packages/requests/adapters.py", line 473, in send raise ConnectionError(err, request=request) ConnectionError: ('Connection aborted.', error(32, 'Broken pipe')) ``` But if try the exact same post but instead of posting a file I simply post some small amount of data, I actually get a response object back from the request and I can inspect the status code. To reproduce: webserver.py ```python from bottle import Bottle, route, run, request, response, get, post, put, abort @post('/content') @authenticate def content(): response.status = 429 return "failed to write incoming movie to temp file (space might be full temporarily)" run(host="127.0.0.1", port=8080, debug=True) ``` send_request.py ```python import requests # this works and prints the status code ret = requests.post("127.0.0.1:8080/content", data="sdfsdfsdfsdf") print ret.status_code # this part will throw an exception try: with open("~/some_large_video_file.mp4", 'rb') as fh: ret = requests.post('127.0.0.1:8080/content', data=fh) except: print traceback.format_exc() ``` I've found out that it depends on the amount of data. If you try and post something like 10KB of data we get the 429 return code. So it looks like the magic filesize is somewhere between 104K and 117K. If I try the former it works as intended, I get the response from the request and can access the status code. If I try the former I get the exception raised.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://api.github.com/users/Lukasa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Lukasa", "id": 1382556, "login": "Lukasa", "node_id": "MDQ6VXNlcjEzODI1NTY=", "organizations_url": "https://api.github.com/users/Lukasa/orgs", "received_events_url": "https://api.github.com/users/Lukasa/received_events", "repos_url": "https://api.github.com/users/Lukasa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Lukasa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Lukasa/subscriptions", "type": "User", "url": "https://api.github.com/users/Lukasa", "user_view_type": "public" }
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/4062/reactions" }
https://api.github.com/repos/psf/requests/issues/4062/timeline
null
completed
null
null
false
[ "Unfortunately, this is a known problem with Requests that boils down to our use of httplib. We can't do much about it right now, but we're planning to abandon httplib sometime this year, so hopefully we'll resolve that then. ", "thanks for letting me know, I'll have to figure out some workaround. " ]