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/6519
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6519/labels{/name}
https://api.github.com/repos/psf/requests/issues/6519/comments
https://api.github.com/repos/psf/requests/issues/6519/events
https://github.com/psf/requests/pull/6519
1,880,593,149
PR_kwDOABTKOs5ZgHNp
6,519
Bump actions/checkout from 3.6.0 to 4.0.0
{ "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/apps/dependabot", "id": 49699333, "login": "dependabot[bot]", "node_id": "MDM6Qm90NDk2OTkzMzM=", "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", "type": "Bot", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "user_view_type": "public" }
[ { "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file", "id": 1868210094, "name": "dependencies", "node_id": "MDU6TGFiZWwxODY4MjEwMDk0", "url": "https://api.github.com/repos/psf/requests/labels/dependencies" }, { "color": "000000", ...
closed
true
null
[]
null
0
2023-09-04T16:21:28Z
2024-09-05T00:04:07Z
2023-09-05T00:17:08Z
CONTRIBUTOR
resolved
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v4.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update default runtime to node20 by <a href="https://github.com/takost"><code>@​takost</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1436">actions/checkout#1436</a></li> <li>Support fetching without the --progress option by <a href="https://github.com/simonbaird"><code>@​simonbaird</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1067">actions/checkout#1067</a></li> <li>Release 4.0.0 by <a href="https://github.com/takost"><code>@​takost</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1447">actions/checkout#1447</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/takost"><code>@​takost</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1436">actions/checkout#1436</a></li> <li><a href="https://github.com/simonbaird"><code>@​simonbaird</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1067">actions/checkout#1067</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v3...v4.0.0">https://github.com/actions/checkout/compare/v3...v4.0.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>v4.0.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1067">Support fetching without the --progress option</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1436">Update to node20</a></li> </ul> <h2>v3.6.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1377">Fix: Mark test scripts with Bash'isms to be run via Bash</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/579">Add option to fetch tags even if fetch-depth &gt; 0</a></li> </ul> <h2>v3.5.3</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1196">Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1287">Fix typos found by codespell</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1369">Add support for sparse checkouts</a></li> </ul> <h2>v3.5.2</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1289">Fix api endpoint for GHES</a></li> </ul> <h2>v3.5.1</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1246">Fix slow checkout on Windows</a></li> </ul> <h2>v3.5.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1237">Add new public key for known_hosts</a></li> </ul> <h2>v3.4.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1209">Upgrade codeql actions to v2</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1210">Upgrade dependencies</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1225">Upgrade <code>@​actions/io</code></a></li> </ul> <h2>v3.3.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1045">Implement branch list using callbacks from exec function</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1050">Add in explicit reference to private checkout options</a></li> <li>[Fix comment typos (that got added in <a href="https://redirect.github.com/actions/checkout/issues/770">#770</a>)](<a href="https://redirect.github.com/actions/checkout/pull/1057">actions/checkout#1057</a>)</li> </ul> <h2>v3.2.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/942">Add GitHub Action to perform release</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/967">Fix status badge</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1002">Replace datadog/squid with ubuntu/squid Docker image</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/964">Wrap pipeline commands for submoduleForeach in quotes</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1029">Update <code>@​actions/io</code> to 1.1.2</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1039">Upgrading version to 3.2.0</a></li> </ul> <h2>v3.1.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/939">Use <code>@​actions/core</code> <code>saveState</code> and <code>getState</code></a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/922">Add <code>github-server-url</code> input</a></li> </ul> <h2>v3.0.2</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/770">Add input <code>set-safe-directory</code></a></li> </ul> <h2>v3.0.1</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/checkout/commit/3df4ab11eba7bda6032a0b82a6bb43b11571feac"><code>3df4ab1</code></a> Release 4.0.0 (<a href="https://redirect.github.com/actions/checkout/issues/1447">#1447</a>)</li> <li><a href="https://github.com/actions/checkout/commit/8b5e8b768746b50394015010d25e690bfab9dfbc"><code>8b5e8b7</code></a> Support fetching without the --progress option (<a href="https://redirect.github.com/actions/checkout/issues/1067">#1067</a>)</li> <li><a href="https://github.com/actions/checkout/commit/97a652b80035363df47baee5031ec8670b8878ac"><code>97a652b</code></a> Update default runtime to node20 (<a href="https://redirect.github.com/actions/checkout/issues/1436">#1436</a>)</li> <li>See full diff in <a href="https://github.com/actions/checkout/compare/f43a0e5ff2bd294095638e18286ca9a3d1956744...3df4ab11eba7bda6032a0b82a6bb43b11571feac">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=3.6.0&new-version=4.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </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/6519/reactions" }
https://api.github.com/repos/psf/requests/issues/6519/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6519.diff", "html_url": "https://github.com/psf/requests/pull/6519", "merged_at": "2023-09-05T00:17:08Z", "patch_url": "https://github.com/psf/requests/pull/6519.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6519" }
true
[]
https://api.github.com/repos/psf/requests/issues/6518
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6518/labels{/name}
https://api.github.com/repos/psf/requests/issues/6518/comments
https://api.github.com/repos/psf/requests/issues/6518/events
https://github.com/psf/requests/issues/6518
1,872,145,412
I_kwDOABTKOs5vlqwE
6,518
Misleading certificate error if HTTPS URL domain does not comply to RFC 1035
{ "avatar_url": "https://avatars.githubusercontent.com/u/2539336?v=4", "events_url": "https://api.github.com/users/volkerjaenisch/events{/privacy}", "followers_url": "https://api.github.com/users/volkerjaenisch/followers", "following_url": "https://api.github.com/users/volkerjaenisch/following{/other_user}", "gists_url": "https://api.github.com/users/volkerjaenisch/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/volkerjaenisch", "id": 2539336, "login": "volkerjaenisch", "node_id": "MDQ6VXNlcjI1MzkzMzY=", "organizations_url": "https://api.github.com/users/volkerjaenisch/orgs", "received_events_url": "https://api.github.com/users/volkerjaenisch/received_events", "repos_url": "https://api.github.com/users/volkerjaenisch/repos", "site_admin": false, "starred_url": "https://api.github.com/users/volkerjaenisch/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/volkerjaenisch/subscriptions", "type": "User", "url": "https://api.github.com/users/volkerjaenisch", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-08-29T17:57:19Z
2024-08-30T00:04:08Z
2023-08-30T01:50:59Z
NONE
resolved
Dear Python requests people! Please be not annoyed by this Bug report. I know it is not your bug, in fact it is no bug at all. But it is a pitfall a mile deep and myself has fallen twice. And unfortunately it pops up using your lib. So I wrote this bug report mainly as a pointer for others stumbling over the same stone in the SSL-Lib/RFC1035 and attributing an error to you. Probably there is a way in requests to make a better user experience like testing for RFC 1035 compliance before calling the SSL-code. **To reproduce:** Given a wildcard certificate for *.dev.inqbus.de and a webserver serving the two subdomains utilizing this certificate: * backend.dev.inqbus.de * test_backend.dev.inqbus.de ```python a= request(url='https://backend.dev.inqbus.de', method='GET') b= request(url='https://test_backend.dev.inqbus.de', method='GET') ``` ## Expected Result Both commands succeed ## Actual Result ```python a= request(url='https://backend.dev.inqbus.de', method='GET') a= request(url='https://test_backend.dev.inqbus.de', method='GET') Traceback (most recent call last): File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/urllib3/connectionpool.py", line 467, in _make_request self._validate_conn(conn) File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1092, in _validate_conn conn.connect() File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/urllib3/connection.py", line 642, in connect sock_and_verified = _ssl_wrap_socket_and_match_hostname( File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/urllib3/connection.py", line 783, in _ssl_wrap_socket_and_match_hostname ssl_sock = ssl_wrap_socket( File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 469, in ssl_wrap_socket ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname) File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 513, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "/usr/lib/python3.9/ssl.py", line 1040, in _create self.do_handshake() File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'test_backend.dev.inqbus.de'. (_ssl.c:1123) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/urllib3/connectionpool.py", line 790, in urlopen response = self._make_request( File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/urllib3/connectionpool.py", line 491, in _make_request raise new_e urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'test_backend.dev.inqbus.de'. (_ssl.c:1123) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/requests/adapters.py", line 486, in send resp = conn.urlopen( File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/urllib3/connectionpool.py", line 844, in urlopen retries = retries.increment( File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/urllib3/util/retry.py", line 515, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='test_backend.dev.inqbus.de', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'test_backend.dev.inqbus.de'. (_ssl.c:1123)"))) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/volker/workspace/PROGRAMS/pycharm-2022.3/plugins/python/helpers/pydev/pydevconsole.py", line 364, in runcode coro = func() File "<input>", line 1, in <module> File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/home/volker/workspace/venvs/vtt-interface-backend-Fy3roxN1-py3.9/lib/python3.9/site-packages/requests/adapters.py", line 517, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='test_backend.dev.inqbus.de', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'test_backend.dev.inqbus.de'. (_ssl.c:1123)"))) ``` The first call runs smoothly. The second calls produces the above trace. The error cause in the trace (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'test_backend.dev.inqbus.de'. (_ssl.c:1123)"))) The stack trace in the not RFC 1035 case is misleading. ## Reproduction Steps Please have a look above ## System Information $ python -m requests.help ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "3.2.0" }, "cryptography": { "version": "" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.9.2" }, "platform": { "release": "5.10.0-24-amd64", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.31.0" }, "system_ssl": { "version": "101010ef" }, "urllib3": { "version": "2.0.4" }, "using_charset_normalizer": true, "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/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": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/psf/requests/issues/6518/reactions" }
https://api.github.com/repos/psf/requests/issues/6518/timeline
null
completed
null
null
false
[ "Hi @volkerjaenisch \n\nThe error message is coming from several layers below us and as a rule we don't stifle exception details.\n\nThe error message that is confusing is from the Python standard `ssl` library.\n\nFurthermore, it's confusing but not misleading. For the clarification for others who I'm certain will...
https://api.github.com/repos/psf/requests/issues/6517
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6517/labels{/name}
https://api.github.com/repos/psf/requests/issues/6517/comments
https://api.github.com/repos/psf/requests/issues/6517/events
https://github.com/psf/requests/pull/6517
1,870,926,491
PR_kwDOABTKOs5Y_wo1
6,517
Remove pytest.ini in MANIFEST.in since it does not exist anymore
{ "avatar_url": "https://avatars.githubusercontent.com/u/20297196?v=4", "events_url": "https://api.github.com/users/jnhyperion/events{/privacy}", "followers_url": "https://api.github.com/users/jnhyperion/followers", "following_url": "https://api.github.com/users/jnhyperion/following{/other_user}", "gists_url": "https://api.github.com/users/jnhyperion/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jnhyperion", "id": 20297196, "login": "jnhyperion", "node_id": "MDQ6VXNlcjIwMjk3MTk2", "organizations_url": "https://api.github.com/users/jnhyperion/orgs", "received_events_url": "https://api.github.com/users/jnhyperion/received_events", "repos_url": "https://api.github.com/users/jnhyperion/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jnhyperion/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jnhyperion/subscriptions", "type": "User", "url": "https://api.github.com/users/jnhyperion", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-08-29T05:43:16Z
2024-08-29T00:07:22Z
2023-08-29T14:27:11Z
CONTRIBUTOR
resolved
Remove `pytest.ini` in `MANIFEST.in`
{ "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/6517/reactions" }
https://api.github.com/repos/psf/requests/issues/6517/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6517.diff", "html_url": "https://github.com/psf/requests/pull/6517", "merged_at": "2023-08-29T14:27:11Z", "patch_url": "https://github.com/psf/requests/pull/6517.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6517" }
true
[ "Thank you! " ]
https://api.github.com/repos/psf/requests/issues/6516
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6516/labels{/name}
https://api.github.com/repos/psf/requests/issues/6516/comments
https://api.github.com/repos/psf/requests/issues/6516/events
https://github.com/psf/requests/pull/6516
1,870,057,604
PR_kwDOABTKOs5Y823a
6,516
Bump actions/checkout from 3.5.3 to 3.6.0
{ "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/apps/dependabot", "id": 49699333, "login": "dependabot[bot]", "node_id": "MDM6Qm90NDk2OTkzMzM=", "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", "type": "Bot", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "user_view_type": "public" }
[ { "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file", "id": 1868210094, "name": "dependencies", "node_id": "MDU6TGFiZWwxODY4MjEwMDk0", "url": "https://api.github.com/repos/psf/requests/labels/dependencies" }, { "color": "000000", ...
closed
true
null
[]
null
0
2023-08-28T16:12:38Z
2024-08-29T00:07:23Z
2023-08-28T19:05:57Z
CONTRIBUTOR
resolved
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v3.6.0</h2> <h2>What's Changed</h2> <ul> <li>Mark test scripts with Bash'isms to be run via Bash by <a href="https://github.com/dscho"><code>@​dscho</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1377">actions/checkout#1377</a></li> <li>Add option to fetch tags even if fetch-depth &gt; 0 by <a href="https://github.com/RobertWieczoreck"><code>@​RobertWieczoreck</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/579">actions/checkout#579</a></li> <li>Release 3.6.0 by <a href="https://github.com/luketomlinson"><code>@​luketomlinson</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1437">actions/checkout#1437</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/RobertWieczoreck"><code>@​RobertWieczoreck</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/579">actions/checkout#579</a></li> <li><a href="https://github.com/luketomlinson"><code>@​luketomlinson</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1437">actions/checkout#1437</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v3.5.3...v3.6.0">https://github.com/actions/checkout/compare/v3.5.3...v3.6.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>v3.6.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1377">Fix: Mark test scripts with Bash'isms to be run via Bash</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/579">Add option to fetch tags even if fetch-depth &gt; 0</a></li> </ul> <h2>v3.5.3</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1196">Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1287">Fix typos found by codespell</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1369">Add support for sparse checkouts</a></li> </ul> <h2>v3.5.2</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1289">Fix api endpoint for GHES</a></li> </ul> <h2>v3.5.1</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1246">Fix slow checkout on Windows</a></li> </ul> <h2>v3.5.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1237">Add new public key for known_hosts</a></li> </ul> <h2>v3.4.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1209">Upgrade codeql actions to v2</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1210">Upgrade dependencies</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1225">Upgrade <code>@​actions/io</code></a></li> </ul> <h2>v3.3.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1045">Implement branch list using callbacks from exec function</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1050">Add in explicit reference to private checkout options</a></li> <li>[Fix comment typos (that got added in <a href="https://redirect.github.com/actions/checkout/issues/770">#770</a>)](<a href="https://redirect.github.com/actions/checkout/pull/1057">actions/checkout#1057</a>)</li> </ul> <h2>v3.2.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/942">Add GitHub Action to perform release</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/967">Fix status badge</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1002">Replace datadog/squid with ubuntu/squid Docker image</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/964">Wrap pipeline commands for submoduleForeach in quotes</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1029">Update <code>@​actions/io</code> to 1.1.2</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1039">Upgrading version to 3.2.0</a></li> </ul> <h2>v3.1.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/939">Use <code>@​actions/core</code> <code>saveState</code> and <code>getState</code></a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/922">Add <code>github-server-url</code> input</a></li> </ul> <h2>v3.0.2</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/770">Add input <code>set-safe-directory</code></a></li> </ul> <h2>v3.0.1</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/762">Fixed an issue where checkout failed to run in container jobs due to the new git setting <code>safe.directory</code></a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/744">Bumped various npm package versions</a></li> </ul> <h2>v3.0.0</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/checkout/commit/f43a0e5ff2bd294095638e18286ca9a3d1956744"><code>f43a0e5</code></a> Release 3.6.0 (<a href="https://redirect.github.com/actions/checkout/issues/1437">#1437</a>)</li> <li><a href="https://github.com/actions/checkout/commit/7739b9ba2efcda9dde65ad1e3c2dbe65b41dfba7"><code>7739b9b</code></a> Add option to fetch tags even if fetch-depth &gt; 0 (<a href="https://redirect.github.com/actions/checkout/issues/579">#579</a>)</li> <li><a href="https://github.com/actions/checkout/commit/96f53100ba2a5449eb71d2e6604bbcd94b9449b5"><code>96f5310</code></a> Mark test scripts with Bash'isms to be run via Bash (<a href="https://redirect.github.com/actions/checkout/issues/1377">#1377</a>)</li> <li>See full diff in <a href="https://github.com/actions/checkout/compare/c85c95e3d7251135ab7dc9ce3241c5835cc595a9...f43a0e5ff2bd294095638e18286ca9a3d1956744">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=3.5.3&new-version=3.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </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/6516/reactions" }
https://api.github.com/repos/psf/requests/issues/6516/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6516.diff", "html_url": "https://github.com/psf/requests/pull/6516", "merged_at": "2023-08-28T19:05:57Z", "patch_url": "https://github.com/psf/requests/pull/6516.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6516" }
true
[]
https://api.github.com/repos/psf/requests/issues/6515
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6515/labels{/name}
https://api.github.com/repos/psf/requests/issues/6515/comments
https://api.github.com/repos/psf/requests/issues/6515/events
https://github.com/psf/requests/issues/6515
1,869,719,724
I_kwDOABTKOs5vcais
6,515
Failed to validate certificate
{ "avatar_url": "https://avatars.githubusercontent.com/u/13888436?v=4", "events_url": "https://api.github.com/users/montjoie/events{/privacy}", "followers_url": "https://api.github.com/users/montjoie/followers", "following_url": "https://api.github.com/users/montjoie/following{/other_user}", "gists_url": "https://api.github.com/users/montjoie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/montjoie", "id": 13888436, "login": "montjoie", "node_id": "MDQ6VXNlcjEzODg4NDM2", "organizations_url": "https://api.github.com/users/montjoie/orgs", "received_events_url": "https://api.github.com/users/montjoie/received_events", "repos_url": "https://api.github.com/users/montjoie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/montjoie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/montjoie/subscriptions", "type": "User", "url": "https://api.github.com/users/montjoie", "user_view_type": "public" }
[]
closed
true
null
[]
null
4
2023-08-28T12:59:59Z
2024-08-29T00:07:20Z
2023-08-28T13:23:09Z
NONE
resolved
I try to access a self signed web server with python requests. While everything works (firefox, openssl), my python program still fail to validate the certificate. For testing the certificate works I use: openssl s_client -CAfile pathtomyca.crt -servername fqdn -connect fqdn:443 openssl accept the certificate. If I omit the CAfile option, openssl normaly said its self-signed Now the python script is: #!/usr/bin/env python3 import requests import OpenSSL import ssl url = 'https://fqdn' verify = 'pathtomyca.crt' try: r = requests.get(url, verify=verify) except requests.exceptions.RequestException as e: cert = ssl.get_server_certificate(('fqdn', 443)) print(cert) cert = OpenSSL.crypto.load_certificate(OpenSSL.crypto.FILETYPE_PEM, cert) print(cert.get_issuer()) print(cert.get_subject().get_components()) print(e) The exeption is HTTPSConnectionPool(host='fqdn', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'fqdn'. (_ssl.c:1010)"))) But all cert.get_xxx show me the right fqdn So there is only requests which dont like my certificate, but I do not find why. Any help appreciated.
{ "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/6515/reactions" }
https://api.github.com/repos/psf/requests/issues/6515/timeline
null
completed
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.", "It is why I selected \"Request for Help\" in issue...
https://api.github.com/repos/psf/requests/issues/6514
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6514/labels{/name}
https://api.github.com/repos/psf/requests/issues/6514/comments
https://api.github.com/repos/psf/requests/issues/6514/events
https://github.com/psf/requests/issues/6514
1,868,468,374
I_kwDOABTKOs5vXpCW
6,514
Proper TypeAnnotation for proxies
{ "avatar_url": "https://avatars.githubusercontent.com/u/63765823?v=4", "events_url": "https://api.github.com/users/Cosmicoppai/events{/privacy}", "followers_url": "https://api.github.com/users/Cosmicoppai/followers", "following_url": "https://api.github.com/users/Cosmicoppai/following{/other_user}", "gists_url": "https://api.github.com/users/Cosmicoppai/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Cosmicoppai", "id": 63765823, "login": "Cosmicoppai", "node_id": "MDQ6VXNlcjYzNzY1ODIz", "organizations_url": "https://api.github.com/users/Cosmicoppai/orgs", "received_events_url": "https://api.github.com/users/Cosmicoppai/received_events", "repos_url": "https://api.github.com/users/Cosmicoppai/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Cosmicoppai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Cosmicoppai/subscriptions", "type": "User", "url": "https://api.github.com/users/Cosmicoppai", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-08-27T11:54:29Z
2024-08-29T00:07:21Z
2023-08-27T13:26:32Z
NONE
resolved
## Feature Request: Proper Type Annotations for Proxies in Requests Library ### Proposal I propose enhancing the type annotations for proxy settings in the `requests` library to specify a dictionary of string keys and string values. This would provide clearer type expectations to users and improve the development experience when configuring proxies for HTTP requests. As it is not much needed, but it would be great if proper Annotations are present. Currently, the type annotation for proxies in the `requests` class is defined as: ```python proxies: Any | None ``` ### Desired State I suggest updating the type annotation for proxies to be more specific: ```python proxies: Optional[Dict[str, str]] ```
{ "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/6514/reactions" }
https://api.github.com/repos/psf/requests/issues/6514/timeline
null
completed
null
null
false
[ "There are no type annotations in this library. The error likely lies in typeshed if there's anything " ]
https://api.github.com/repos/psf/requests/issues/6513
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6513/labels{/name}
https://api.github.com/repos/psf/requests/issues/6513/comments
https://api.github.com/repos/psf/requests/issues/6513/events
https://github.com/psf/requests/issues/6513
1,866,213,541
I_kwDOABTKOs5vPCil
6,513
I'm trying to Install macOS Monterey on Older Unsupported Mac( macbook pro 13" late 2012) using Open-core patcher but keep getting this "Error Download failed: HTTPSConnectionPool(host='swcdn.apple.com', port=443): Read timed out." ca somebody help me please.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119044444?v=4", "events_url": "https://api.github.com/users/SingtoAjarn/events{/privacy}", "followers_url": "https://api.github.com/users/SingtoAjarn/followers", "following_url": "https://api.github.com/users/SingtoAjarn/following{/other_user}", "gists_url": "https://api.github.com/users/SingtoAjarn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SingtoAjarn", "id": 119044444, "login": "SingtoAjarn", "node_id": "U_kgDOBxh5XA", "organizations_url": "https://api.github.com/users/SingtoAjarn/orgs", "received_events_url": "https://api.github.com/users/SingtoAjarn/received_events", "repos_url": "https://api.github.com/users/SingtoAjarn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SingtoAjarn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SingtoAjarn/subscriptions", "type": "User", "url": "https://api.github.com/users/SingtoAjarn", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-08-25T03:35:48Z
2023-08-25T10:26:45Z
2023-08-25T10:26:41Z
NONE
null
Summary. ## Expected Result What you expected. ## Actual Result What happened instead. ## Reproduction Steps ```python import requests ``` ## System Information $ python -m requests.help ``` <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/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/6513/reactions" }
https://api.github.com/repos/psf/requests/issues/6513/timeline
null
completed
null
null
false
[]
https://api.github.com/repos/psf/requests/issues/6512
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6512/labels{/name}
https://api.github.com/repos/psf/requests/issues/6512/comments
https://api.github.com/repos/psf/requests/issues/6512/events
https://github.com/psf/requests/issues/6512
1,863,874,236
I_kwDOABTKOs5vGHa8
6,512
Requests are not retried when received body length is shorter than Content-Length
{ "avatar_url": "https://avatars.githubusercontent.com/u/15678442?v=4", "events_url": "https://api.github.com/users/zweger/events{/privacy}", "followers_url": "https://api.github.com/users/zweger/followers", "following_url": "https://api.github.com/users/zweger/following{/other_user}", "gists_url": "https://api.github.com/users/zweger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zweger", "id": 15678442, "login": "zweger", "node_id": "MDQ6VXNlcjE1Njc4NDQy", "organizations_url": "https://api.github.com/users/zweger/orgs", "received_events_url": "https://api.github.com/users/zweger/received_events", "repos_url": "https://api.github.com/users/zweger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zweger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zweger/subscriptions", "type": "User", "url": "https://api.github.com/users/zweger", "user_view_type": "public" }
[]
open
false
null
[]
null
5
2023-08-23T19:11:31Z
2024-07-01T16:42:59Z
null
NONE
null
When a server sends less bytes than indicated by Content-Length, we get a ChunkedEncodingError instead of retrying the request. urllib3 supports retrying requests in this situation by setting `preload_content=True`. When a user specifies `stream=True`, obviously, all bets are off: the response cannot be preloaded and therefore the request cannot be retried. However, even when `stream=False`, the response is still not preloaded and therefore the urllib3 retry mechanism in this situation is bypassed. --- As a background to this issue, I've been investigating rare failures in my CI builds during `pip install`. I believe this issue to be the proximate cause: pip makes some requests to PyPI, with `stream=False` and retries configured but still fails. In the current version of pip (which has an out of date urllib3 package), pip falls victim to https://github.com/psf/requests/issues/4956 and fails to parse the PyPI metadata with a `JSONDecodeError`. Upgrading pip's urllib3 version results in a `ChunkedEncodingError` as below. ## Expected Result The request is retried according to the specified retry policy. ## Actual Result `requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(10 bytes read, 26227 more expected)', IncompleteRead(10 bytes read, 26227 more expected))` Because the response is not preloaded, urllib3 cannot retry the request, and requests has no retry functionality of its own. ## Reproduction Steps ```python import requests from requests.adapters import HTTPAdapter s = requests.Session() s.mount("http://", HTTPAdapter(max_retries=5)) r = s.get('http://127.0.0.1:5000/test', stream=False) ``` I'm using an intentionally broken local server for testing. See [here](https://github.com/psf/requests/issues/4956#issuecomment-573325001) for an example. ## System Information $ python -m requests.help ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "3.2.0" }, "cryptography": { "version": "" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.11.4" }, "platform": { "release": "6.4.11-100.fc37.x86_64", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.31.0" }, "system_ssl": { "version": "30000090" }, "urllib3": { "version": "2.0.4" }, "using_charset_normalizer": true, "using_pyopenssl": false } ``` ## Proposed Patch I have a proposed patch which I believe fixes this problem. Unfortunately, my patch breaks a bunch of the tests (and probably also breaks backwards compatibility, in particular, this patch causes requests to start leaking urllib3 exceptions). On the off chance it's useful in coming up with a proper fix, here it is: ``` diff --git a/src/requests/adapters.py b/src/requests/adapters.py index eb240fa9..ce01c2a5 100644 --- a/src/requests/adapters.py +++ b/src/requests/adapters.py @@ -489,8 +489,8 @@ class HTTPAdapter(BaseAdapter): headers=request.headers, redirect=False, assert_same_host=False, - preload_content=False, - decode_content=False, + preload_content=not stream, + decode_content=not stream, retries=self.max_retries, timeout=timeout, chunked=chunked, diff --git a/src/requests/models.py b/src/requests/models.py index 44556394..f43f1bf8 100644 --- a/src/requests/models.py +++ b/src/requests/models.py @@ -893,6 +893,8 @@ class Response: if self.status_code == 0 or self.raw is None: self._content = None + elif getattr(self.raw, "data", None) is not None: + self._content = self.raw.data else: self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b"" diff --git a/tests/test_lowlevel.py b/tests/test_lowlevel.py index 859d07e8..39a1175e 100644 --- a/tests/test_lowlevel.py +++ b/tests/test_lowlevel.py @@ -4,6 +4,7 @@ import pytest from tests.testserver.server import Server, consume_socket_content import requests +from requests.adapters import HTTPAdapter from requests.compat import JSONDecodeError from .utils import override_environ @@ -426,3 +427,33 @@ def test_json_decode_compatibility_for_alt_utf_encodings(): assert isinstance(excinfo.value, requests.exceptions.RequestException) assert isinstance(excinfo.value, JSONDecodeError) assert r.text not in str(excinfo.value) + + +def test_retry_truncated_response(): + data = b"truncated before retry" + response_lengths = [len(data), 9] + + def retry_handler(sock): + request_content = consume_socket_content(sock, timeout=0.5) + + response = ( + b"HTTP/1.1 200 OK\r\n" + b"Content-Length: %d\r\n\r\n" + b"%s" + ) % (len(data), data[:response_lengths.pop()]) + sock.send(response) + + return request_content + + close_server = threading.Event() + server = Server(retry_handler, wait_to_close_event=close_server, requests_to_handle=2) + + s = requests.Session() + s.mount("http://", HTTPAdapter(max_retries=2)) + + with server as (host, port): + url = f"http://{host}:{port}/" + r = s.get(url, stream=False) + assert r.status_code == 200 + assert r.content == data + close_server.set() ```
null
{ "+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/6512/reactions" }
https://api.github.com/repos/psf/requests/issues/6512/timeline
null
null
null
null
false
[ "I really want to work on this issue, but I can't reproduce the bug. For me, the exception ChunkedEncodingError is not raised if the server sends less bytes than indicated by Content-Length. Here is my test case \r\n\r\n`import requests\r\nfrom requests.exceptions import ChunkedEncodingError\r\n\r\ndef test_chunke...
https://api.github.com/repos/psf/requests/issues/6511
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6511/labels{/name}
https://api.github.com/repos/psf/requests/issues/6511/comments
https://api.github.com/repos/psf/requests/issues/6511/events
https://github.com/psf/requests/issues/6511
1,863,869,073
I_kwDOABTKOs5vGGKR
6,511
Unable to import requests - No module named `http.client`
{ "avatar_url": "https://avatars.githubusercontent.com/u/81396550?v=4", "events_url": "https://api.github.com/users/mse63/events{/privacy}", "followers_url": "https://api.github.com/users/mse63/followers", "following_url": "https://api.github.com/users/mse63/following{/other_user}", "gists_url": "https://api.github.com/users/mse63/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mse63", "id": 81396550, "login": "mse63", "node_id": "MDQ6VXNlcjgxMzk2NTUw", "organizations_url": "https://api.github.com/users/mse63/orgs", "received_events_url": "https://api.github.com/users/mse63/received_events", "repos_url": "https://api.github.com/users/mse63/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mse63/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mse63/subscriptions", "type": "User", "url": "https://api.github.com/users/mse63", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-08-23T19:07:41Z
2024-08-23T00:03:50Z
2023-08-23T19:11:28Z
NONE
resolved
I am unable to import the requests library. I get a ModuleNotFoundError with `No module named 'http.client' ## Expected Result Running `import requests` should not throw an error. ## Actual Result Running `import requests` throws an error: ``` Traceback (most recent call last): File "/home/mahmoud/requests_test.py", line 1, in <module> import requests File "/home/mahmoud/.local/lib/python3.10/site-packages/requests/__init__.py", line 43, in <module> import urllib3 File "/home/mahmoud/.local/lib/python3.10/site-packages/urllib3/__init__.py", line 11, in <module> from . import exceptions File "/home/mahmoud/.local/lib/python3.10/site-packages/urllib3/exceptions.py", line 3, in <module> from .packages.six.moves.http_client import IncompleteRead as httplib_IncompleteRead File "/home/mahmoud/.local/lib/python3.10/site-packages/urllib3/packages/six.py", line 199, in load_module mod = mod._resolve() File "/home/mahmoud/.local/lib/python3.10/site-packages/urllib3/packages/six.py", line 113, in _resolve return _import_module(self.mod) File "/home/mahmoud/.local/lib/python3.10/site-packages/urllib3/packages/six.py", line 82, in _import_module __import__(name) ModuleNotFoundError: No module named 'http.client' ``` ## Reproduction Steps ```python import requests ``` Obviously, not everyone is running into this issue. I'm not sure what's special about my system that would cause this. I haven't done anything special or out of the ordinary with my server setup or python installation. Everything was working fine up until a few days ago when this issue just appeared unexpectedly for no apparent reason. ## System Information Ubuntu Server 22.04, python3 version 3.10.12
{ "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/6511/reactions" }
https://api.github.com/repos/psf/requests/issues/6511/timeline
null
completed
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com/) for general usage questions instead and only report defects here.\r\n\r\n```\r\nModuleNotFoundError: No module named 'ht...
https://api.github.com/repos/psf/requests/issues/6510
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6510/labels{/name}
https://api.github.com/repos/psf/requests/issues/6510/comments
https://api.github.com/repos/psf/requests/issues/6510/events
https://github.com/psf/requests/issues/6510
1,858,851,387
I_kwDOABTKOs5uy9I7
6,510
TypeError: __init__() got an unexpected keyword argument 'strict'
{ "avatar_url": "https://avatars.githubusercontent.com/u/142784931?v=4", "events_url": "https://api.github.com/users/JamesAegina/events{/privacy}", "followers_url": "https://api.github.com/users/JamesAegina/followers", "following_url": "https://api.github.com/users/JamesAegina/following{/other_user}", "gists_url": "https://api.github.com/users/JamesAegina/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JamesAegina", "id": 142784931, "login": "JamesAegina", "node_id": "U_kgDOCIK5ow", "organizations_url": "https://api.github.com/users/JamesAegina/orgs", "received_events_url": "https://api.github.com/users/JamesAegina/received_events", "repos_url": "https://api.github.com/users/JamesAegina/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JamesAegina/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JamesAegina/subscriptions", "type": "User", "url": "https://api.github.com/users/JamesAegina", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-08-21T08:15:57Z
2024-08-22T00:03:54Z
2023-08-21T18:23:32Z
NONE
resolved
Hi all, getting this error when trying to run all scripts. Any ideas on how to fix would be greatly appreciated. many thanks TypeError: __init__() got an unexpected keyword argument 'strict'
{ "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/6510/reactions" }
https://api.github.com/repos/psf/requests/issues/6510/timeline
null
completed
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com/) for general usage questions instead and only report defects here.\r\n\r\nFor your Stackoverflow issue, you'll want to in...
https://api.github.com/repos/psf/requests/issues/6509
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6509/labels{/name}
https://api.github.com/repos/psf/requests/issues/6509/comments
https://api.github.com/repos/psf/requests/issues/6509/events
https://github.com/psf/requests/issues/6509
1,857,956,715
I_kwDOABTKOs5uvitr
6,509
Download almost empty files
{ "avatar_url": "https://avatars.githubusercontent.com/u/96078633?v=4", "events_url": "https://api.github.com/users/MohammadJavadSoltani/events{/privacy}", "followers_url": "https://api.github.com/users/MohammadJavadSoltani/followers", "following_url": "https://api.github.com/users/MohammadJavadSoltani/following{/other_user}", "gists_url": "https://api.github.com/users/MohammadJavadSoltani/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MohammadJavadSoltani", "id": 96078633, "login": "MohammadJavadSoltani", "node_id": "U_kgDOBboLKQ", "organizations_url": "https://api.github.com/users/MohammadJavadSoltani/orgs", "received_events_url": "https://api.github.com/users/MohammadJavadSoltani/received_events", "repos_url": "https://api.github.com/users/MohammadJavadSoltani/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MohammadJavadSoltani/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MohammadJavadSoltani/subscriptions", "type": "User", "url": "https://api.github.com/users/MohammadJavadSoltani", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-08-20T05:13:11Z
2024-08-22T00:03:56Z
2023-08-20T09:59:05Z
NONE
resolved
**Hey, I have some urls which will be instently download just by paste it in browser. But when i use os and requests to download it, it doesn't download properly** ## I Expected: Download a 72 M.b with .hdf format. ## But the result: download a 11 k.b .hdf file! ## Reproduction Steps ```python import os import requests def download_file(url, output_path): try: response = requests.get(url, stream=True) print(response) if response.status_code == 200: filename = url.split("/")[-1] file_path = os.path.join(output_path, filename) with open(file_path, "wb") as file: for chunk in response.iter_content(): file.write(chunk) print(f"Downloaded {filename} to {file_path}") else: print(f"Failed to download {url}. Status code: {response.status_code}") except Exception as e: print(f"An error occurred: {e}") download_file("https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/61/MOD021KM/2022/152/MOD021KM.A2022152.1930.061.2022153073644.hdf", "H:/__________Basir/2- Download_Modis_Images/Some_Sample_Downloaded/_Test 2.0.0") ``` ## System Information $ python -m requests.help ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "2.1.0" }, "cryptography": { "version": "" }, "idna": { "version": "3.3" }, "implementation": { "name": "CPython", "version": "3.10.12" }, "platform": { "release": "10", "system": "Windows" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.28.1" }, "system_ssl": { "version": "30100020" }, "urllib3": { "version": "1.26.11" }, "using_charset_normalizer": true, "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/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/6509/reactions" }
https://api.github.com/repos/psf/requests/issues/6509/timeline
null
completed
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here." ]
https://api.github.com/repos/psf/requests/issues/6508
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6508/labels{/name}
https://api.github.com/repos/psf/requests/issues/6508/comments
https://api.github.com/repos/psf/requests/issues/6508/events
https://github.com/psf/requests/pull/6508
1,856,921,133
PR_kwDOABTKOs5YQpW5
6,508
Fix documentation monthly download badge
{ "avatar_url": "https://avatars.githubusercontent.com/u/10525230?v=4", "events_url": "https://api.github.com/users/13steinj/events{/privacy}", "followers_url": "https://api.github.com/users/13steinj/followers", "following_url": "https://api.github.com/users/13steinj/following{/other_user}", "gists_url": "https://api.github.com/users/13steinj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/13steinj", "id": 10525230, "login": "13steinj", "node_id": "MDQ6VXNlcjEwNTI1MjMw", "organizations_url": "https://api.github.com/users/13steinj/orgs", "received_events_url": "https://api.github.com/users/13steinj/received_events", "repos_url": "https://api.github.com/users/13steinj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/13steinj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/13steinj/subscriptions", "type": "User", "url": "https://api.github.com/users/13steinj", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-08-18T15:35:16Z
2024-08-24T00:06:37Z
2023-08-18T17:01:27Z
CONTRIBUTOR
resolved
This was missed from #6507
{ "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/6508/reactions" }
https://api.github.com/repos/psf/requests/issues/6508/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6508.diff", "html_url": "https://github.com/psf/requests/pull/6508", "merged_at": "2023-08-18T17:01:27Z", "patch_url": "https://github.com/psf/requests/pull/6508.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6508" }
true
[]
https://api.github.com/repos/psf/requests/issues/6507
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6507/labels{/name}
https://api.github.com/repos/psf/requests/issues/6507/comments
https://api.github.com/repos/psf/requests/issues/6507/events
https://github.com/psf/requests/pull/6507
1,853,067,241
PR_kwDOABTKOs5YDjjf
6,507
Fix monthly download badge in README
{ "avatar_url": "https://avatars.githubusercontent.com/u/11357413?v=4", "events_url": "https://api.github.com/users/Ocupe/events{/privacy}", "followers_url": "https://api.github.com/users/Ocupe/followers", "following_url": "https://api.github.com/users/Ocupe/following{/other_user}", "gists_url": "https://api.github.com/users/Ocupe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Ocupe", "id": 11357413, "login": "Ocupe", "node_id": "MDQ6VXNlcjExMzU3NDEz", "organizations_url": "https://api.github.com/users/Ocupe/orgs", "received_events_url": "https://api.github.com/users/Ocupe/received_events", "repos_url": "https://api.github.com/users/Ocupe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Ocupe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ocupe/subscriptions", "type": "User", "url": "https://api.github.com/users/Ocupe", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-08-16T11:44:09Z
2024-08-18T00:06:16Z
2023-08-16T15:16:54Z
CONTRIBUTOR
resolved
This PR fixes the monthly download badge in the README. **At the moment:** <img width="791" alt="image" src="https://github.com/psf/requests/assets/11357413/189384fd-d24b-4e36-8e6d-a763581d207e"> **With this PR:** <img width="765" alt="image" src="https://github.com/psf/requests/assets/11357413/0174ed1a-82f1-475f-8245-dad2c57c11fc">
{ "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/6507/reactions" }
https://api.github.com/repos/psf/requests/issues/6507/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6507.diff", "html_url": "https://github.com/psf/requests/pull/6507", "merged_at": "2023-08-16T15:16:54Z", "patch_url": "https://github.com/psf/requests/pull/6507.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6507" }
true
[]
https://api.github.com/repos/psf/requests/issues/6506
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6506/labels{/name}
https://api.github.com/repos/psf/requests/issues/6506/comments
https://api.github.com/repos/psf/requests/issues/6506/events
https://github.com/psf/requests/pull/6506
1,848,719,500
PR_kwDOABTKOs5X04is
6,506
Move to src directory
{ "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
false
null
[]
{ "closed_at": null, "closed_issues": 13, "created_at": "2023-08-13T17:04:53Z", "creator": { "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" }, "description": "", "due_on": null, "html_url": "https://github.com/psf/requests/milestone/33", "id": 9786066, "labels_url": "https://api.github.com/repos/psf/requests/milestones/33/labels", "node_id": "MI_kwDOABTKOs4AlVLS", "number": 33, "open_issues": 0, "state": "open", "title": "2.32.0", "updated_at": "2024-05-20T14:17:03Z", "url": "https://api.github.com/repos/psf/requests/milestones/33" }
0
2023-08-13T19:55:45Z
2024-05-15T20:25:40Z
2023-08-13T21:46:13Z
MEMBER
null
This is more of a pulse check/RFC from the other maintainers. Using a `src` directory has been the standard advice for package structure [1][2] for quite a while for proper test encapsulation. This PR proposes we move Requests to follow suit. I don't think we have anything requiring this move beyond providing a better example since Requests is still cited as an example for projects (despite being relatively out of date from community standards). 1. https://packaging.python.org/en/latest/tutorials/packaging-projects/ 2. https://docs.pytest.org/en/latest/goodpractices.html
{ "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": 1, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/psf/requests/issues/6506/reactions" }
https://api.github.com/repos/psf/requests/issues/6506/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6506.diff", "html_url": "https://github.com/psf/requests/pull/6506", "merged_at": "2023-08-13T21:46:13Z", "patch_url": "https://github.com/psf/requests/pull/6506.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6506" }
true
[]
https://api.github.com/repos/psf/requests/issues/6505
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6505/labels{/name}
https://api.github.com/repos/psf/requests/issues/6505/comments
https://api.github.com/repos/psf/requests/issues/6505/events
https://github.com/psf/requests/pull/6505
1,848,715,157
PR_kwDOABTKOs5X03rP
6,505
Remove pytest-mock requirement
{ "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
0
2023-08-13T19:40:51Z
2024-08-13T00:03:51Z
2023-08-13T23:08:21Z
MEMBER
resolved
We missed removing `pytest-mock` in the Python 2.7 deprecation. Since we're not using any specialized functionality in `pytest-mock` and `mock` is available in the standard library through `unittest`, let's prefer that.
{ "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/6505/reactions" }
https://api.github.com/repos/psf/requests/issues/6505/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6505.diff", "html_url": "https://github.com/psf/requests/pull/6505", "merged_at": "2023-08-13T23:08:21Z", "patch_url": "https://github.com/psf/requests/pull/6505.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6505" }
true
[]
https://api.github.com/repos/psf/requests/issues/6504
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6504/labels{/name}
https://api.github.com/repos/psf/requests/issues/6504/comments
https://api.github.com/repos/psf/requests/issues/6504/events
https://github.com/psf/requests/pull/6504
1,848,697,407
PR_kwDOABTKOs5X00Ig
6,504
Add minimum PEP518 build-system specification
{ "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" }
[]
open
false
null
[]
null
0
2023-08-13T18:43:48Z
2023-08-13T18:43:48Z
null
MEMBER
null
We've been missing the minimum PEP 518 build specification in our pyproject.toml. This PR adds that, along with an explicit backend to remove any ambiguity for alternative build tools.
null
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/psf/requests/issues/6504/reactions" }
https://api.github.com/repos/psf/requests/issues/6504/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6504.diff", "html_url": "https://github.com/psf/requests/pull/6504", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6504.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6504" }
true
[]
https://api.github.com/repos/psf/requests/issues/6503
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6503/labels{/name}
https://api.github.com/repos/psf/requests/issues/6503/comments
https://api.github.com/repos/psf/requests/issues/6503/events
https://github.com/psf/requests/pull/6503
1,848,695,015
PR_kwDOABTKOs5X0zqE
6,503
Add 3.12 classifier and tox configuration
{ "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
false
null
[]
{ "closed_at": null, "closed_issues": 13, "created_at": "2023-08-13T17:04:53Z", "creator": { "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" }, "description": "", "due_on": null, "html_url": "https://github.com/psf/requests/milestone/33", "id": 9786066, "labels_url": "https://api.github.com/repos/psf/requests/milestones/33/labels", "node_id": "MI_kwDOABTKOs4AlVLS", "number": 33, "open_issues": 0, "state": "open", "title": "2.32.0", "updated_at": "2024-05-20T14:17:03Z", "url": "https://api.github.com/repos/psf/requests/milestones/33" }
0
2023-08-13T18:35:47Z
2024-05-15T20:24:33Z
2023-08-13T19:56:19Z
MEMBER
null
Tests have been running smoothly for the last few months and now that we're in RC phase for Python 3.12, we should be able to formalize support.
{ "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/6503/reactions" }
https://api.github.com/repos/psf/requests/issues/6503/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6503.diff", "html_url": "https://github.com/psf/requests/pull/6503", "merged_at": "2023-08-13T19:56:19Z", "patch_url": "https://github.com/psf/requests/pull/6503.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6503" }
true
[]
https://api.github.com/repos/psf/requests/issues/6502
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6502/labels{/name}
https://api.github.com/repos/psf/requests/issues/6502/comments
https://api.github.com/repos/psf/requests/issues/6502/events
https://github.com/psf/requests/pull/6502
1,848,185,358
PR_kwDOABTKOs5XzJoJ
6,502
Bump github/codeql-action from 1.1.39 to 2.21.3
{ "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/apps/dependabot", "id": 49699333, "login": "dependabot[bot]", "node_id": "MDM6Qm90NDk2OTkzMzM=", "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", "type": "Bot", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "user_view_type": "public" }
[ { "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file", "id": 1868210094, "name": "dependencies", "node_id": "MDU6TGFiZWwxODY4MjEwMDk0", "url": "https://api.github.com/repos/psf/requests/labels/dependencies" }, { "color": "000000", ...
closed
true
null
[]
null
0
2023-08-12T19:03:31Z
2024-08-12T00:06:08Z
2023-08-12T19:50:52Z
CONTRIBUTOR
resolved
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.1.39 to 2.21.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/github/codeql-action/releases">github/codeql-action's releases</a>.</em></p> <blockquote> <h2>CodeQL Bundle</h2> <p>Bundles CodeQL CLI v2.14.2</p> <ul> <li>(<a href="https://github.com/github/codeql-cli-binaries/blob/HEAD/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql-cli-binaries/releases/tag/v2.14.2">release</a>)</li> </ul> <p>Includes the following CodeQL language packs from <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2"><code>github/codeql@codeql-cli/v2.14.2</code></a>:</p> <ul> <li><code>codeql/cpp-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/cpp/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/cpp/ql/src">source</a>)</li> <li><code>codeql/cpp-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/cpp/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/cpp/ql/lib">source</a>)</li> <li><code>codeql/csharp-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/csharp/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/csharp/ql/src">source</a>)</li> <li><code>codeql/csharp-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/csharp/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/csharp/ql/lib">source</a>)</li> <li><code>codeql/go-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/go/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/go/ql/src">source</a>)</li> <li><code>codeql/go-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/go/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/go/ql/lib">source</a>)</li> <li><code>codeql/java-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/java/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/java/ql/src">source</a>)</li> <li><code>codeql/java-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/java/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/java/ql/lib">source</a>)</li> <li><code>codeql/javascript-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/javascript/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/javascript/ql/src">source</a>)</li> <li><code>codeql/javascript-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/javascript/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/javascript/ql/lib">source</a>)</li> <li><code>codeql/python-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/python/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/python/ql/src">source</a>)</li> <li><code>codeql/python-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/python/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/python/ql/lib">source</a>)</li> <li><code>codeql/ruby-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/ruby/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/ruby/ql/src">source</a>)</li> <li><code>codeql/ruby-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/ruby/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/ruby/ql/lib">source</a>)</li> <li><code>codeql/swift-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/swift/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/swift/ql/src">source</a>)</li> <li><code>codeql/swift-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/swift/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.2/swift/ql/lib">source</a>)</li> </ul> <h2>CodeQL Bundle</h2> <p>Bundles CodeQL CLI v2.14.1</p> <ul> <li>(<a href="https://github.com/github/codeql-cli-binaries/blob/HEAD/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql-cli-binaries/releases/tag/v2.14.1">release</a>)</li> </ul> <p>Includes the following CodeQL language packs from <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1"><code>github/codeql@codeql-cli/v2.14.1</code></a>:</p> <ul> <li><code>codeql/cpp-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/cpp/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/cpp/ql/src">source</a>)</li> <li><code>codeql/cpp-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/cpp/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/cpp/ql/lib">source</a>)</li> <li><code>codeql/csharp-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/csharp/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/csharp/ql/src">source</a>)</li> <li><code>codeql/csharp-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/csharp/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/csharp/ql/lib">source</a>)</li> <li><code>codeql/go-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/go/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/go/ql/src">source</a>)</li> <li><code>codeql/go-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/go/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/go/ql/lib">source</a>)</li> <li><code>codeql/java-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/java/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/java/ql/src">source</a>)</li> <li><code>codeql/java-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/java/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/java/ql/lib">source</a>)</li> <li><code>codeql/javascript-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/javascript/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/javascript/ql/src">source</a>)</li> <li><code>codeql/javascript-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/javascript/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/javascript/ql/lib">source</a>)</li> <li><code>codeql/python-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/python/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/python/ql/src">source</a>)</li> <li><code>codeql/python-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/python/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/python/ql/lib">source</a>)</li> <li><code>codeql/ruby-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/ruby/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/ruby/ql/src">source</a>)</li> <li><code>codeql/ruby-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/ruby/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/ruby/ql/lib">source</a>)</li> <li><code>codeql/swift-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/swift/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/swift/ql/src">source</a>)</li> <li><code>codeql/swift-all</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/swift/ql/lib/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.1/swift/ql/lib">source</a>)</li> </ul> <h2>CodeQL Bundle</h2> <p>Bundles CodeQL CLI v2.14.0</p> <ul> <li>(<a href="https://github.com/github/codeql-cli-binaries/blob/HEAD/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql-cli-binaries/releases/tag/v2.14.0">release</a>)</li> </ul> <p>Includes the following CodeQL language packs from <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.0"><code>github/codeql@codeql-cli/v2.14.0</code></a>:</p> <ul> <li><code>codeql/cpp-queries</code> (<a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.0/cpp/ql/src/CHANGELOG.md">changelog</a>, <a href="https://github.com/github/codeql/tree/codeql-cli/v2.14.0/cpp/ql/src">source</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's changelog</a>.</em></p> <blockquote> <h1>CodeQL Action Changelog</h1> <p>See the <a href="https://github.com/github/codeql-action/releases">releases page</a> for the relevant changes to the CodeQL CLI and language packs.</p> <h2>[UNRELEASED]</h2> <ul> <li>Log a warning if the amount of available disk space runs low during a code scanning run. <a href="https://redirect.github.com/github/codeql-action/pull/1825">#1825</a></li> <li>When downloading CodeQL bundle version 2.13.4 and later, cache these bundles in the Actions tool cache using a simpler version number. <a href="https://redirect.github.com/github/codeql-action/pull/1832">#1832</a></li> <li>Fix an issue that first appeared in CodeQL Action v2.21.2 that prevented CodeQL invocations from being logged. <a href="https://redirect.github.com/github/codeql-action/pull/1833">#1833</a></li> </ul> <h2>2.21.3 - 08 Aug 2023</h2> <ul> <li>We are rolling out a feature in August 2023 that will improve multi-threaded performance on larger runners. <a href="https://redirect.github.com/github/codeql-action/pull/1817">#1817</a></li> <li>We are rolling out a feature in August 2023 that adds beta support for <a href="https://projectlombok.org/">Project Lombok</a> when analyzing Java. <a href="https://redirect.github.com/github/codeql-action/pull/1809">#1809</a></li> <li>Reduce disk space usage when downloading the CodeQL bundle. <a href="https://redirect.github.com/github/codeql-action/pull/1820">#1820</a></li> <li>Update default CodeQL bundle version to 2.14.2. <a href="https://redirect.github.com/github/codeql-action/pull/1831">#1831</a></li> </ul> <h2>2.21.2 - 28 Jul 2023</h2> <ul> <li>Update default CodeQL bundle version to 2.14.1. <a href="https://redirect.github.com/github/codeql-action/pull/1797">#1797</a></li> <li>Avoid duplicating the analysis summary within the logs. <a href="https://redirect.github.com/github/codeql-action/pull/1811">#1811</a></li> </ul> <h2>2.21.1 - 26 Jul 2023</h2> <ul> <li>Improve the handling of fatal errors from the CodeQL CLI. <a href="https://redirect.github.com/github/codeql-action/pull/1795">#1795</a></li> <li>Add the <code>sarif-output</code> output to the analyze action that contains the path to the directory of the generated SARIF. <a href="https://redirect.github.com/github/codeql-action/pull/1799">#1799</a></li> </ul> <h2>2.21.0 - 19 Jul 2023</h2> <ul> <li>CodeQL Action now requires CodeQL CLI 2.9.4 or later. For more information, see the corresponding changelog entry for CodeQL Action version 2.20.4. <a href="https://redirect.github.com/github/codeql-action/pull/1724">#1724</a></li> </ul> <h2>2.20.4 - 14 Jul 2023</h2> <ul> <li>This is the last release of the Action that supports CodeQL CLI versions 2.8.5 to 2.9.3. These versions of the CodeQL CLI were deprecated on June 20, 2023 alongside GitHub Enterprise Server 3.5 and will not be supported by the next release of the CodeQL Action (2.21.0). <ul> <li>If you are using one of these versions, please update to CodeQL CLI version 2.9.4 or later. For instance, if you have specified a custom version of the CLI using the 'tools' input to the 'init' Action, you can remove this input to use the default version.</li> <li>Alternatively, if you want to continue using a version of the CodeQL CLI between 2.8.5 and 2.9.3, you can replace 'github/codeql-action/<em><a href="https://github.com/v2"><code>@​v2</code></a>' by 'github/codeql-action/</em><a href="https://github.com/v2"><code>@​v2</code></a>.20.4' in your code scanning workflow to ensure you continue using this version of the CodeQL Action.</li> </ul> </li> <li>We are rolling out a feature in July 2023 that will slightly reduce the default amount of RAM used for query execution, in proportion to the runner's total memory. This will help to avoid out-of-memory failures on larger runners. <a href="https://redirect.github.com/github/codeql-action/pull/1760">#1760</a></li> <li>Update default CodeQL bundle version to 2.14.0. <a href="https://redirect.github.com/github/codeql-action/pull/1762">#1762</a></li> </ul> <h2>2.20.3 - 06 Jul 2023</h2> <ul> <li>Update default CodeQL bundle version to 2.13.5. <a href="https://redirect.github.com/github/codeql-action/pull/1743">#1743</a></li> </ul> <h2>2.20.2 - 03 Jul 2023</h2> <p>No user facing changes.</p> <h2>2.20.1 - 21 Jun 2023</h2> <ul> <li>Update default CodeQL bundle version to 2.13.4. <a href="https://redirect.github.com/github/codeql-action/pull/1721">#1721</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/github/codeql-action/commit/5b6282e01c62d02e720b81eb8a51204f527c3624"><code>5b6282e</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/1829">#1829</a> from github/update-v2.21.3-f9a7c6738</li> <li><a href="https://github.com/github/codeql-action/commit/f0f7a35b85fdfbe2a22f71f07357d50c3b42a03b"><code>f0f7a35</code></a> Add changenote for Lombok rollout</li> <li><a href="https://github.com/github/codeql-action/commit/dda4ed3db43be29c67d79c0cb9820615c945bef9"><code>dda4ed3</code></a> Update changelog for v2.21.3</li> <li><a href="https://github.com/github/codeql-action/commit/f9a7c6738f28efb36e31d49c53a201a9c5d6a476"><code>f9a7c67</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/1827">#1827</a> from github/dependabot/npm_and_yarn/npm-5103036bd1</li> <li><a href="https://github.com/github/codeql-action/commit/31b9dd18d42cacc20225c8e17681df56ecc9b962"><code>31b9dd1</code></a> Update checked-in dependencies</li> <li><a href="https://github.com/github/codeql-action/commit/7e2f56aae343fe3734d1841385b67742654aa94c"><code>7e2f56a</code></a> Bump the npm group with 3 updates</li> <li><a href="https://github.com/github/codeql-action/commit/878ae4a749eff2fd2a5789cd23ef5c39a4903cd1"><code>878ae4a</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/1823">#1823</a> from github/henrymercer/setup-swift-more-consistent</li> <li><a href="https://github.com/github/codeql-action/commit/63602c0f72ecd7fac834d5ca1d52ec1500bc8152"><code>63602c0</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/1824">#1824</a> from github/henrymercer/cli-notifications-fix</li> <li><a href="https://github.com/github/codeql-action/commit/66dc883276a9bc95275668a69c26e7f55e4013d8"><code>66dc883</code></a> Merge pull request <a href="https://redirect.github.com/github/codeql-action/issues/1826">#1826</a> from github/henrymercer/increase-reserved-scaling-fa...</li> <li><a href="https://github.com/github/codeql-action/commit/2203178090782fe408dd0bee3925a959edaedf22"><code>2203178</code></a> Increase scaling factor for reserved RAM to 5%</li> <li>Additional commits viewable in <a href="https://github.com/github/codeql-action/compare/231aa2c8a89117b126725a0e11897209b7118144...5b6282e01c62d02e720b81eb8a51204f527c3624">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action&package-manager=github_actions&previous-version=1.1.39&new-version=2.21.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
{ "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/6502/reactions" }
https://api.github.com/repos/psf/requests/issues/6502/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6502.diff", "html_url": "https://github.com/psf/requests/pull/6502", "merged_at": "2023-08-12T19:50:52Z", "patch_url": "https://github.com/psf/requests/pull/6502.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6502" }
true
[]
https://api.github.com/repos/psf/requests/issues/6501
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6501/labels{/name}
https://api.github.com/repos/psf/requests/issues/6501/comments
https://api.github.com/repos/psf/requests/issues/6501/events
https://github.com/psf/requests/pull/6501
1,848,185,253
PR_kwDOABTKOs5XzJmn
6,501
Bump actions/checkout from 2.7.0 to 3.5.3
{ "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/apps/dependabot", "id": 49699333, "login": "dependabot[bot]", "node_id": "MDM6Qm90NDk2OTkzMzM=", "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", "type": "Bot", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "user_view_type": "public" }
[ { "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file", "id": 1868210094, "name": "dependencies", "node_id": "MDU6TGFiZWwxODY4MjEwMDk0", "url": "https://api.github.com/repos/psf/requests/labels/dependencies" }, { "color": "000000", ...
closed
true
null
[]
null
0
2023-08-12T19:03:26Z
2024-08-12T00:06:07Z
2023-08-12T20:15:39Z
CONTRIBUTOR
resolved
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.7.0 to 3.5.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v3.5.3</h2> <h2>What's Changed</h2> <ul> <li>Fix: Checkout Issue in self hosted runner due to faulty submodule check-ins by <a href="https://github.com/megamanics"><code>@​megamanics</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1196">actions/checkout#1196</a></li> <li>Fix typos found by codespell by <a href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1287">actions/checkout#1287</a></li> <li>Add support for sparse checkouts by <a href="https://github.com/dscho"><code>@​dscho</code></a> and <a href="https://github.com/dfdez"><code>@​dfdez</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1369">actions/checkout#1369</a></li> <li>Release v3.5.3 by <a href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1376">actions/checkout#1376</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/megamanics"><code>@​megamanics</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1196">actions/checkout#1196</a></li> <li><a href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1287">actions/checkout#1287</a></li> <li><a href="https://github.com/dfdez"><code>@​dfdez</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1369">actions/checkout#1369</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v3...v3.5.3">https://github.com/actions/checkout/compare/v3...v3.5.3</a></p> <h2>v3.5.2</h2> <h2>What's Changed</h2> <ul> <li>Fix: Use correct API url / endpoint in GHES by <a href="https://github.com/fhammerl"><code>@​fhammerl</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1289">actions/checkout#1289</a> based on <a href="https://redirect.github.com/actions/checkout/issues/1286">#1286</a> by <a href="https://github.com/1newsr"><code>@​1newsr</code></a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v3.5.1...v3.5.2">https://github.com/actions/checkout/compare/v3.5.1...v3.5.2</a></p> <h2>v3.5.1</h2> <h2>What's Changed</h2> <ul> <li>Improve checkout performance on Windows runners by upgrading <code>@​actions/github</code> dependency by <a href="https://github.com/BrettDong"><code>@​BrettDong</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1246">actions/checkout#1246</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/BrettDong"><code>@​BrettDong</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1246">actions/checkout#1246</a></li> <li><a href="https://github.com/fhammerl"><code>@​fhammerl</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1284">actions/checkout#1284</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v3.5.0...v3.5.1">https://github.com/actions/checkout/compare/v3.5.0...v3.5.1</a></p> <h2>v3.5.0</h2> <h2>What's Changed</h2> <ul> <li>Add new public key for known_hosts by <a href="https://github.com/cdb"><code>@​cdb</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1237">actions/checkout#1237</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/cdb"><code>@​cdb</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1237">actions/checkout#1237</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v3.4.0...v3.5.0">https://github.com/actions/checkout/compare/v3.4.0...v3.5.0</a></p> <h2>v3.4.0</h2> <h2>What's Changed</h2> <ul> <li>Upgrade codeql actions to v2 by <a href="https://github.com/Link"><code>@​Link</code></a>- in <a href="https://redirect.github.com/actions/checkout/pull/1209">actions/checkout#1209</a></li> <li>Upgrade dependencies by <a href="https://github.com/Link"><code>@​Link</code></a>- in <a href="https://redirect.github.com/actions/checkout/pull/1210">actions/checkout#1210</a></li> <li>Backfill changelog and bump actions/io by <a href="https://github.com/cory-miller"><code>@​cory-miller</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1225">actions/checkout#1225</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Link"><code>@​Link</code></a>- made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1209">actions/checkout#1209</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v3.3.0...v3.4.0">https://github.com/actions/checkout/compare/v3.3.0...v3.4.0</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>v3.5.3</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1196">Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1287">Fix typos found by codespell</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1369">Add support for sparse checkouts</a></li> </ul> <h2>v3.5.2</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1289">Fix api endpoint for GHES</a></li> </ul> <h2>v3.5.1</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1246">Fix slow checkout on Windows</a></li> </ul> <h2>v3.5.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1237">Add new public key for known_hosts</a></li> </ul> <h2>v3.4.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1209">Upgrade codeql actions to v2</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1210">Upgrade dependencies</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1225">Upgrade <code>@​actions/io</code></a></li> </ul> <h2>v3.3.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1045">Implement branch list using callbacks from exec function</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1050">Add in explicit reference to private checkout options</a></li> <li>[Fix comment typos (that got added in <a href="https://redirect.github.com/actions/checkout/issues/770">#770</a>)](<a href="https://redirect.github.com/actions/checkout/pull/1057">actions/checkout#1057</a>)</li> </ul> <h2>v3.2.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/942">Add GitHub Action to perform release</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/967">Fix status badge</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1002">Replace datadog/squid with ubuntu/squid Docker image</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/964">Wrap pipeline commands for submoduleForeach in quotes</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1029">Update <code>@​actions/io</code> to 1.1.2</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1039">Upgrading version to 3.2.0</a></li> </ul> <h2>v3.1.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/939">Use <code>@​actions/core</code> <code>saveState</code> and <code>getState</code></a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/922">Add <code>github-server-url</code> input</a></li> </ul> <h2>v3.0.2</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/770">Add input <code>set-safe-directory</code></a></li> </ul> <h2>v3.0.1</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/762">Fixed an issue where checkout failed to run in container jobs due to the new git setting <code>safe.directory</code></a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/744">Bumped various npm package versions</a></li> </ul> <h2>v3.0.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/689">Update to node 16</a></li> </ul> <h2>v2.3.1</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/checkout/commit/c85c95e3d7251135ab7dc9ce3241c5835cc595a9"><code>c85c95e</code></a> Release v3.5.3 (<a href="https://redirect.github.com/actions/checkout/issues/1376">#1376</a>)</li> <li><a href="https://github.com/actions/checkout/commit/d106d4669b3bfcb17f11f83f98e1cab478e9f635"><code>d106d46</code></a> Add support for sparse checkouts (<a href="https://redirect.github.com/actions/checkout/issues/1369">#1369</a>)</li> <li><a href="https://github.com/actions/checkout/commit/f095bcc56b7c2baf48f3ac70d6d6782f4f553222"><code>f095bcc</code></a> Fix typos found by codespell (<a href="https://redirect.github.com/actions/checkout/issues/1287">#1287</a>)</li> <li><a href="https://github.com/actions/checkout/commit/47fbe2df0ad0e27efb67a70beac3555f192b062f"><code>47fbe2d</code></a> Fix: Checkout fail in self-hosted runners when faulty submodule are checked-i...</li> <li><a href="https://github.com/actions/checkout/commit/8e5e7e5ab8b370d6c329ec480221332ada57f0ab"><code>8e5e7e5</code></a> Release v3.5.2 (<a href="https://redirect.github.com/actions/checkout/issues/1291">#1291</a>)</li> <li><a href="https://github.com/actions/checkout/commit/eb35239ec22e9029a5be28f8c41e67452f615f0f"><code>eb35239</code></a> Fix: convert baseUrl to serverApiUrl 'formatted' (<a href="https://redirect.github.com/actions/checkout/issues/1289">#1289</a>)</li> <li><a href="https://github.com/actions/checkout/commit/83b7061638ee4956cf7545a6f7efe594e5ad0247"><code>83b7061</code></a> Release v3.5.1 (<a href="https://redirect.github.com/actions/checkout/issues/1284">#1284</a>)</li> <li><a href="https://github.com/actions/checkout/commit/40a16ebeed7da831425b665e600750cb36b38d06"><code>40a16eb</code></a> Improve checkout performance on Windows runners by upgrading <code>@​actions/github</code> ...</li> <li><a href="https://github.com/actions/checkout/commit/8f4b7f84864484a7bf31766abe9204da3cbe65b3"><code>8f4b7f8</code></a> Add new public key for known_hosts (<a href="https://redirect.github.com/actions/checkout/issues/1237">#1237</a>)</li> <li><a href="https://github.com/actions/checkout/commit/cd6a9fd49371476d813e892956e2e920fcc3fb7e"><code>cd6a9fd</code></a> Update update-main-version.yml</li> <li>Additional commits viewable in <a href="https://github.com/actions/checkout/compare/v2.7.0...c85c95e3d7251135ab7dc9ce3241c5835cc595a9">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=2.7.0&new-version=3.5.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
{ "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/6501/reactions" }
https://api.github.com/repos/psf/requests/issues/6501/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6501.diff", "html_url": "https://github.com/psf/requests/pull/6501", "merged_at": "2023-08-12T20:15:39Z", "patch_url": "https://github.com/psf/requests/pull/6501.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6501" }
true
[]
https://api.github.com/repos/psf/requests/issues/6500
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6500/labels{/name}
https://api.github.com/repos/psf/requests/issues/6500/comments
https://api.github.com/repos/psf/requests/issues/6500/events
https://github.com/psf/requests/pull/6500
1,848,185,187
PR_kwDOABTKOs5XzJlm
6,500
Bump actions/setup-python from 2.3.4 to 4.7.0
{ "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/apps/dependabot", "id": 49699333, "login": "dependabot[bot]", "node_id": "MDM6Qm90NDk2OTkzMzM=", "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", "type": "Bot", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "user_view_type": "public" }
[ { "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file", "id": 1868210094, "name": "dependencies", "node_id": "MDU6TGFiZWwxODY4MjEwMDk0", "url": "https://api.github.com/repos/psf/requests/labels/dependencies" }, { "color": "000000", ...
closed
true
null
[]
null
0
2023-08-12T19:03:23Z
2024-08-12T00:06:09Z
2023-08-12T19:36:48Z
CONTRIBUTOR
resolved
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.3.4 to 4.7.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-python/releases">actions/setup-python's releases</a>.</em></p> <blockquote> <h2>v4.7.0</h2> <p>In scope of this release, the support for reading python version from pyproject.toml was added (<a href="https://redirect.github.com/actions/setup-python/pull/669">actions/setup-python#669</a>).</p> <pre lang="yaml"><code> - name: Setup Python uses: actions/setup-python@v4 with: python-version-file: pyproject.toml </code></pre> <h3>Besides, it includes such changes as:</h3> <ul> <li>Bump tough-cookie and <code>@​azure/ms-rest-js</code> by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/697">actions/setup-python#697</a></li> <li>Bump semver from 7.3.8 to 7.5.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/692">actions/setup-python#692</a></li> <li>Fix typos found by codespell by <a href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/650">actions/setup-python#650</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/dariocurr"><code>@​dariocurr</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-python/pull/669">actions/setup-python#669</a></li> <li><a href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-python/pull/650">actions/setup-python#650</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-python/compare/v4...v4.7.0">https://github.com/actions/setup-python/compare/v4...v4.7.0</a></p> <h2>v4.6.1</h2> <h2>What's Changed</h2> <ul> <li>Fix <code>allow-prereleases</code> sample configuration by <a href="https://github.com/mayeut"><code>@​mayeut</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/615">actions/setup-python#615</a></li> <li>Fix a incorrect link advanced-usage.md by <a href="https://github.com/siyuan0322"><code>@​siyuan0322</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/657">actions/setup-python#657</a></li> <li>Remove implicit dependency by <a href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/668">actions/setup-python#668</a></li> <li>Automatic update of configuration files from 05/23/2023 by <a href="https://github.com/github-actions"><code>@​github-actions</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/671">actions/setup-python#671</a></li> <li>Add warning for python 2.7 on release/v4 by <a href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/673">actions/setup-python#673</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/siyuan0322"><code>@​siyuan0322</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-python/pull/657">actions/setup-python#657</a></li> <li><a href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-python/pull/668">actions/setup-python#668</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-python/compare/v4...v4.6.1">https://github.com/actions/setup-python/compare/v4...v4.6.1</a></p> <h2>Add allow-prereleases input</h2> <p>In scope of this release we added a new input (<code>allow-prereleases</code>) to allow <a href="https://redirect.github.com/actions/setup-python/pull/414">falling back to pre-release versions of Python when a matching GA version of Python is not available</a></p> <pre lang="yaml"><code>steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: 3.12 allow-prereleases: true </code></pre> <p>Besides, we added such changes as:</p> <ul> <li>Fix bug to trim new line for PyPy version: <a href="https://redirect.github.com/actions/setup-python/pull/610">actions/setup-python#610</a></li> <li>Added pip dependency file to generate hash from it: <a href="https://redirect.github.com/actions/setup-python/pull/604">actions/setup-python#604</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-python/commit/61a6322f88396a6271a6ee3565807d608ecaddd1"><code>61a6322</code></a> Fix typos found by codespell (<a href="https://redirect.github.com/actions/setup-python/issues/650">#650</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/ea5b57fccc93aea0d77e6225efa19adaec3fce0d"><code>ea5b57f</code></a> Bump semver from 7.3.8 to 7.5.2 (<a href="https://redirect.github.com/actions/setup-python/issues/692">#692</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/014d32a83013b439dd2a147051d855831576a3ef"><code>014d32a</code></a> Bump tough-cookie and <code>@​azure/ms-rest-js</code> (<a href="https://redirect.github.com/actions/setup-python/issues/697">#697</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/c16c4b8d1828103eda022b2cade091238fe08311"><code>c16c4b8</code></a> Fix pipenv jobs (<a href="https://redirect.github.com/actions/setup-python/issues/699">#699</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/0d5da6a89a3aa5b4dbd48e38b0c9d678b0caa0e5"><code>0d5da6a</code></a> Read python version from pyproject.toml (fix <a href="https://redirect.github.com/actions/setup-python/issues/542">#542</a>) (<a href="https://redirect.github.com/actions/setup-python/issues/669">#669</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/3f824b7ca6388f5e27e362d31352e6456c8e3bfb"><code>3f824b7</code></a> remove python 2.7 from the tests (<a href="https://redirect.github.com/actions/setup-python/issues/687">#687</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/bd6b4b6205c4dbad673328db7b31b7fab9e241c0"><code>bd6b4b6</code></a> Add warning for python 2.7 (<a href="https://redirect.github.com/actions/setup-python/issues/673">#673</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/0cbcb9a3d7c0b228a2c4fbde82b6e8855233cd92"><code>0cbcb9a</code></a> Merge pull request <a href="https://redirect.github.com/actions/setup-python/issues/668">#668</a> from akv-platform/disallow-implicit-dependencies</li> <li><a href="https://github.com/actions/setup-python/commit/669664dac1a46a4bb872089e1a90e4ad5dc232a6"><code>669664d</code></a> Merge branch 'tool-config-auto-update' into disallow-implicit-dependencies</li> <li><a href="https://github.com/actions/setup-python/commit/9cbf792a3cbbd9c37749da21d3b171b927451bb0"><code>9cbf792</code></a> Update configuration files</li> <li>Additional commits viewable in <a href="https://github.com/actions/setup-python/compare/v2.3.4...61a6322f88396a6271a6ee3565807d608ecaddd1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-python&package-manager=github_actions&previous-version=2.3.4&new-version=4.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
{ "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/6500/reactions" }
https://api.github.com/repos/psf/requests/issues/6500/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6500.diff", "html_url": "https://github.com/psf/requests/pull/6500", "merged_at": "2023-08-12T19:36:48Z", "patch_url": "https://github.com/psf/requests/pull/6500.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6500" }
true
[]
https://api.github.com/repos/psf/requests/issues/6499
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6499/labels{/name}
https://api.github.com/repos/psf/requests/issues/6499/comments
https://api.github.com/repos/psf/requests/issues/6499/events
https://github.com/psf/requests/pull/6499
1,848,185,089
PR_kwDOABTKOs5XzJkI
6,499
Bump dessant/lock-threads from 3.0.0 to 4.0.1
{ "avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4", "events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}", "followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers", "following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}", "gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/apps/dependabot", "id": 49699333, "login": "dependabot[bot]", "node_id": "MDM6Qm90NDk2OTkzMzM=", "organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs", "received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events", "repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions", "type": "Bot", "url": "https://api.github.com/users/dependabot%5Bbot%5D", "user_view_type": "public" }
[ { "color": "0366d6", "default": false, "description": "Pull requests that update a dependency file", "id": 1868210094, "name": "dependencies", "node_id": "MDU6TGFiZWwxODY4MjEwMDk0", "url": "https://api.github.com/repos/psf/requests/labels/dependencies" }, { "color": "000000", ...
closed
true
null
[]
null
0
2023-08-12T19:03:18Z
2024-08-12T00:06:10Z
2023-08-12T19:24:59Z
CONTRIBUTOR
resolved
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 3.0.0 to 4.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dessant/lock-threads/releases">dessant/lock-threads's releases</a>.</em></p> <blockquote> <h2>v4.0.1</h2> <p>Learn more about this release from the <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md#changelog">changelog</a>.</p> <h2>v4.0.0</h2> <p>Learn more about this release from the <a href="https://github.com/dessant/lock-threads/blob/master/CHANGELOG.md#changelog">changelog</a>.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md">dessant/lock-threads's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p>All notable changes to this project will be documented in this file. See <a href="https://github.com/conventional-changelog/standard-version">standard-version</a> for commit guidelines.</p> <h3><a href="https://github.com/dessant/lock-threads/compare/v4.0.0...v4.0.1">4.0.1</a> (2023-06-12)</h3> <h3>Bug Fixes</h3> <ul> <li>retry and throttle GitHub API requests (<a href="https://github.com/dessant/lock-threads/commit/1618e91da69b9fe614fb9837ac673ea4600eb529">1618e91</a>), closes <a href="https://redirect.github.com/dessant/lock-threads/issues/35">#35</a></li> </ul> <h2><a href="https://github.com/dessant/lock-threads/compare/v3.0.0...v4.0.0">4.0.0</a> (2022-12-04)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>the action now requires Node.js 16</li> </ul> <h3>Bug Fixes</h3> <ul> <li>update dependencies (<a href="https://github.com/dessant/lock-threads/commit/38e918558115222435d26c0639870cdbe3572929">38e9185</a>)</li> <li>update docs (<a href="https://github.com/dessant/lock-threads/commit/32986e26965060a85db09e98ef7e5958c961ae84">32986e2</a>)</li> </ul> <h2><a href="https://github.com/dessant/lock-threads/compare/v2.1.2...v3.0.0">3.0.0</a> (2021-09-27)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li> <p>input parameter names have changed</p> <p>Rename the following input parameters when upgrading from v2 to v3:</p> <ul> <li><code>issue-lock-inactive-days</code> --&gt; <code>issue-inactive-days</code></li> <li><code>issue-exclude-created-before</code> --&gt; <code>exclude-issue-created-before</code></li> <li><code>issue-exclude-labels</code> --&gt; <code>exclude-any-issue-labels</code></li> <li><code>issue-lock-labels</code> --&gt; <code>add-issue-labels</code></li> <li><code>issue-lock-comment</code> --&gt; <code>issue-comment</code></li> <li><code>pr-lock-inactive-days</code> --&gt; <code>pr-inactive-days</code></li> <li><code>pr-exclude-created-before</code> --&gt; <code>exclude-pr-created-before</code></li> <li><code>pr-exclude-labels</code> --&gt; <code>exclude-any-pr-labels</code></li> <li><code>pr-lock-labels</code> --&gt; <code>add-pr-labels</code></li> <li><code>pr-lock-comment</code> --&gt; <code>pr-comment</code></li> </ul> </li> </ul> <h3>Features</h3> <ul> <li>add new filtering and labeling options, update input parameter names (<a href="https://github.com/dessant/lock-threads/commit/26fd836f96f46625de24663c4dc2b84c8408fcb1">26fd836</a>)</li> <li>allow manual triggering (<a href="https://github.com/dessant/lock-threads/commit/a0c7da306555d946273957477018fe178130ccf9">a0c7da3</a>)</li> </ul> <h3><a href="https://github.com/dessant/lock-threads/compare/v2.1.1...v2.1.2">2.1.2</a> (2021-08-17)</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dessant/lock-threads/commit/be8aa5be94131386884a6da4189effda9b14aa21"><code>be8aa5b</code></a> chore(release): 4.0.1</li> <li><a href="https://github.com/dessant/lock-threads/commit/52f040d195be10034c64af39fd7b7c72d5c8e89f"><code>52f040d</code></a> chore: update package</li> <li><a href="https://github.com/dessant/lock-threads/commit/1618e91da69b9fe614fb9837ac673ea4600eb529"><code>1618e91</code></a> fix: retry and throttle GitHub API requests</li> <li><a href="https://github.com/dessant/lock-threads/commit/bec0993a564cf47baa81cfa9911f1352d450b578"><code>bec0993</code></a> chore: remove graduated preview header</li> <li><a href="https://github.com/dessant/lock-threads/commit/20ec7bbb282d7ffa5df51baf1da0a195db4ba86f"><code>20ec7bb</code></a> chore: update dependencies</li> <li><a href="https://github.com/dessant/lock-threads/commit/b1f967d833bc79b6c0eb34e72a811b07039418b1"><code>b1f967d</code></a> chore: rename default branch</li> <li><a href="https://github.com/dessant/lock-threads/commit/c1b35aecc5cdb1a34539d14196df55838bb2f836"><code>c1b35ae</code></a> chore(release): 4.0.0</li> <li><a href="https://github.com/dessant/lock-threads/commit/32986e26965060a85db09e98ef7e5958c961ae84"><code>32986e2</code></a> fix: update docs</li> <li><a href="https://github.com/dessant/lock-threads/commit/b677b85bbb81f02cbd6ee8c7d64b627d9a0d98eb"><code>b677b85</code></a> chore: update workflows</li> <li><a href="https://github.com/dessant/lock-threads/commit/dc42875c063d607b02f82ac2f4fd962f620cf459"><code>dc42875</code></a> chore: update package</li> <li>Additional commits viewable in <a href="https://github.com/dessant/lock-threads/compare/e460dfeb36e731f3aeb214be6b0c9a9d9a67eda6...be8aa5be94131386884a6da4189effda9b14aa21">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dessant/lock-threads&package-manager=github_actions&previous-version=3.0.0&new-version=4.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
{ "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/6499/reactions" }
https://api.github.com/repos/psf/requests/issues/6499/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6499.diff", "html_url": "https://github.com/psf/requests/pull/6499", "merged_at": "2023-08-12T19:24:59Z", "patch_url": "https://github.com/psf/requests/pull/6499.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6499" }
true
[]
https://api.github.com/repos/psf/requests/issues/6498
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6498/labels{/name}
https://api.github.com/repos/psf/requests/issues/6498/comments
https://api.github.com/repos/psf/requests/issues/6498/events
https://github.com/psf/requests/pull/6498
1,848,128,972
PR_kwDOABTKOs5Xy9do
6,498
Pre commit update
{ "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
0
2023-08-12T17:09:38Z
2024-08-12T00:06:11Z
2023-08-12T19:03:11Z
MEMBER
resolved
Same vein as #6497, make sure we have pre-commit relatively up to date. The update to black made some minor formatting changes but they're all reasonable.
{ "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/6498/reactions" }
https://api.github.com/repos/psf/requests/issues/6498/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6498.diff", "html_url": "https://github.com/psf/requests/pull/6498", "merged_at": "2023-08-12T19:03:11Z", "patch_url": "https://github.com/psf/requests/pull/6498.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6498" }
true
[]
https://api.github.com/repos/psf/requests/issues/6497
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6497/labels{/name}
https://api.github.com/repos/psf/requests/issues/6497/comments
https://api.github.com/repos/psf/requests/issues/6497/events
https://github.com/psf/requests/pull/6497
1,848,126,325
PR_kwDOABTKOs5Xy84R
6,497
Pin GHA workflows and add dependabot
{ "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
0
2023-08-12T17:05:11Z
2024-08-12T00:06:12Z
2023-08-12T19:02:58Z
MEMBER
resolved
Running tests for #6496 I noticed we have a bunch of warnings for out of date actions. I've moved us to pins and added a dependabot config to run weekly to make sure we stay relatively up to date. I took a note from the urllib3 team and disabled PRs for patch updates to minimize noise.
{ "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/6497/reactions" }
https://api.github.com/repos/psf/requests/issues/6497/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6497.diff", "html_url": "https://github.com/psf/requests/pull/6497", "merged_at": "2023-08-12T19:02:58Z", "patch_url": "https://github.com/psf/requests/pull/6497.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6497" }
true
[]
https://api.github.com/repos/psf/requests/issues/6496
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6496/labels{/name}
https://api.github.com/repos/psf/requests/issues/6496/comments
https://api.github.com/repos/psf/requests/issues/6496/events
https://github.com/psf/requests/pull/6496
1,848,121,031
PR_kwDOABTKOs5Xy7tm
6,496
Upgrade to httpbin 0.10.0
{ "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
4
2023-08-12T16:55:36Z
2024-08-13T00:03:53Z
2023-08-13T16:56:53Z
MEMBER
resolved
This PR will upgrade the Requests test suite to use the recently released httpbin 0.10.0 that now supports the latest major version of Flask. This will let us remove our pins on pallets projects and hopefully allow distro maintainers to no longer need to support these older versions. Thanks @mgorny and @kevin1024 for helping get this unblocked and closing out #6070!
{ "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/6496/reactions" }
https://api.github.com/repos/psf/requests/issues/6496/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6496.diff", "html_url": "https://github.com/psf/requests/pull/6496", "merged_at": "2023-08-13T16:56:53Z", "patch_url": "https://github.com/psf/requests/pull/6496.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6496" }
true
[ "The PyPy 3.8 Windows build seems to be consistently timing out at 10 min because it's trying to build wheels for a handful of dependencies and installation is taking ~8 min of the run. We may need to either bump the time limit or see if there's a way we can get the installation step sped up.\r\n\r\nEdit: It succee...
https://api.github.com/repos/psf/requests/issues/6495
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6495/labels{/name}
https://api.github.com/repos/psf/requests/issues/6495/comments
https://api.github.com/repos/psf/requests/issues/6495/events
https://github.com/psf/requests/issues/6495
1,846,805,116
I_kwDOABTKOs5uFAJ8
6,495
Wrong HTTP verb is used when sending a request
{ "avatar_url": "https://avatars.githubusercontent.com/u/23012425?v=4", "events_url": "https://api.github.com/users/BSpirit/events{/privacy}", "followers_url": "https://api.github.com/users/BSpirit/followers", "following_url": "https://api.github.com/users/BSpirit/following{/other_user}", "gists_url": "https://api.github.com/users/BSpirit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/BSpirit", "id": 23012425, "login": "BSpirit", "node_id": "MDQ6VXNlcjIzMDEyNDI1", "organizations_url": "https://api.github.com/users/BSpirit/orgs", "received_events_url": "https://api.github.com/users/BSpirit/received_events", "repos_url": "https://api.github.com/users/BSpirit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/BSpirit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BSpirit/subscriptions", "type": "User", "url": "https://api.github.com/users/BSpirit", "user_view_type": "public" }
[]
closed
true
null
[]
null
4
2023-08-11T13:12:20Z
2023-08-16T11:37:11Z
2023-08-11T13:20:59Z
NONE
null
<!-- Summary. --> I'm not sure what is causing this, but when I try to send a POST request, the library sends a GET instead. <!-- What you expected. --> I expected requests lib to send a POST. <!-- What happened instead. --> ```python Python 3.10.3 (v3.10.3:a342a49189, Mar 16 2022, 09:34:18) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import requests >>> response = requests.post("https://docs.python.org/") >>> response.status_code 200 >>> response.request.__dict__ {'method': 'GET', 'url': 'https://docs.python.org/3/', 'headers': {'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'}, '_cookies': <RequestsCookieJar[]>, 'body': None, 'hooks': {'response': []}, '_body_position': None} ``` ## System Information $ python -m requests.help ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "3.2.0" }, "cryptography": { "version": "" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.10.3" }, "platform": { "release": "20.3.0", "system": "Darwin" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.31.0" }, "system_ssl": { "version": "101010ef" }, "urllib3": { "version": "2.0.4" }, "using_charset_normalizer": true, "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/6495/reactions" }
https://api.github.com/repos/psf/requests/issues/6495/timeline
null
completed
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.\n\nIn the future, please search **closed and** open iss...
https://api.github.com/repos/psf/requests/issues/6494
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6494/labels{/name}
https://api.github.com/repos/psf/requests/issues/6494/comments
https://api.github.com/repos/psf/requests/issues/6494/events
https://github.com/psf/requests/pull/6494
1,839,699,572
PR_kwDOABTKOs5XWS85
6,494
Update certifi version to address critical CVE
{ "avatar_url": "https://avatars.githubusercontent.com/u/18474218?v=4", "events_url": "https://api.github.com/users/HarryCaveMan/events{/privacy}", "followers_url": "https://api.github.com/users/HarryCaveMan/followers", "following_url": "https://api.github.com/users/HarryCaveMan/following{/other_user}", "gists_url": "https://api.github.com/users/HarryCaveMan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/HarryCaveMan", "id": 18474218, "login": "HarryCaveMan", "node_id": "MDQ6VXNlcjE4NDc0MjE4", "organizations_url": "https://api.github.com/users/HarryCaveMan/orgs", "received_events_url": "https://api.github.com/users/HarryCaveMan/received_events", "repos_url": "https://api.github.com/users/HarryCaveMan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/HarryCaveMan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HarryCaveMan/subscriptions", "type": "User", "url": "https://api.github.com/users/HarryCaveMan", "user_view_type": "public" }
[]
closed
false
null
[]
null
11
2023-08-07T15:19:57Z
2024-06-12T21:53:51Z
2023-08-07T15:34:27Z
NONE
null
Addresses the following: https://nvd.nist.gov/vuln/detail/CVE-2023-37920
{ "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/6494/reactions" }
https://api.github.com/repos/psf/requests/issues/6494/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6494.diff", "html_url": "https://github.com/psf/requests/pull/6494", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6494.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6494" }
true
[ "Hi @HarryCaveMan \n\nThis change isn't required. Requests already supports the latest version of cryptography and users are free to upgrade as needed.\n\nWe don't intend to change the floor at this time, so we'll close this PR out.", "@nateprewitt This change is required to enable automated vulnerability detecti...
https://api.github.com/repos/psf/requests/issues/6493
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6493/labels{/name}
https://api.github.com/repos/psf/requests/issues/6493/comments
https://api.github.com/repos/psf/requests/issues/6493/events
https://github.com/psf/requests/issues/6493
1,838,130,836
I_kwDOABTKOs5tj6aU
6,493
There is something wrong with your request url when sending a link with Chinese in it.
{ "avatar_url": "https://avatars.githubusercontent.com/u/134373923?v=4", "events_url": "https://api.github.com/users/Vector999888/events{/privacy}", "followers_url": "https://api.github.com/users/Vector999888/followers", "following_url": "https://api.github.com/users/Vector999888/following{/other_user}", "gists_url": "https://api.github.com/users/Vector999888/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Vector999888", "id": 134373923, "login": "Vector999888", "node_id": "U_kgDOCAJiIw", "organizations_url": "https://api.github.com/users/Vector999888/orgs", "received_events_url": "https://api.github.com/users/Vector999888/received_events", "repos_url": "https://api.github.com/users/Vector999888/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Vector999888/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Vector999888/subscriptions", "type": "User", "url": "https://api.github.com/users/Vector999888", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-08-06T09:38:21Z
2024-08-08T00:03:52Z
2023-08-06T14:02:58Z
NONE
resolved
When I using this module, I sent a URL with Chinese character in it.This link is "https://bestgirlsexy.com/china/pans%e5%86%99%e7%9c%9f/" , !!BUT!! when I sent "https://bestgirlsexy.com/china/pans%e5%86%99%e7%9c%9f/" to the requests module, it gave me a wrong result. So the pocket's URL sent on the network is not "https://bestgirlsexy.com/china/pans%e5%86%99%e7%9c%9f/", it should be "https://bestgirlsexy.com/china/pans%E5%86%99%E7%9C%9F/" or somethinf else. So how can I solve this problem? Should I build a module with cpp and use python to use it?
{ "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/6493/reactions" }
https://api.github.com/repos/psf/requests/issues/6493/timeline
null
not_planned
null
null
false
[ "Visually I see nothing different in the URLs and you've not shown what you expected versus what you're actually seeing. There's not enough information here to help you.\n\nI suggest you ask for more help on Stack overflow since there is no bug here based on what you've shown. ", "> \r\n\r\nYou should notice that...
https://api.github.com/repos/psf/requests/issues/6492
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6492/labels{/name}
https://api.github.com/repos/psf/requests/issues/6492/comments
https://api.github.com/repos/psf/requests/issues/6492/events
https://github.com/psf/requests/pull/6492
1,837,131,219
PR_kwDOABTKOs5XN9FN
6,492
Add Cloudflare-specific HTTP status codes
{ "avatar_url": "https://avatars.githubusercontent.com/u/31624047?v=4", "events_url": "https://api.github.com/users/mahdirahimi1999/events{/privacy}", "followers_url": "https://api.github.com/users/mahdirahimi1999/followers", "following_url": "https://api.github.com/users/mahdirahimi1999/following{/other_user}", "gists_url": "https://api.github.com/users/mahdirahimi1999/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mahdirahimi1999", "id": 31624047, "login": "mahdirahimi1999", "node_id": "MDQ6VXNlcjMxNjI0MDQ3", "organizations_url": "https://api.github.com/users/mahdirahimi1999/orgs", "received_events_url": "https://api.github.com/users/mahdirahimi1999/received_events", "repos_url": "https://api.github.com/users/mahdirahimi1999/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mahdirahimi1999/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mahdirahimi1999/subscriptions", "type": "User", "url": "https://api.github.com/users/mahdirahimi1999", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-08-04T17:46:57Z
2024-08-04T00:04:07Z
2023-08-04T18:13:03Z
NONE
resolved
### Add Cloudflare-specific HTTP status codes This pull request adds the Cloudflare-specific HTTP status codes to the project. Cloudflare uses these status codes to represent various error scenarios that are specific to their services. The new codes range from 520 to 533. ### Changes Made - Added constants for Cloudflare-specific HTTP status codes to the existing `_codes` dictionary. ### New Status Codes - 520: UNKNOWN ERROR - 521: WEB SERVER IS DOWN - 522: CONNECTION TIMED OUT - 523: ORIGIN IS UNREACHABLE - 524: A TIMEOUT OCCURRED - 525: SSL HANDSHAKE FAILED - 526: INVALID SSL CERTIFICATE - 527: RAILGUN ERROR - 530: ORIGIN DNS ERROR - 531: ORIGIN CONNECTION TIMEOUT - 532: ORIGIN READ TIMEOUT - 533: ORIGIN UNCERTAIN ERROR These additions expand our support for a wider range of recognized HTTP status codes, especially relevant for integrating with Cloudflare services. Please review and merge this pull request if the changes are deemed appropriate for the project.
{ "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/6492/reactions" }
https://api.github.com/repos/psf/requests/issues/6492/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6492.diff", "html_url": "https://github.com/psf/requests/pull/6492", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6492.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6492" }
true
[ "Hi @mahdirahimi1999, the status_codes module is largely considered deprecated and we don't intend to add any more codes to it that aren't explicitly defined in an HTTP RFC.\n\nThis would be a good opportunity if someone wants to start and maintain a separate package with these as reference if needed. That will all...
https://api.github.com/repos/psf/requests/issues/6491
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6491/labels{/name}
https://api.github.com/repos/psf/requests/issues/6491/comments
https://api.github.com/repos/psf/requests/issues/6491/events
https://github.com/psf/requests/issues/6491
1,833,945,039
I_kwDOABTKOs5tT8fP
6,491
Accept certs in memory
{ "avatar_url": "https://avatars.githubusercontent.com/u/134871?v=4", "events_url": "https://api.github.com/users/xfgavin/events{/privacy}", "followers_url": "https://api.github.com/users/xfgavin/followers", "following_url": "https://api.github.com/users/xfgavin/following{/other_user}", "gists_url": "https://api.github.com/users/xfgavin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xfgavin", "id": 134871, "login": "xfgavin", "node_id": "MDQ6VXNlcjEzNDg3MQ==", "organizations_url": "https://api.github.com/users/xfgavin/orgs", "received_events_url": "https://api.github.com/users/xfgavin/received_events", "repos_url": "https://api.github.com/users/xfgavin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xfgavin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xfgavin/subscriptions", "type": "User", "url": "https://api.github.com/users/xfgavin", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-08-02T21:43:50Z
2024-08-03T00:03:41Z
2023-08-03T09:21:59Z
NONE
resolved
Is it possible for requests to accept client certificate in memory? This is very helpful when running in cloud environment such as Azure. Thank you.
{ "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/6491/reactions" }
https://api.github.com/repos/psf/requests/issues/6491/timeline
null
not_planned
null
null
false
[ "In the future, please search **closed and** open issues before creating new ones that are duplicates." ]
https://api.github.com/repos/psf/requests/issues/6490
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6490/labels{/name}
https://api.github.com/repos/psf/requests/issues/6490/comments
https://api.github.com/repos/psf/requests/issues/6490/events
https://github.com/psf/requests/issues/6490
1,832,359,338
I_kwDOABTKOs5tN5Wq
6,490
sslv3 alert bad record mac
{ "avatar_url": "https://avatars.githubusercontent.com/u/43127301?v=4", "events_url": "https://api.github.com/users/rationa1/events{/privacy}", "followers_url": "https://api.github.com/users/rationa1/followers", "following_url": "https://api.github.com/users/rationa1/following{/other_user}", "gists_url": "https://api.github.com/users/rationa1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rationa1", "id": 43127301, "login": "rationa1", "node_id": "MDQ6VXNlcjQzMTI3MzAx", "organizations_url": "https://api.github.com/users/rationa1/orgs", "received_events_url": "https://api.github.com/users/rationa1/received_events", "repos_url": "https://api.github.com/users/rationa1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rationa1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rationa1/subscriptions", "type": "User", "url": "https://api.github.com/users/rationa1", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-08-02T03:23:54Z
2024-08-02T00:03:32Z
2023-08-02T16:07:24Z
NONE
resolved
python 3.8 When I visit the https website with its own certificate Some websites cannot be accessed when I modify the code as follows is works I think there is a problem with ssl adaptation. Please help me ``` import requests from requests.adapters import HTTPAdapter from urllib3.poolmanager import PoolManager import ssl class TLSAdapter(HTTPAdapter): def init_poolmanager(self, connections, maxsize, block=False): self.poolmanager = PoolManager( num_pools=connections, maxsize=maxsize, block=block, ssl_version=ssl.PROTOCOL_TLSv1_1 ) session = requests.Session() session.mount("https://", TLSAdapter()) response = session.get("[https://49.249.126.138",](https://49.249.126.138%22%2C/) verify=False, timeout=5) print(response) ``` ## Expected Result <Response [200]> ## Actual Result Traceback (most recent call last): File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/urllib3/connectionpool.py", line 714, in urlopen httplib_response = self._make_request( File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/urllib3/connectionpool.py", line 403, in _make_request self._validate_conn(conn) File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn conn.connect() File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/urllib3/connection.py", line 419, in connect self.sock = ssl_wrap_socket( File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/urllib3/util/ssl_.py", line 453, in ssl_wrap_socket ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls) File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/urllib3/util/ssl_.py", line 495, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock) File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/ssl.py", line 1040, in _create self.do_handshake() File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/ssl.py", line 1309, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: SSLV3_ALERT_BAD_RECORD_MAC] sslv3 alert bad record mac (_ssl.c:1131) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/requests/adapters.py", line 486, in send resp = conn.urlopen( File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/urllib3/connectionpool.py", line 798, in urlopen retries = retries.increment( File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='66.211.97.51', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_BAD_RECORD_MAC] sslv3 alert bad record mac (_ssl.c:1131)'))) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/liang/Desktop/workspace/myproject/test_project/test025.py", line 130, in <module> resp = requests.get("[https://66.211.97.51",](https://66.211.97.51%22%2C/) verify=False) File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/Users/liang/opt/miniconda3/envs/py38/lib/python3.8/site-packages/requests/adapters.py", line 517, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='66.211.97.51', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_BAD_RECORD_MAC] sslv3 alert bad record mac (_ssl.c:1131)'))) ## Reproduction Steps ```python import requests resp = requests.get("[https://66.211.97.51",verify=False)](https://66.211.97.51%22%2Cverify%3Dfalse%29/) ``` ## System Information $ python -m requests.help ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "2.0.4" }, "cryptography": { "version": "" }, "idna": { "version": "3.2" }, "implementation": { "name": "CPython", "version": "3.8.10" }, "platform": { "release": "19.6.0", "system": "Darwin" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.31.0" }, "system_ssl": { "version": "101010bf" }, "urllib3": { "version": "1.26.16" }, "using_charset_normalizer": true, "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/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/6490/reactions" }
https://api.github.com/repos/psf/requests/issues/6490/timeline
null
completed
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.\r\n\r\nFor example, here's something with practical adv...
https://api.github.com/repos/psf/requests/issues/6489
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6489/labels{/name}
https://api.github.com/repos/psf/requests/issues/6489/comments
https://api.github.com/repos/psf/requests/issues/6489/events
https://github.com/psf/requests/issues/6489
1,826,426,893
I_kwDOABTKOs5s3RAN
6,489
NewConnectionError
{ "avatar_url": "https://avatars.githubusercontent.com/u/29191631?v=4", "events_url": "https://api.github.com/users/mustansirgodhrawala/events{/privacy}", "followers_url": "https://api.github.com/users/mustansirgodhrawala/followers", "following_url": "https://api.github.com/users/mustansirgodhrawala/following{/other_user}", "gists_url": "https://api.github.com/users/mustansirgodhrawala/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mustansirgodhrawala", "id": 29191631, "login": "mustansirgodhrawala", "node_id": "MDQ6VXNlcjI5MTkxNjMx", "organizations_url": "https://api.github.com/users/mustansirgodhrawala/orgs", "received_events_url": "https://api.github.com/users/mustansirgodhrawala/received_events", "repos_url": "https://api.github.com/users/mustansirgodhrawala/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mustansirgodhrawala/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mustansirgodhrawala/subscriptions", "type": "User", "url": "https://api.github.com/users/mustansirgodhrawala", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-07-28T13:24:35Z
2024-07-28T00:04:01Z
2023-07-28T13:33:52Z
NONE
resolved
When I pass in a request url for a url that does not respond I get a ```python3 request = requests.get( "url" proxies=proxies, ) ``` ``` Error: SOCKSHTTPSConnectionPool(host='atxdyqbqutne3q0hoidwnjkxzxzyogtw0boudm7ztiwrdxrucedrsolw.onion', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSHTTPSConnection object at 0xffff8fbf9690>: Failed to establish a new connection: 0x01: General SOCKS server failure')) ``` But when I also kill my proxies I get the same error. This should not be, how can I catch the different errors and understand what I'm dealing with? Is this behaviour expected? If so, why?
{ "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/6489/reactions" }
https://api.github.com/repos/psf/requests/issues/6489/timeline
null
not_planned
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.", "Hi, I'm not very well versed with the requests mod...
https://api.github.com/repos/psf/requests/issues/6488
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6488/labels{/name}
https://api.github.com/repos/psf/requests/issues/6488/comments
https://api.github.com/repos/psf/requests/issues/6488/events
https://github.com/psf/requests/issues/6488
1,823,531,766
I_kwDOABTKOs5ssOL2
6,488
proxies set in the session will not affect `session.get`
{ "avatar_url": "https://avatars.githubusercontent.com/u/26429138?v=4", "events_url": "https://api.github.com/users/wqh17101/events{/privacy}", "followers_url": "https://api.github.com/users/wqh17101/followers", "following_url": "https://api.github.com/users/wqh17101/following{/other_user}", "gists_url": "https://api.github.com/users/wqh17101/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wqh17101", "id": 26429138, "login": "wqh17101", "node_id": "MDQ6VXNlcjI2NDI5MTM4", "organizations_url": "https://api.github.com/users/wqh17101/orgs", "received_events_url": "https://api.github.com/users/wqh17101/received_events", "repos_url": "https://api.github.com/users/wqh17101/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wqh17101/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wqh17101/subscriptions", "type": "User", "url": "https://api.github.com/users/wqh17101", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-07-27T03:07:38Z
2024-07-28T00:04:02Z
2023-07-27T10:43:45Z
NONE
resolved
<!-- Summary. --> ## Expected Result proxies and verify and so on will affect the session.get / session.post ## Actual Result it does not affect. ## Reproduction Steps ### 1 ```python import requests def get_session(proxy): session = requests.Session() return session get_session().get(xxxxxx) ``` this will get a 407 error. ### 2 ```python import requests proxy={"http_proxy":"xxxxx","https_proxy":"xxxxx"} def get_session(proxy): session = requests.Session() session.proxies = proxy session.verify = False return session get_session().get(xxxxxx) ``` this will get a 407 error. ### 3 ```python import requests proxy={"http_proxy":"xxxxx","https_proxy":"xxxxx"} def get_session(proxy): session = requests.Session() session.proxies = proxy session.verify = False return session get_session().get(xxxxxx,proxies=proxy,verify=False) ``` It works well. ## System Information $ python -m requests.help ```json { "chardet": { "version": "4.0.0" }, "charset_normalizer": { "version": "2.0.4" }, "cryptography": { "version": "39.0.1" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.10.9" }, "platform": { "release": "10", "system": "Windows" }, "pyOpenSSL": { "openssl_version": "1010114f", "version": "23.0.0" }, "requests": { "version": "2.31.0" }, "system_ssl": { "version": "1010114f" }, "urllib3": { "version": "1.26.14" }, "using_charset_normalizer": false, "using_pyopenssl": true } ``` <!-- 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/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/6488/reactions" }
https://api.github.com/repos/psf/requests/issues/6488/timeline
null
not_planned
null
null
false
[ "In the future, please search **closed and** open issues before creating new ones that are duplicates." ]
https://api.github.com/repos/psf/requests/issues/6487
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6487/labels{/name}
https://api.github.com/repos/psf/requests/issues/6487/comments
https://api.github.com/repos/psf/requests/issues/6487/events
https://github.com/psf/requests/issues/6487
1,822,301,418
I_kwDOABTKOs5snhzq
6,487
PayLoad trucated when using french special characters like é, è, à
{ "avatar_url": "https://avatars.githubusercontent.com/u/140614510?v=4", "events_url": "https://api.github.com/users/stephanerenoult/events{/privacy}", "followers_url": "https://api.github.com/users/stephanerenoult/followers", "following_url": "https://api.github.com/users/stephanerenoult/following{/other_user}", "gists_url": "https://api.github.com/users/stephanerenoult/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stephanerenoult", "id": 140614510, "login": "stephanerenoult", "node_id": "U_kgDOCGGbbg", "organizations_url": "https://api.github.com/users/stephanerenoult/orgs", "received_events_url": "https://api.github.com/users/stephanerenoult/received_events", "repos_url": "https://api.github.com/users/stephanerenoult/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stephanerenoult/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stephanerenoult/subscriptions", "type": "User", "url": "https://api.github.com/users/stephanerenoult", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2023-07-26T12:22:21Z
2024-07-29T00:04:13Z
2023-07-29T13:36:12Z
NONE
resolved
Hi, I m using requests-2.31.0 Here is 3 examples of my Python variable used to send a payload : Below with no special character : Python variable = **{"updateGroups":true,"groups":[],"user":{"displayName":"TONI eric","email":"xxxxxx@xxxxxxx.com","name":"anto1","password":"anto1","accountRoleIds":[1677,1680,1683]}}** Below with 2 special characters : Python variable = **{"updateGroups":true,"groups":[],"user":{"displayName":"TONé éric","email":"xxxxxx@xxxxxxx.com","name":"anto3","password":"anto3","accountRoleIds":[1677,1680,1683]}}** Below with 3 special characters : Python variable = **{"updateGroups":true,"groups":[],"user":{"displayName":"èTONé éric","email":"xxxxxx@xxxxxxx.com","name":"anto3","password":"anto3","accountRoleIds":[1677,1680,1683]}}** The 3 variables are well formatted than i expect with good informations. But here is the content sent by the module requests-2.31.0 WHEN THE PAYLOAD CONTAINS special french characters (Fiddler RAW) ## Actual Result {"updateGroups":true,"groups":[],"user":{"displayName":"ANTONéN Ayméric","email":"xxxxxx@xxxxxxx.com","name":"anto3","password":"anto3","accountRoleIds":[1677,1680,1683] {"updateGroups":true,"groups":[],"user":{"displayName":"ANèTONéN Ayméric","email":"xxxxxx@xxxxxxx.com","name":"anto3","password":"anto3","accountRoleIds":[1677,1680,1683 ## Expected Result {"updateGroups":true,"groups":[],"user":{"displayName":"ANTONéN Ayméric","email":"xxxxxx@xxxxxxx.com","name":"anto3","password":"anto3","accountRoleIds":[1677,1680,1683]}} {"updateGroups":true,"groups":[],"user":{"displayName":"ANèTONéN Ayméric","email":"xxxxxx@xxxxxxx.com","name":"anto3","password":"anto3","accountRoleIds":[1677,1680,1683]}} Regarding the count of special characters, the payload is truncated of this count of characters. Regards
{ "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/6487/reactions" }
https://api.github.com/repos/psf/requests/issues/6487/timeline
null
not_planned
null
null
false
[ "You haven't described how you're sending the payload with requests, the version of python, environment, or anything else that would help diagnose this.", "Hi,\r\nsorry for send you few informations.\r\n\r\nI precise that when there is NO special characters, the request and the payloas are OK (http200)\r\n\r\nI m...
https://api.github.com/repos/psf/requests/issues/6486
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6486/labels{/name}
https://api.github.com/repos/psf/requests/issues/6486/comments
https://api.github.com/repos/psf/requests/issues/6486/events
https://github.com/psf/requests/issues/6486
1,819,687,225
I_kwDOABTKOs5sdjk5
6,486
Add ability to pass a list/tuple of paths for generating CA bundle
{ "avatar_url": "https://avatars.githubusercontent.com/u/631797?v=4", "events_url": "https://api.github.com/users/shadyabhi/events{/privacy}", "followers_url": "https://api.github.com/users/shadyabhi/followers", "following_url": "https://api.github.com/users/shadyabhi/following{/other_user}", "gists_url": "https://api.github.com/users/shadyabhi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shadyabhi", "id": 631797, "login": "shadyabhi", "node_id": "MDQ6VXNlcjYzMTc5Nw==", "organizations_url": "https://api.github.com/users/shadyabhi/orgs", "received_events_url": "https://api.github.com/users/shadyabhi/received_events", "repos_url": "https://api.github.com/users/shadyabhi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shadyabhi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shadyabhi/subscriptions", "type": "User", "url": "https://api.github.com/users/shadyabhi", "user_view_type": "public" }
[]
closed
true
null
[]
null
6
2023-07-25T07:02:56Z
2024-07-30T00:03:41Z
2023-07-30T02:39:05Z
NONE
resolved
### Context:- Today, when we specify the custom CA bundle via the below approach, there is no way to define a "collection of bundles" to load. I've a requirement of collection of bundles because I would like to create a client that is capable of handling HTTPS requests to multiple environments, think accessing a public/internal_custom_ca endpoint from the same object, example, a session object. ``` import requests requests.get("https://www.google.com", verify="/path/to/bundle") ``` Exploring the [code](https://sourcegraph.com/github.com/psf/requests/-/blob/requests/adapters.py?L269), based on what `verify` is set by user, we set the attributes of class `urllib3.connectionpool.HTTPSConnectionPool` in `adapter code`. As `urllib3` is used under-the-hood, we can make a case to add support for sending the `urllib3.connection.HTTPSConnection's` `ca_cert_data` parameter too. This can be passed when creating the [`PoolManager`](https://urllib3.readthedocs.io/en/stable/reference/urllib3.poolmanager.html#urllib3.PoolManager) in our codebase. ### End goal I would prefer to have this support in requests library where every usage of `verify` also accepts a `list/tuple`. If that happens, [`cert_verify`](https://github.com/psf/requests/blob/cdbc2e271529f467b278b2760f12ee0b5d6930d3/requests/adapters.py#L237) should correctly configure the `urllib3.connectionpool.HTTPSConnectionPool` object to read ca_bundle_data `from all files`. ``` import requests requests.get("https://www.google.com", verify=["/path/to/bundle1", "/path/to/bundle2"]) ``` I didn't fully explore the codebase to understand what would be the right way to implement this, but I was wondering what the community thinks about this feature? If it's acceptable, it'll be great if someone can give suggestions on the next steps and I can attempt to make it happen.
{ "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/6486/reactions" }
https://api.github.com/repos/psf/requests/issues/6486/timeline
null
completed
null
null
false
[ "This library is (and has been under for years) a feature freeze. More than anything we're not accepting changes to the top level API like this. I agree that I can see the value but there are also many ways to solve this today. ", "@sigmavirus24 Thank you for the response. I wasn't aware that it's under feature f...
https://api.github.com/repos/psf/requests/issues/6485
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6485/labels{/name}
https://api.github.com/repos/psf/requests/issues/6485/comments
https://api.github.com/repos/psf/requests/issues/6485/events
https://github.com/psf/requests/issues/6485
1,815,194,237
I_kwDOABTKOs5sMap9
6,485
Incomplete URL
{ "avatar_url": "https://avatars.githubusercontent.com/u/52458236?v=4", "events_url": "https://api.github.com/users/stfujnkk/events{/privacy}", "followers_url": "https://api.github.com/users/stfujnkk/followers", "following_url": "https://api.github.com/users/stfujnkk/following{/other_user}", "gists_url": "https://api.github.com/users/stfujnkk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stfujnkk", "id": 52458236, "login": "stfujnkk", "node_id": "MDQ6VXNlcjUyNDU4MjM2", "organizations_url": "https://api.github.com/users/stfujnkk/orgs", "received_events_url": "https://api.github.com/users/stfujnkk/received_events", "repos_url": "https://api.github.com/users/stfujnkk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stfujnkk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stfujnkk/subscriptions", "type": "User", "url": "https://api.github.com/users/stfujnkk", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-07-21T05:50:14Z
2024-07-21T00:04:17Z
2023-07-21T09:34:30Z
NONE
resolved
## Reproduction Steps ```python import requests httpbin_host='https://httpbin.org' # httpbin_host='https://httpbin.org/' s = requests.Session() r=s.get(url=f'{httpbin_host}/cookies/set/sessioncookie/123456789') print(r.url) print(r.request.url) ``` Executing the above code will get the following incorrect result. ```txt https://httpbin.org/cookies https://httpbin.org/cookies ``` <!-- If set `httpbin_host` to `https://httpbin.org/`, normal results can be obtained. ```txt https://httpbin.org//cookies/set/sessioncookie/123456789 https://httpbin.org//cookies/set/sessioncookie/123456789 ``` --> ## System Information $ python -m requests.help ```json { "chardet": { "version": "3.0.4" }, "cryptography": { "version": "3.1.1" }, "idna": { "version": "2.10" }, "implementation": { "name": "CPython", "version": "3.8.5" }, "platform": { "release": "10", "system": "Windows" }, "pyOpenSSL": { "openssl_version": "1010108f", "version": "19.1.0" }, "requests": { "version": "2.24.0" }, "system_ssl": { "version": "1010108f" }, "urllib3": { "version": "1.25.11" }, "using_pyopenssl": true } ```
{ "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/6485/reactions" }
https://api.github.com/repos/psf/requests/issues/6485/timeline
null
not_planned
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here." ]
https://api.github.com/repos/psf/requests/issues/6484
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6484/labels{/name}
https://api.github.com/repos/psf/requests/issues/6484/comments
https://api.github.com/repos/psf/requests/issues/6484/events
https://github.com/psf/requests/issues/6484
1,812,022,922
I_kwDOABTKOs5sAUaK
6,484
requests with multiparts using data and files doesn't have content-type in data part
{ "avatar_url": "https://avatars.githubusercontent.com/u/234039?v=4", "events_url": "https://api.github.com/users/Cratig/events{/privacy}", "followers_url": "https://api.github.com/users/Cratig/followers", "following_url": "https://api.github.com/users/Cratig/following{/other_user}", "gists_url": "https://api.github.com/users/Cratig/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Cratig", "id": 234039, "login": "Cratig", "node_id": "MDQ6VXNlcjIzNDAzOQ==", "organizations_url": "https://api.github.com/users/Cratig/orgs", "received_events_url": "https://api.github.com/users/Cratig/received_events", "repos_url": "https://api.github.com/users/Cratig/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Cratig/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Cratig/subscriptions", "type": "User", "url": "https://api.github.com/users/Cratig", "user_view_type": "public" }
[]
closed
true
null
[]
null
4
2023-07-19T14:00:39Z
2024-08-22T00:03:55Z
2023-08-20T11:16:46Z
NONE
resolved
When issuing a requests.post request("POST"...) with data and files, the content-type for the data doesn't get set. Environment Windows 11 Python 3.10.7 Trying to debug why a Postman request was working but Python wasn't, I captured the request data (using requestcatcher.com) and below are the two parts of the requests that should be the same: Postman: ----------------------------166390214727573301705303 Content-Disposition: form-data; name="documents_input" Content-Type: application/json {"requests":[{"request_id":"f631ffc..... ----------------------------166390214727573301705303 Content-Disposition: form-data; name="files"; filename="removed.pdf" Content-Type: application/pdf Python: --285101b8d40c60d675e8f54e937ceb3e Content-Disposition: form-data; name="documents_input" {"requests":[{"request_id":"f631ffc.... --285101b8d40c60d675e8f54e937ceb3e Content-Disposition: form-data; name="files"; filename="removed.pdf" Content-Type: application/pdf As you can see, the content type displays correctly in Postman but via Python requests it does on the PDF but not the data=jsonDate The, hacky, work-a-round for this was to shove the json data alongside the files= component: multipart_data = { "documents_input": (None, documentInputPayload, "application/json"), "files": files["files"] } response = requests.post(url, headers = headers, files = multipart_data) This work-a-round works as expected and gives same output as Postman. Apologies if this bug has already been raised or if it's not deemed a bug, although documentation on how to work-a-round this is sparse and it was trial and error. Thanks
{ "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/6484/reactions" }
https://api.github.com/repos/psf/requests/issues/6484/timeline
null
completed
null
null
false
[ "This isn't a bug and what you found works is what is already documented.\n\nYou're asking for a documentation change but haven't explained what you searched for that leads you to believe there is no documentation or that is reproducible for us to determine if this is functionality (documented for something close t...
https://api.github.com/repos/psf/requests/issues/6483
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6483/labels{/name}
https://api.github.com/repos/psf/requests/issues/6483/comments
https://api.github.com/repos/psf/requests/issues/6483/events
https://github.com/psf/requests/issues/6483
1,804,140,375
I_kwDOABTKOs5riP9X
6,483
SSL ERROR on jiotv login in KODI app.
{ "avatar_url": "https://avatars.githubusercontent.com/u/139526462?v=4", "events_url": "https://api.github.com/users/brg1993/events{/privacy}", "followers_url": "https://api.github.com/users/brg1993/followers", "following_url": "https://api.github.com/users/brg1993/following{/other_user}", "gists_url": "https://api.github.com/users/brg1993/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/brg1993", "id": 139526462, "login": "brg1993", "node_id": "U_kgDOCFEBPg", "organizations_url": "https://api.github.com/users/brg1993/orgs", "received_events_url": "https://api.github.com/users/brg1993/received_events", "repos_url": "https://api.github.com/users/brg1993/repos", "site_admin": false, "starred_url": "https://api.github.com/users/brg1993/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/brg1993/subscriptions", "type": "User", "url": "https://api.github.com/users/brg1993", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-07-14T04:24:15Z
2024-07-14T00:04:05Z
2023-07-14T13:26:07Z
NONE
resolved
Below error show during login jio tv I KODI application [HTTPSConnectionPool(host='api.jio.com', port=443): Max retries exceeded with url: /v3/dip/user/otp/send (Caused by SSLError(SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:992)'))) ]
{ "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/6483/reactions" }
https://api.github.com/repos/psf/requests/issues/6483/timeline
null
not_planned
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here." ]
https://api.github.com/repos/psf/requests/issues/6482
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6482/labels{/name}
https://api.github.com/repos/psf/requests/issues/6482/comments
https://api.github.com/repos/psf/requests/issues/6482/events
https://github.com/psf/requests/issues/6482
1,797,983,496
I_kwDOABTKOs5rKw0I
6,482
SSLV3_ALERT_HANDSHAKE_FAILURE Python 3.11 and OpenSSL 3
{ "avatar_url": "https://avatars.githubusercontent.com/u/2775739?v=4", "events_url": "https://api.github.com/users/utkonos/events{/privacy}", "followers_url": "https://api.github.com/users/utkonos/followers", "following_url": "https://api.github.com/users/utkonos/following{/other_user}", "gists_url": "https://api.github.com/users/utkonos/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/utkonos", "id": 2775739, "login": "utkonos", "node_id": "MDQ6VXNlcjI3NzU3Mzk=", "organizations_url": "https://api.github.com/users/utkonos/orgs", "received_events_url": "https://api.github.com/users/utkonos/received_events", "repos_url": "https://api.github.com/users/utkonos/repos", "site_admin": false, "starred_url": "https://api.github.com/users/utkonos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/utkonos/subscriptions", "type": "User", "url": "https://api.github.com/users/utkonos", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-07-11T02:59:45Z
2023-09-27T02:43:20Z
2023-07-15T14:08:09Z
NONE
null
This is an intermittent exception that is raised under certain conditions and not any other time. There is another closed issue similar to this one: https://github.com/psf/requests/issues/4753 But I think this is a new issue. What would be the recommended steps for isolating the source of the problem? The site this request connects to only supports TLS. SSL is not an option. ## Expected Result Connection success and TLS like all other requests. ## Actual Result error: ``` SSL Error: HTTPSConnectionPool(host='example.com', port=443): Max retries exceeded with url: /query/sha256 (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1002)'))) ``` ## Reproduction Steps ```python import requests response = requests.get(url, auth=(username, password)) ``` Just a basic standard request. Nothing special. ## System Information $ python -m requests.help ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "3.2.0" }, "cryptography": { "version": "" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.11.4" }, "platform": { "release": "6.2.0-24-generic", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.31.0" }, "system_ssl": { "version": "30000080" }, "urllib3": { "version": "1.26.16" }, "using_charset_normalizer": true, "using_pyopenssl": false } ```
{ "avatar_url": "https://avatars.githubusercontent.com/u/2775739?v=4", "events_url": "https://api.github.com/users/utkonos/events{/privacy}", "followers_url": "https://api.github.com/users/utkonos/followers", "following_url": "https://api.github.com/users/utkonos/following{/other_user}", "gists_url": "https://api.github.com/users/utkonos/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/utkonos", "id": 2775739, "login": "utkonos", "node_id": "MDQ6VXNlcjI3NzU3Mzk=", "organizations_url": "https://api.github.com/users/utkonos/orgs", "received_events_url": "https://api.github.com/users/utkonos/received_events", "repos_url": "https://api.github.com/users/utkonos/repos", "site_admin": false, "starred_url": "https://api.github.com/users/utkonos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/utkonos/subscriptions", "type": "User", "url": "https://api.github.com/users/utkonos", "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/6482/reactions" }
https://api.github.com/repos/psf/requests/issues/6482/timeline
null
completed
null
null
false
[ "This comes directly from the standard library raising the error on the specified line returned from trying to perform the handshake [here](https://github.com/python/cpython/blob/7dead6a33ac786465c3d927d5c2025caf0c1a71b/Modules/_ssl.c#L964). Literally, OpenSSL cannot complete the handshake.\r\n\r\nWithout knowing a...
https://api.github.com/repos/psf/requests/issues/6481
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6481/labels{/name}
https://api.github.com/repos/psf/requests/issues/6481/comments
https://api.github.com/repos/psf/requests/issues/6481/events
https://github.com/psf/requests/issues/6481
1,795,230,995
I_kwDOABTKOs5rAQ0T
6,481
session post set allow_redirects=False failed
{ "avatar_url": "https://avatars.githubusercontent.com/u/18684456?v=4", "events_url": "https://api.github.com/users/sixiaobing/events{/privacy}", "followers_url": "https://api.github.com/users/sixiaobing/followers", "following_url": "https://api.github.com/users/sixiaobing/following{/other_user}", "gists_url": "https://api.github.com/users/sixiaobing/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sixiaobing", "id": 18684456, "login": "sixiaobing", "node_id": "MDQ6VXNlcjE4Njg0NDU2", "organizations_url": "https://api.github.com/users/sixiaobing/orgs", "received_events_url": "https://api.github.com/users/sixiaobing/received_events", "repos_url": "https://api.github.com/users/sixiaobing/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sixiaobing/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sixiaobing/subscriptions", "type": "User", "url": "https://api.github.com/users/sixiaobing", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-07-09T04:35:33Z
2024-07-09T00:03:39Z
2023-07-09T12:05:27Z
NONE
resolved
I want to get redirected location,But although I set : s = requests.Session() response = s.post(url,data=datas,headers=headers,allow_redirects=False) response.status_code is 200, not 302,why???
{ "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/6481/reactions" }
https://api.github.com/repos/psf/requests/issues/6481/timeline
null
not_planned
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here." ]
https://api.github.com/repos/psf/requests/issues/6480
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6480/labels{/name}
https://api.github.com/repos/psf/requests/issues/6480/comments
https://api.github.com/repos/psf/requests/issues/6480/events
https://github.com/psf/requests/issues/6480
1,794,827,092
I_kwDOABTKOs5q-uNU
6,480
URLQUICK needs adapters.py HTTPResponse
{ "avatar_url": "https://avatars.githubusercontent.com/u/13057733?v=4", "events_url": "https://api.github.com/users/joaopa00/events{/privacy}", "followers_url": "https://api.github.com/users/joaopa00/followers", "following_url": "https://api.github.com/users/joaopa00/following{/other_user}", "gists_url": "https://api.github.com/users/joaopa00/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joaopa00", "id": 13057733, "login": "joaopa00", "node_id": "MDQ6VXNlcjEzMDU3NzMz", "organizations_url": "https://api.github.com/users/joaopa00/orgs", "received_events_url": "https://api.github.com/users/joaopa00/received_events", "repos_url": "https://api.github.com/users/joaopa00/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joaopa00/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joaopa00/subscriptions", "type": "User", "url": "https://api.github.com/users/joaopa00", "user_view_type": "public" }
[]
closed
true
null
[]
null
5
2023-07-08T07:38:53Z
2024-07-08T00:03:59Z
2023-07-08T13:18:32Z
NONE
resolved
<!-- Summary. --> ## Expected Result URLQUICK does not fail importing from requests.adapters import HTTPResponse ## Actual Result fails badly: File "/home/khalistoo/.var/app/tv.kodi.Kodi/data/addons/plugin.video.catchuptvandmore/resources/lib/main.py", line 13, in import urlquick File "/home/khalistoo/.var/app/tv.kodi.Kodi/data/addons/script.module.codequick/lib/urlquick.py", line 63, in from requests.adapters import HTTPResponse ImportError: cannot import name 'HTTPResponse' from 'requests.adapters' (/home/khalistoo/.var/app/tv.kodi.Kodi/data/addons/script.module.requests/lib/requests/adapters.py) ## Reproduction Steps Install catchuptvandmore in github. Upadte to the latest request package ## System Information Android, Kodi Nexus 20.1 ``` <!-- 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/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/6480/reactions" }
https://api.github.com/repos/psf/requests/issues/6480/timeline
null
not_planned
null
null
false
[ "I've just submited PRs to:\r\n- urlquick module: https://github.com/willforde/urlquick/pull/118\r\n- codequick kodi addon (embeds `codequick.py`): https://github.com/willforde/script.module.codequick/pull/53", "Thanks for these PR. Unfortunately, I'm pretty scared these addons are not maintained no longer. ", ...
https://api.github.com/repos/psf/requests/issues/6479
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6479/labels{/name}
https://api.github.com/repos/psf/requests/issues/6479/comments
https://api.github.com/repos/psf/requests/issues/6479/events
https://github.com/psf/requests/pull/6479
1,793,795,179
PR_kwDOABTKOs5U7jmu
6,479
Add Libproxy support
{ "avatar_url": "https://avatars.githubusercontent.com/u/16989983?v=4", "events_url": "https://api.github.com/users/janbrummer/events{/privacy}", "followers_url": "https://api.github.com/users/janbrummer/followers", "following_url": "https://api.github.com/users/janbrummer/following{/other_user}", "gists_url": "https://api.github.com/users/janbrummer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/janbrummer", "id": 16989983, "login": "janbrummer", "node_id": "MDQ6VXNlcjE2OTg5OTgz", "organizations_url": "https://api.github.com/users/janbrummer/orgs", "received_events_url": "https://api.github.com/users/janbrummer/received_events", "repos_url": "https://api.github.com/users/janbrummer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/janbrummer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/janbrummer/subscriptions", "type": "User", "url": "https://api.github.com/users/janbrummer", "user_view_type": "public" }
[]
closed
true
null
[]
null
10
2023-07-07T16:06:30Z
2024-07-13T00:04:08Z
2023-07-07T16:16:47Z
NONE
resolved
Currently proxy configuration is limited to manual proxy server types and requests does not support wpad/pac proxy server. Make use of libproxy which takes care of it and also respects desktop/system configurations.
{ "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/6479/reactions" }
https://api.github.com/repos/psf/requests/issues/6479/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6479.diff", "html_url": "https://github.com/psf/requests/pull/6479", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6479.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6479" }
true
[ "Hi @janbrummer, Requests isn't accepting new features at this time. It looks like what you're trying to accomplish should be relatively straight forward through the existing `proxies` interface though. We'll leave these kinds of decisions to user code who may need special workflows.", "May i ask you why there is...
https://api.github.com/repos/psf/requests/issues/6478
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6478/labels{/name}
https://api.github.com/repos/psf/requests/issues/6478/comments
https://api.github.com/repos/psf/requests/issues/6478/events
https://github.com/psf/requests/issues/6478
1,788,078,309
I_kwDOABTKOs5qk-jl
6,478
Recent SSL Error - urllib3.exceptions.MaxRetryError
{ "avatar_url": "https://avatars.githubusercontent.com/u/46707397?v=4", "events_url": "https://api.github.com/users/DanielVelezV/events{/privacy}", "followers_url": "https://api.github.com/users/DanielVelezV/followers", "following_url": "https://api.github.com/users/DanielVelezV/following{/other_user}", "gists_url": "https://api.github.com/users/DanielVelezV/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DanielVelezV", "id": 46707397, "login": "DanielVelezV", "node_id": "MDQ6VXNlcjQ2NzA3Mzk3", "organizations_url": "https://api.github.com/users/DanielVelezV/orgs", "received_events_url": "https://api.github.com/users/DanielVelezV/received_events", "repos_url": "https://api.github.com/users/DanielVelezV/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DanielVelezV/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DanielVelezV/subscriptions", "type": "User", "url": "https://api.github.com/users/DanielVelezV", "user_view_type": "public" }
[]
closed
true
null
[]
null
4
2023-07-04T14:45:18Z
2024-07-24T00:03:30Z
2023-07-04T18:36:37Z
NONE
resolved
Hi. I have 2 APIs on GCP, they're dockerized. I got communications between those 2 APIs. Lately one of them is throwing me an SSL error. Havent update anything, nor change any code. First error: ``` Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.9/site-packages/uvicorn/workers.py", line 66, in init_process super(UvicornWorker, self).init_process() File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/Main.py", line 2, in <module> from Routes.ShippingRoute import shippingRouter File "/Routes/ShippingRoute.py", line 10, in <module> from Storage.GBucket import uploadToBucket File "/Storage/GBucket.py", line 13, in <module> bucket = gcsStorageClient.get_bucket(BUCKET_NAME) File "/usr/local/lib/python3.9/site-packages/google/cloud/storage/client.py", line 767, in get_bucket bucket.reload( File "/usr/local/lib/python3.9/site-packages/google/cloud/storage/bucket.py", line 1086, in reload super(Bucket, self).reload( File "/usr/local/lib/python3.9/site-packages/google/cloud/storage/_helpers.py", line 246, in reload api_response = client._get_resource( File "/usr/local/lib/python3.9/site-packages/google/cloud/storage/client.py", line 372, in _get_resource return self._connection.api_request( File "/usr/local/lib/python3.9/site-packages/google/cloud/storage/_http.py", line 72, in api_request return call() File "/usr/local/lib/python3.9/site-packages/google/api_core/retry.py", line 349, in retry_wrapped_func return retry_target( File "/usr/local/lib/python3.9/site-packages/google/api_core/retry.py", line 207, in retry_target raise exceptions.RetryError( google.api_core.exceptions.RetryError: Deadline of 120.0s exceeded while calling target function, last exception: HTTPSConnectionPool(host='oauth2.googleapis.com', port=443): Max retries exceeded with url: /token (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1129)')))" ``` Second Error: ``` "Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 486, in send resp = conn.urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 844, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 515, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='myApiUrl', port=443): Max retries exceeded with url: /updateOrders (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1129)')))" ``` Requirements File: ``` -i https://pypi.org/simple anyio==3.6.2 cachetools==5.2.1 certifi==2022.12.7 cffi==1.15.1 charset-normalizer==3.0.1 click==8.1.3 colorama==0.4.6 cryptography==40.0.1 fastapi==0.89.1 fuzzywuzzy==0.18.0 google-api-core==2.11.0 google-auth==2.16.0 google-cloud-core==2.3.2 google-cloud-storage==2.7.0 google-crc32c==1.5.0 google-resumable-media==2.4.0 googleapis-common-protos==1.58.0 greenlet==2.0.1 gunicorn==20.1.0 h11==0.14.0 idna==3.4 levenshtein==0.20.9 ndg-httpsclient==0.5.1 numpy==1.24.2 pandas==1.5.3 protobuf==4.21.12 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycparser==2.21 pydantic==1.10.4 pymysql==1.0.2 pyopenssl==23.1.1 pypdf==3.2.1 python-dateutil==2.8.2 python-dotenv==0.21.0 python-levenshtein==0.20.9 python-multipart==0.0.5 pytz==2022.7.1 rapidfuzz==2.13.7 requests==2.31.0 rsa==4.9 setuptools==68.0.0 ; python_version >= '3.7' six==1.16.0 sniffio==1.3.0 sqlalchemy==1.4.46 starlette==0.22.0 suds==1.1.2 typing-extensions==4.4.0 unidecode==1.3.6 urllib3==2.0.3 uvicorn==0.20.0 ``` It started happening like 2 weeks ago. Already downgraded pyton version, requests version, pyopenssl version, nothing seems to work.
{ "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/6478/reactions" }
https://api.github.com/repos/psf/requests/issues/6478/timeline
null
completed
null
null
false
[ "Both errors have the following:\r\n\r\n```\r\n(Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1129)')))\"\r\n```\r\n\r\nIn other words, there's a protocol error way far down in TLS way below the level of requests or urllib3. The `SSLZeroReturnError` happens when a `recv`...
https://api.github.com/repos/psf/requests/issues/6477
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6477/labels{/name}
https://api.github.com/repos/psf/requests/issues/6477/comments
https://api.github.com/repos/psf/requests/issues/6477/events
https://github.com/psf/requests/pull/6477
1,787,746,586
PR_kwDOABTKOs5Um8B4
6,477
support adding headers when using proxies
{ "avatar_url": "https://avatars.githubusercontent.com/u/4898765?v=4", "events_url": "https://api.github.com/users/anysoft/events{/privacy}", "followers_url": "https://api.github.com/users/anysoft/followers", "following_url": "https://api.github.com/users/anysoft/following{/other_user}", "gists_url": "https://api.github.com/users/anysoft/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/anysoft", "id": 4898765, "login": "anysoft", "node_id": "MDQ6VXNlcjQ4OTg3NjU=", "organizations_url": "https://api.github.com/users/anysoft/orgs", "received_events_url": "https://api.github.com/users/anysoft/received_events", "repos_url": "https://api.github.com/users/anysoft/repos", "site_admin": false, "starred_url": "https://api.github.com/users/anysoft/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anysoft/subscriptions", "type": "User", "url": "https://api.github.com/users/anysoft", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-07-04T11:29:18Z
2024-07-04T00:03:37Z
2023-07-04T18:38:51Z
NONE
resolved
In some cases, when using a proxy, it is necessary to specify specific header content. Therefore, I have implemented this functionality in a simple way. usage: https://github.com/anysoft/requests/blob/e6b05c5edba85b6b383b39fdde4b3ab9b514f6db/tests/test_proxy.py ``` python import requests def uc_unicom(ip): try: headers = { 'user-agent': 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36 Edg/111.0.1661.41' } proxies = { 'http': f'http://{ip}', 'https': f'http://{ip}', 'headers': { 'Proxy-Authorization': 'Basic dXNlcjpwd2Q=', 'Q-GUID': 'XXXX', } } response = requests.get('https://api.ip.sb/ip', headers=headers, proxies=proxies) print(response.text) except Exception as e: print(e) if __name__ == '__main__': uc_unicom('127.0.0.1:8080') ```
{ "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/6477/reactions" }
https://api.github.com/repos/psf/requests/issues/6477/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6477.diff", "html_url": "https://github.com/psf/requests/pull/6477", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6477.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6477" }
true
[ "Thanks for putting together a pull request and sending it. Unfortunately, Requests is under feature-freeze and has been for quite a while.\r\n\r\nRegardless, there is a clear way to add headers for your proxy. That said, your example test is specifying `Proxy-Authorization` but near the code you altered, that's al...
https://api.github.com/repos/psf/requests/issues/6476
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6476/labels{/name}
https://api.github.com/repos/psf/requests/issues/6476/comments
https://api.github.com/repos/psf/requests/issues/6476/events
https://github.com/psf/requests/issues/6476
1,784,527,253
I_kwDOABTKOs5qXbmV
6,476
The header is not change
{ "avatar_url": "https://avatars.githubusercontent.com/u/132213029?v=4", "events_url": "https://api.github.com/users/JolianGof/events{/privacy}", "followers_url": "https://api.github.com/users/JolianGof/followers", "following_url": "https://api.github.com/users/JolianGof/following{/other_user}", "gists_url": "https://api.github.com/users/JolianGof/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JolianGof", "id": 132213029, "login": "JolianGof", "node_id": "U_kgDOB-FpJQ", "organizations_url": "https://api.github.com/users/JolianGof/orgs", "received_events_url": "https://api.github.com/users/JolianGof/received_events", "repos_url": "https://api.github.com/users/JolianGof/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JolianGof/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JolianGof/subscriptions", "type": "User", "url": "https://api.github.com/users/JolianGof", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-07-02T08:41:19Z
2023-07-02T11:16:20Z
2023-07-02T11:16:16Z
NONE
null
Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance. header = { "Authorizationapikey": "apikey ***************************:******************************", 'content-type': 'application/json', } param={ "limit": 0 } response = requests.get(url ,headers=header ,params=param) print(response.url) print(response.headers) print(response) response_data = response.json() #The header in this code is not changing and I don't know why so if there is any help to explain that the problem from me or from the module it self . #And the response keeps giving me Response<401> which is not authorized
{ "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/6476/reactions" }
https://api.github.com/repos/psf/requests/issues/6476/timeline
null
not_planned
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here." ]
https://api.github.com/repos/psf/requests/issues/6475
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6475/labels{/name}
https://api.github.com/repos/psf/requests/issues/6475/comments
https://api.github.com/repos/psf/requests/issues/6475/events
https://github.com/psf/requests/pull/6475
1,775,364,780
PR_kwDOABTKOs5T86k1
6,475
Specify that Session.headers needs to be set to a OrderedDict in Header Ordering docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/7031489?v=4", "events_url": "https://api.github.com/users/joren485/events{/privacy}", "followers_url": "https://api.github.com/users/joren485/followers", "following_url": "https://api.github.com/users/joren485/following{/other_user}", "gists_url": "https://api.github.com/users/joren485/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joren485", "id": 7031489, "login": "joren485", "node_id": "MDQ6VXNlcjcwMzE0ODk=", "organizations_url": "https://api.github.com/users/joren485/orgs", "received_events_url": "https://api.github.com/users/joren485/received_events", "repos_url": "https://api.github.com/users/joren485/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joren485/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joren485/subscriptions", "type": "User", "url": "https://api.github.com/users/joren485", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-06-26T18:38:58Z
2024-08-12T00:06:15Z
2023-08-12T17:53:36Z
CONTRIBUTOR
resolved
### Description. Small improvement to the docs: `Session.headers` (and not `Session`) should be set to an `OrderedDict` to preserve header order.
{ "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/6475/reactions" }
https://api.github.com/repos/psf/requests/issues/6475/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6475.diff", "html_url": "https://github.com/psf/requests/pull/6475", "merged_at": "2023-08-12T17:53:36Z", "patch_url": "https://github.com/psf/requests/pull/6475.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6475" }
true
[]
https://api.github.com/repos/psf/requests/issues/6474
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6474/labels{/name}
https://api.github.com/repos/psf/requests/issues/6474/comments
https://api.github.com/repos/psf/requests/issues/6474/events
https://github.com/psf/requests/issues/6474
1,775,199,699
I_kwDOABTKOs5pz2XT
6,474
Support passing request headers as multi-line strings
{ "avatar_url": "https://avatars.githubusercontent.com/u/44772690?v=4", "events_url": "https://api.github.com/users/arry-lee/events{/privacy}", "followers_url": "https://api.github.com/users/arry-lee/followers", "following_url": "https://api.github.com/users/arry-lee/following{/other_user}", "gists_url": "https://api.github.com/users/arry-lee/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arry-lee", "id": 44772690, "login": "arry-lee", "node_id": "MDQ6VXNlcjQ0NzcyNjkw", "organizations_url": "https://api.github.com/users/arry-lee/orgs", "received_events_url": "https://api.github.com/users/arry-lee/received_events", "repos_url": "https://api.github.com/users/arry-lee/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arry-lee/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arry-lee/subscriptions", "type": "User", "url": "https://api.github.com/users/arry-lee", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-06-26T16:58:17Z
2024-06-26T00:03:29Z
2023-06-26T17:15:45Z
NONE
resolved
Title: Support passing request headers as multi-line strings Description: Currently, when using the requests library to send HTTP requests, we need to pass the request headers as a dictionary to the headers parameter. However, in practical development, it is common to directly copy request headers from a browser and parse them into a dictionary, rather than manually editing a dictionary, which is more convenient and elegant. I suggest an improvement to requests that allows the headers parameter to accept multi-line strings as input. This would enable developers to directly copy request headers from a browser, provide them as a string input, and have requests internally parse them into a dictionary. Here's an example code snippet that demonstrates parsing multi-line strings into a dictionary: ``` headers = """ Host: example.com Connection: keep-alive Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3 Accept-Encoding: gzip, deflate, br Accept-Language: zh-CN,zh;q=0.9,en;q=0.8 """ headers = dict(x.split(": ", 1) for x in headers.splitlines() if x) ``` This improvement would enhance the usability and flexibility of requests, aligning it better with real-world development needs. I hope to see this feature implemented in future versions. Thank you for considering and accepting this suggestion!
{ "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/6474/reactions" }
https://api.github.com/repos/psf/requests/issues/6474/timeline
null
not_planned
null
null
false
[ "Requests has been under a feature freeze for years now, so the answer is definitely No.\n\nRegardless, if we were implementing new features I would be strongly against this feature because it allows for too many potential issues that could create security problems for users. It may seem like an improvement in user...
https://api.github.com/repos/psf/requests/issues/6473
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6473/labels{/name}
https://api.github.com/repos/psf/requests/issues/6473/comments
https://api.github.com/repos/psf/requests/issues/6473/events
https://github.com/psf/requests/issues/6473
1,774,689,627
I_kwDOABTKOs5px51b
6,473
Requests changes the case of hex letters in percent encodings
{ "avatar_url": "https://avatars.githubusercontent.com/u/16545322?v=4", "events_url": "https://api.github.com/users/MrQubo/events{/privacy}", "followers_url": "https://api.github.com/users/MrQubo/followers", "following_url": "https://api.github.com/users/MrQubo/following{/other_user}", "gists_url": "https://api.github.com/users/MrQubo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MrQubo", "id": 16545322, "login": "MrQubo", "node_id": "MDQ6VXNlcjE2NTQ1MzIy", "organizations_url": "https://api.github.com/users/MrQubo/orgs", "received_events_url": "https://api.github.com/users/MrQubo/received_events", "repos_url": "https://api.github.com/users/MrQubo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MrQubo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MrQubo/subscriptions", "type": "User", "url": "https://api.github.com/users/MrQubo", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2023-06-26T12:39:48Z
2024-08-22T00:03:53Z
2023-07-30T02:23:48Z
NONE
resolved
## Summary Requests changes the case of hex letters in percent encodings in URLs. Requests should always send the request target exactly as it was passed. ### Reproduction ```py3 import requests print(requests.Request('GET', 'https://example.com/?example=%2f').prepare().url) ``` ## Rationale I wouldn't even absolutely ever not even in my worst nightmares ever consider this an issue. That was until I met this beautiful http server, which won't work if you don't send **exactly** the same URL on http redirections. See screenshots below: ![Screenshot showing successful response to request with lowercase hex](https://i.ibb.co/T2JnYhY/Screenshot-20230626-135150.png "Screenshot lowercase hex") ![Screenshot showing 404 response to request with uppercase hex](https://i.ibb.co/bmpjSG1/Screenshot-20230626-135128.png "Screenshot uppercase hex") The only difference between the two requests is casing of hex characters, but the response from the server is completely different. I would want to say that this issue is caused by a very weird design decision of this website (which is a wi-fi login page by the way), but who am I to argue with the server. I don't have control nor access to the source of the server, but I suspect that the parameter `md` in the request is a hash of some part of the URI. So the request target must be sent exactly as it was passed in the `Location:` header (of a different request, not part of the screenshots). ## System Information $ python -m requests.help ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "3.1.0" }, "cryptography": { "version": "" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.11.2" }, "platform": { "release": "6.3.8-zen1-1-zen", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.31.0" }, "system_ssl": { "version": "30100010" }, "urllib3": { "version": "2.0.3" }, "using_charset_normalizer": true, "using_pyopenssl": false } ```
{ "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": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/psf/requests/issues/6473/reactions" }
https://api.github.com/repos/psf/requests/issues/6473/timeline
null
completed
null
null
false
[ "Seems like the bug lies in urllib3.\r\n\r\n```py3\r\nimport urllib3.util\r\n\r\nprint(urllib3.util.parse_url('https://example.com/?example=%2f').query)\r\n```", "I'm not sure there's much we can do here. There was a decision from the urllib3 team a handful of years ago where URLs started getting unilaterally sta...
https://api.github.com/repos/psf/requests/issues/6472
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6472/labels{/name}
https://api.github.com/repos/psf/requests/issues/6472/comments
https://api.github.com/repos/psf/requests/issues/6472/events
https://github.com/psf/requests/issues/6472
1,758,517,431
I_kwDOABTKOs5o0Ni3
6,472
XML cut off
{ "avatar_url": "https://avatars.githubusercontent.com/u/68854894?v=4", "events_url": "https://api.github.com/users/jreverendo/events{/privacy}", "followers_url": "https://api.github.com/users/jreverendo/followers", "following_url": "https://api.github.com/users/jreverendo/following{/other_user}", "gists_url": "https://api.github.com/users/jreverendo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreverendo", "id": 68854894, "login": "jreverendo", "node_id": "MDQ6VXNlcjY4ODU0ODk0", "organizations_url": "https://api.github.com/users/jreverendo/orgs", "received_events_url": "https://api.github.com/users/jreverendo/received_events", "repos_url": "https://api.github.com/users/jreverendo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreverendo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreverendo/subscriptions", "type": "User", "url": "https://api.github.com/users/jreverendo", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-06-15T10:25:32Z
2024-06-15T00:03:22Z
2023-06-15T11:34:30Z
NONE
resolved
Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance. I'm trying to send a XML with the last version, i read the file and put it in a var, when i send it, request cut off the final 3 caracters of the file, this didn't do the version 25. The code: archivo = open(namexml, "r") xml = archivo.read() resp=requests.post(url, data=xml, headers=headers,cert=cert,verify=False) I don't know if it is a bug or i'm do it wrong. Thankxxxx
{ "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/6472/reactions" }
https://api.github.com/repos/psf/requests/issues/6472/timeline
null
not_planned
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here." ]
https://api.github.com/repos/psf/requests/issues/6471
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6471/labels{/name}
https://api.github.com/repos/psf/requests/issues/6471/comments
https://api.github.com/repos/psf/requests/issues/6471/events
https://github.com/psf/requests/issues/6471
1,754,470,552
I_kwDOABTKOs5okxiY
6,471
Redirect from doi.org to onlinelibrary.wiley.com fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/18174744?v=4", "events_url": "https://api.github.com/users/goekce/events{/privacy}", "followers_url": "https://api.github.com/users/goekce/followers", "following_url": "https://api.github.com/users/goekce/following{/other_user}", "gists_url": "https://api.github.com/users/goekce/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/goekce", "id": 18174744, "login": "goekce", "node_id": "MDQ6VXNlcjE4MTc0NzQ0", "organizations_url": "https://api.github.com/users/goekce/orgs", "received_events_url": "https://api.github.com/users/goekce/received_events", "repos_url": "https://api.github.com/users/goekce/repos", "site_admin": false, "starred_url": "https://api.github.com/users/goekce/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/goekce/subscriptions", "type": "User", "url": "https://api.github.com/users/goekce", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-06-13T09:40:14Z
2024-06-14T00:03:28Z
2023-06-13T11:50:56Z
NONE
resolved
If I visit `https://doi.org/10.1002/jccs.200600142` with my browser, everything is fine. But both requests fails: ```sh python -c "import requests; print(requests.head('https://doi.org/10.1002/jccs.200600142', allow_redirects=True))" <Response [403]> ``` I also tried accepting cookies and changing the user-agent, which also did not help: ```py import requests with requests.Session() as s: print(s.get('https://doi.org/10.1002/jccs.200600142', allow_redirects=True, headers={'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0'})) <Response [403]> ``` Does someone know what `requests` does differently than Firefox? Or should I include more headers?
{ "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/6471/reactions" }
https://api.github.com/repos/psf/requests/issues/6471/timeline
null
not_planned
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.", "Sorry I did not know that requests for helps are n...
https://api.github.com/repos/psf/requests/issues/6470
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6470/labels{/name}
https://api.github.com/repos/psf/requests/issues/6470/comments
https://api.github.com/repos/psf/requests/issues/6470/events
https://github.com/psf/requests/issues/6470
1,751,330,308
I_kwDOABTKOs5oYy4E
6,470
Getting 401 unauthorized status in an API
{ "avatar_url": "https://avatars.githubusercontent.com/u/71781104?v=4", "events_url": "https://api.github.com/users/subhendudash02/events{/privacy}", "followers_url": "https://api.github.com/users/subhendudash02/followers", "following_url": "https://api.github.com/users/subhendudash02/following{/other_user}", "gists_url": "https://api.github.com/users/subhendudash02/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/subhendudash02", "id": 71781104, "login": "subhendudash02", "node_id": "MDQ6VXNlcjcxNzgxMTA0", "organizations_url": "https://api.github.com/users/subhendudash02/orgs", "received_events_url": "https://api.github.com/users/subhendudash02/received_events", "repos_url": "https://api.github.com/users/subhendudash02/repos", "site_admin": false, "starred_url": "https://api.github.com/users/subhendudash02/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/subhendudash02/subscriptions", "type": "User", "url": "https://api.github.com/users/subhendudash02", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2023-06-11T08:57:06Z
2024-06-11T00:03:19Z
2023-06-11T17:29:10Z
NONE
resolved
I was making a POST request in [nutritionix API](https://www.nutritionix.com/business/api) using requests module. In one of the API route which is `https://trackapi.nutritionix.com/v2/natural/nutrients`, which returns all the necessary details for any food item if we pass json as `{"query": <any_name>}` and headers as `x-app-id` and `x-app-key`. It works fine in Postman, but in Python it shows 401 unauthorized status if I fetch the `x-app-id` and `x-app-key` from .cfg file. The format of that cfg file is ``` [nutritionix] API_ID=<api-id> API_KEY=<api-key> ``` I am fetching all those keys using `configparser` module, I am able to print those keys in the terminal, but it shows 401 error. But if I directly paste these keys into the code directly (which is not recommended), it is showing 200 status. I am pasting the code below for reference: ```python import requests from configparser import ConfigParser config = ConfigParser() config.read('./secrets.cfg') x_app_id = config['nutritionix']['API_ID'] x_app_key = config['nutritionix']['API_KEY'] headers = { 'Accept':'application/json', 'Content-Type': 'application/json', "x-app-id": x_app_id, "x-app-key": x_app_key, } url = 'https://trackapi.nutritionix.com/v2/natural/nutrients/' def get_details(prompt: str): food_details = requests.post(url, headers=headers, json={"query": prompt}) print(food_details) ```
{ "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/6470/reactions" }
https://api.github.com/repos/psf/requests/issues/6470/timeline
null
completed
null
null
false
[ "This issue doesn't look like a problem with the requests library. You probably should ask for further help in stackoverflow, but one hint:\r\n\r\n> x_app_id = config['nutritionix']['API_ID']\r\n\r\nHere you're using `'API_ID'` string instead of the `API_ID` variable.", "Yep, I believe @Mariatta is right. Thank y...
https://api.github.com/repos/psf/requests/issues/6469
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6469/labels{/name}
https://api.github.com/repos/psf/requests/issues/6469/comments
https://api.github.com/repos/psf/requests/issues/6469/events
https://github.com/psf/requests/pull/6469
1,745,989,886
PR_kwDOABTKOs5SazsM
6,469
raise ClientError for 4xx and ServerError for 5xx
{ "avatar_url": "https://avatars.githubusercontent.com/u/5219229?v=4", "events_url": "https://api.github.com/users/Zhong-z/events{/privacy}", "followers_url": "https://api.github.com/users/Zhong-z/followers", "following_url": "https://api.github.com/users/Zhong-z/following{/other_user}", "gists_url": "https://api.github.com/users/Zhong-z/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Zhong-z", "id": 5219229, "login": "Zhong-z", "node_id": "MDQ6VXNlcjUyMTkyMjk=", "organizations_url": "https://api.github.com/users/Zhong-z/orgs", "received_events_url": "https://api.github.com/users/Zhong-z/received_events", "repos_url": "https://api.github.com/users/Zhong-z/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Zhong-z/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Zhong-z/subscriptions", "type": "User", "url": "https://api.github.com/users/Zhong-z", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-06-07T14:04:16Z
2024-06-08T00:06:04Z
2023-06-07T15:21:49Z
NONE
resolved
`raise_for_status()` will now raises - ClientError for status code 4xx - ServerError for status code 5xx Both ClientError and ServerError are subclass of HTTPError, which should make them backward compatible for users that are catching `HTTPError` Also kept the error message the same for backward compatibility too in case users are matching the message value. Ideally the "Client Error" and "Server Error" in the message could be removed given the class name provide the same context. i.e `f"{self.status_code}: {reason} for url: {self.url}"`
{ "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/6469/reactions" }
https://api.github.com/repos/psf/requests/issues/6469/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6469.diff", "html_url": "https://github.com/psf/requests/pull/6469", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6469.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6469" }
true
[ "Thanks for putting this together! We're under feature freeze now, however, and are not accepting new API additions. As such, we will be closing this" ]
https://api.github.com/repos/psf/requests/issues/6468
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6468/labels{/name}
https://api.github.com/repos/psf/requests/issues/6468/comments
https://api.github.com/repos/psf/requests/issues/6468/events
https://github.com/psf/requests/issues/6468
1,745,663,791
I_kwDOABTKOs5oDLcv
6,468
Runtime.ImportModuleError after upgraded to 2.31.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/7334850?v=4", "events_url": "https://api.github.com/users/jack1220/events{/privacy}", "followers_url": "https://api.github.com/users/jack1220/followers", "following_url": "https://api.github.com/users/jack1220/following{/other_user}", "gists_url": "https://api.github.com/users/jack1220/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jack1220", "id": 7334850, "login": "jack1220", "node_id": "MDQ6VXNlcjczMzQ4NTA=", "organizations_url": "https://api.github.com/users/jack1220/orgs", "received_events_url": "https://api.github.com/users/jack1220/received_events", "repos_url": "https://api.github.com/users/jack1220/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jack1220/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jack1220/subscriptions", "type": "User", "url": "https://api.github.com/users/jack1220", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-06-07T11:18:50Z
2024-06-08T00:06:02Z
2023-06-07T18:02:59Z
NONE
resolved
Found below error from logs after auto-upgraded (by Renovate) from 2.28.1 to 2.31.0 : ``` [ERROR] Runtime.ImportModuleError: Unable to import module 'handler': libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory Traceback (most recent call last): ``` ## System Information Running python version 3.8 in docker image python:3.8-alpine
{ "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/6468/reactions" }
https://api.github.com/repos/psf/requests/issues/6468/timeline
null
completed
null
null
false
[ "Hi @jack1220, the error doesn't appear to be related to Requests. You're importing code that's trying to access `libc` files. Requests does not provide any C code, so this is stemming from some other dependency." ]
https://api.github.com/repos/psf/requests/issues/6467
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6467/labels{/name}
https://api.github.com/repos/psf/requests/issues/6467/comments
https://api.github.com/repos/psf/requests/issues/6467/events
https://github.com/psf/requests/pull/6467
1,744,829,982
PR_kwDOABTKOs5SW2-F
6,467
Fix doc typo
{ "avatar_url": "https://avatars.githubusercontent.com/u/5687998?v=4", "events_url": "https://api.github.com/users/verhovsky/events{/privacy}", "followers_url": "https://api.github.com/users/verhovsky/followers", "following_url": "https://api.github.com/users/verhovsky/following{/other_user}", "gists_url": "https://api.github.com/users/verhovsky/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/verhovsky", "id": 5687998, "login": "verhovsky", "node_id": "MDQ6VXNlcjU2ODc5OTg=", "organizations_url": "https://api.github.com/users/verhovsky/orgs", "received_events_url": "https://api.github.com/users/verhovsky/received_events", "repos_url": "https://api.github.com/users/verhovsky/repos", "site_admin": false, "starred_url": "https://api.github.com/users/verhovsky/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/verhovsky/subscriptions", "type": "User", "url": "https://api.github.com/users/verhovsky", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-06-07T00:43:36Z
2024-06-26T00:03:31Z
2023-06-26T17:09:24Z
CONTRIBUTOR
resolved
null
{ "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/6467/reactions" }
https://api.github.com/repos/psf/requests/issues/6467/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6467.diff", "html_url": "https://github.com/psf/requests/pull/6467", "merged_at": "2023-06-26T17:09:24Z", "patch_url": "https://github.com/psf/requests/pull/6467.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6467" }
true
[]
https://api.github.com/repos/psf/requests/issues/6466
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6466/labels{/name}
https://api.github.com/repos/psf/requests/issues/6466/comments
https://api.github.com/repos/psf/requests/issues/6466/events
https://github.com/psf/requests/issues/6466
1,741,966,775
I_kwDOABTKOs5n1E23
6,466
No possibility to provide raw urls
{ "avatar_url": "https://avatars.githubusercontent.com/u/12824370?v=4", "events_url": "https://api.github.com/users/SaturnIC/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnIC/followers", "following_url": "https://api.github.com/users/SaturnIC/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnIC/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnIC", "id": 12824370, "login": "SaturnIC", "node_id": "MDQ6VXNlcjEyODI0Mzcw", "organizations_url": "https://api.github.com/users/SaturnIC/orgs", "received_events_url": "https://api.github.com/users/SaturnIC/received_events", "repos_url": "https://api.github.com/users/SaturnIC/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnIC/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnIC/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnIC", "user_view_type": "public" }
[]
closed
true
null
[]
null
4
2023-06-05T14:59:48Z
2023-06-06T01:27:16Z
2023-06-05T15:13:14Z
NONE
resolved
Since requests is the major python library for web requests and python is used for web testing it is unacceptable, that requests does not provide a way to define raw urls for web requests. And malformed url behavior is one essential aspect of web testing, so it must be provided. And to just close a previous issue on this topic by saying it is not our responsibility is brazen and tone deaf. Closed, unresolved issues regarding this problem: https://github.com/psf/requests/issues/5739 https://github.com/psf/requests/issues/5907 Please keep this issue open until this basic feature is working again.
{ "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/6466/reactions" }
https://api.github.com/repos/psf/requests/issues/6466/timeline
null
not_planned
null
null
false
[ "Do you all have a character disorder to close it again?", "The library is provided as is. Please read the license", "Gaslighting won't work, try something more clever,\r\nthis bug has nothing to do with the license.\r\n\r\nYou even documented some workaround here once:\r\nhttps://github.com/urllib3/urllib3/iss...
https://api.github.com/repos/psf/requests/issues/6465
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6465/labels{/name}
https://api.github.com/repos/psf/requests/issues/6465/comments
https://api.github.com/repos/psf/requests/issues/6465/events
https://github.com/psf/requests/pull/6465
1,740,369,452
PR_kwDOABTKOs5SHsJX
6,465
Add note about adapter prefix match to docs
{ "avatar_url": "https://avatars.githubusercontent.com/u/870392?v=4", "events_url": "https://api.github.com/users/ZetaTwo/events{/privacy}", "followers_url": "https://api.github.com/users/ZetaTwo/followers", "following_url": "https://api.github.com/users/ZetaTwo/following{/other_user}", "gists_url": "https://api.github.com/users/ZetaTwo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ZetaTwo", "id": 870392, "login": "ZetaTwo", "node_id": "MDQ6VXNlcjg3MDM5Mg==", "organizations_url": "https://api.github.com/users/ZetaTwo/orgs", "received_events_url": "https://api.github.com/users/ZetaTwo/received_events", "repos_url": "https://api.github.com/users/ZetaTwo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ZetaTwo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ZetaTwo/subscriptions", "type": "User", "url": "https://api.github.com/users/ZetaTwo", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-06-04T13:13:50Z
2024-07-30T00:03:43Z
2023-07-30T04:05:45Z
CONTRIBUTOR
resolved
This PR adds a note to the documentation highlighting the behaviour of the adapter prefix matching to help users avoid potential mistakes.
{ "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/6465/reactions" }
https://api.github.com/repos/psf/requests/issues/6465/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6465.diff", "html_url": "https://github.com/psf/requests/pull/6465", "merged_at": "2023-07-30T04:05:45Z", "patch_url": "https://github.com/psf/requests/pull/6465.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6465" }
true
[]
https://api.github.com/repos/psf/requests/issues/6464
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6464/labels{/name}
https://api.github.com/repos/psf/requests/issues/6464/comments
https://api.github.com/repos/psf/requests/issues/6464/events
https://github.com/psf/requests/pull/6464
1,733,793,197
PR_kwDOABTKOs5RxE4q
6,464
Updated grammar
{ "avatar_url": "https://avatars.githubusercontent.com/u/70603130?v=4", "events_url": "https://api.github.com/users/puryabzp/events{/privacy}", "followers_url": "https://api.github.com/users/puryabzp/followers", "following_url": "https://api.github.com/users/puryabzp/following{/other_user}", "gists_url": "https://api.github.com/users/puryabzp/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/puryabzp", "id": 70603130, "login": "puryabzp", "node_id": "MDQ6VXNlcjcwNjAzMTMw", "organizations_url": "https://api.github.com/users/puryabzp/orgs", "received_events_url": "https://api.github.com/users/puryabzp/received_events", "repos_url": "https://api.github.com/users/puryabzp/repos", "site_admin": false, "starred_url": "https://api.github.com/users/puryabzp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/puryabzp/subscriptions", "type": "User", "url": "https://api.github.com/users/puryabzp", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-05-31T09:45:47Z
2024-05-31T00:03:20Z
2023-05-31T12:37:44Z
NONE
resolved
This just fix the grammar in this document when I was reading it and I think it's okay to have a contributed on this project.
{ "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/6464/reactions" }
https://api.github.com/repos/psf/requests/issues/6464/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6464.diff", "html_url": "https://github.com/psf/requests/pull/6464", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6464.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6464" }
true
[ "fix grammar" ]
https://api.github.com/repos/psf/requests/issues/6463
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6463/labels{/name}
https://api.github.com/repos/psf/requests/issues/6463/comments
https://api.github.com/repos/psf/requests/issues/6463/events
https://github.com/psf/requests/pull/6463
1,728,954,098
PR_kwDOABTKOs5Rgrtw
6,463
weather.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/105638600?v=4", "events_url": "https://api.github.com/users/virgilhawkins00/events{/privacy}", "followers_url": "https://api.github.com/users/virgilhawkins00/followers", "following_url": "https://api.github.com/users/virgilhawkins00/following{/other_user}", "gists_url": "https://api.github.com/users/virgilhawkins00/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/virgilhawkins00", "id": 105638600, "login": "virgilhawkins00", "node_id": "U_kgDOBkvqyA", "organizations_url": "https://api.github.com/users/virgilhawkins00/orgs", "received_events_url": "https://api.github.com/users/virgilhawkins00/received_events", "repos_url": "https://api.github.com/users/virgilhawkins00/repos", "site_admin": false, "starred_url": "https://api.github.com/users/virgilhawkins00/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/virgilhawkins00/subscriptions", "type": "User", "url": "https://api.github.com/users/virgilhawkins00", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-05-27T21:30:19Z
2024-05-27T00:03:44Z
2023-05-27T21:37:46Z
NONE
resolved
null
{ "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/6463/reactions" }
https://api.github.com/repos/psf/requests/issues/6463/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6463.diff", "html_url": "https://github.com/psf/requests/pull/6463", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6463.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6463" }
true
[]
https://api.github.com/repos/psf/requests/issues/6462
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6462/labels{/name}
https://api.github.com/repos/psf/requests/issues/6462/comments
https://api.github.com/repos/psf/requests/issues/6462/events
https://github.com/psf/requests/issues/6462
1,728,904,380
I_kwDOABTKOs5nDPy8
6,462
TypeError: Object of type bytes is not JSON serializable
{ "avatar_url": "https://avatars.githubusercontent.com/u/2363295?v=4", "events_url": "https://api.github.com/users/wanghaisheng/events{/privacy}", "followers_url": "https://api.github.com/users/wanghaisheng/followers", "following_url": "https://api.github.com/users/wanghaisheng/following{/other_user}", "gists_url": "https://api.github.com/users/wanghaisheng/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wanghaisheng", "id": 2363295, "login": "wanghaisheng", "node_id": "MDQ6VXNlcjIzNjMyOTU=", "organizations_url": "https://api.github.com/users/wanghaisheng/orgs", "received_events_url": "https://api.github.com/users/wanghaisheng/received_events", "repos_url": "https://api.github.com/users/wanghaisheng/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wanghaisheng/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wanghaisheng/subscriptions", "type": "User", "url": "https://api.github.com/users/wanghaisheng", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2023-05-27T19:02:28Z
2024-05-28T00:03:48Z
2023-05-27T19:07:46Z
NONE
resolved
<!-- Summary. --> ## Expected Result am i wrong about using this <!-- What you expected. --> ## Actual Result <!-- What happened instead. --> ``` Traceback (most recent call last): File "/Users/wenke/github/ttsall/tts-test.py", line 36, in speak response = requests.post('https://translate.volcengine.com/crx/tts/v1/', headers=headers, json= json.dumps(json_data, ensure_ascii=False).encode("utf-8"),proxies={'http':None,'https':None}) File "/Users/wenke/miniconda3/lib/python3.9/site-packages/requests/api.py", line 115, in post return request("post", url, data=data, json=json, **kwargs) File "/Users/wenke/miniconda3/lib/python3.9/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/Users/wenke/miniconda3/lib/python3.9/site-packages/requests/sessions.py", line 573, in request prep = self.prepare_request(req) File "/Users/wenke/miniconda3/lib/python3.9/site-packages/requests/sessions.py", line 484, in prepare_request p.prepare( File "/Users/wenke/miniconda3/lib/python3.9/site-packages/requests/models.py", line 371, in prepare self.prepare_body(data, files, json) File "/Users/wenke/miniconda3/lib/python3.9/site-packages/requests/models.py", line 511, in prepare_body body = complexjson.dumps(json, allow_nan=False) File "/Users/wenke/miniconda3/lib/python3.9/json/__init__.py", line 234, in dumps return cls( File "/Users/wenke/miniconda3/lib/python3.9/json/encoder.py", line 199, in encode chunks = self.iterencode(o, _one_shot=True) File "/Users/wenke/miniconda3/lib/python3.9/json/encoder.py", line 257, in iterencode return _iterencode(o, 0) File "/Users/wenke/miniconda3/lib/python3.9/json/encoder.py", line 179, in default raise TypeError(f'Object of type {o.__class__.__name__} ' TypeError: Object of type bytes is not JSON serializable ``` ## Reproduction Steps ```python headers = { 'authority': 'translate.volcengine.com', 'accept': 'application/json, text/plain, */*', 'accept-language': 'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6', 'origin': 'chrome-extension://jmnhemdajboodicneejdlpanmijclhef', 'accept-encoding': 'gzip, deflate, br', 'sec-fetch-dest': 'empty', 'sec-fetch-mode': 'cors', 'sec-fetch-site': 'none', # 'cookie':'x-jupiter-uuid=1685206167481291; i18next=zh-CN; s_v_web_id=verify_li6888fu_E2yIFhRA_Amo7_42lt_93A0_OrjFArSkTope; ttcid=29381a8ff7874daea9f91f7bb6a91c4b41; isIntranet=-1; ve_doc_history=4640; tt_scid=QmoChhEFFYvYA9lNkQwiGu8VOuOiJDyGbcNg7Ysc9h4O-ceoZRVLq0cw5H4qbVSl79af; __tea_cache_tokens_3569={"web_id":"7237905415249118780","user_unique_id":"7237905415249118780","timestamp":1685208803602,"_type_":"default"}; referrer_title=音视频文件翻译API--机器翻译-火山引擎', 'content-type':'application/json; charset=UTF-8', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.51', } json_data = { "text": content, "speaker":voice, "language":"zh", } json_data={"text":"我们自豪地向您介绍火山写作:一款中英双语的AI写作助手。您可以使用它来撰写和润色您的论文、博客、电子邮件等!在写作英文时,火山写作会实时扫描您的文章,提供修改和增强建议,使您的英文表达更流畅、准确、恰当。如下所示:","speaker":"zh_female_sichuan","language":"zh"} response = requests.post('https://translate.volcengine.com/crx/tts/v1/', headers=headers, json= json.dumps(json_data, ensure_ascii=False).encode("utf-8"),proxies={'http':None,'https':None}) print(response,response.status_code,response.content) ``` ## System Information $ python -m requests.help ```json /Users/wenke/miniconda3/lib/python3.9/site-packages/requests/help.py:24: DeprecationWarning: 'urllib3.contrib.pyopenssl' module is deprecated and will be removed in a future release of urllib3 2.x. Read more in this issue: https://github.com/urllib3/urllib3/issues/2680 from urllib3.contrib import pyopenssl { "chardet": { "version": "5.1.0" }, "charset_normalizer": { "version": "2.0.4" }, "cryptography": { "version": "39.0.1" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.9.16" }, "platform": { "release": "19.6.0", "system": "Darwin" }, "pyOpenSSL": { "openssl_version": "1010114f", "version": "23.0.0" }, "requests": { "version": "2.28.1" }, "system_ssl": { "version": "1010114f" }, "urllib3": { "version": "1.26.15" }, "using_charset_normalizer": false, "using_pyopenssl": true } ``` <!-- 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/6462/reactions" }
https://api.github.com/repos/psf/requests/issues/6462/timeline
null
completed
null
null
false
[ "`json` serializes Python dictionaries to JSON. `data` takes arbitrary bytes.\n\nhttps://docs.python-requests.org/en/latest/api/#requests.request", "@nateprewitt \r\ncan you help me about \r\n```\r\n{'text': '我们自豪地向您介绍火山写作:一款中英双语的AI写作助手。您可以使用它来撰写和润色您的论文、博客、电子邮件等!在写作英文时,火山写作会实时扫描您的文章供修改和增强建议,使您的英文表达更流畅、准确、恰当。如下所示:...
https://api.github.com/repos/psf/requests/issues/6461
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6461/labels{/name}
https://api.github.com/repos/psf/requests/issues/6461/comments
https://api.github.com/repos/psf/requests/issues/6461/events
https://github.com/psf/requests/pull/6461
1,727,967,541
PR_kwDOABTKOs5RdX8W
6,461
my self
{ "avatar_url": "https://avatars.githubusercontent.com/u/118927603?v=4", "events_url": "https://api.github.com/users/FighterTunnel/events{/privacy}", "followers_url": "https://api.github.com/users/FighterTunnel/followers", "following_url": "https://api.github.com/users/FighterTunnel/following{/other_user}", "gists_url": "https://api.github.com/users/FighterTunnel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/FighterTunnel", "id": 118927603, "login": "FighterTunnel", "node_id": "U_kgDOBxaw8w", "organizations_url": "https://api.github.com/users/FighterTunnel/orgs", "received_events_url": "https://api.github.com/users/FighterTunnel/received_events", "repos_url": "https://api.github.com/users/FighterTunnel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/FighterTunnel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/FighterTunnel/subscriptions", "type": "User", "url": "https://api.github.com/users/FighterTunnel", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-05-26T17:06:58Z
2024-05-27T00:03:45Z
2023-05-27T00:59:56Z
NONE
resolved
My humble contribution to keep requests so typos free as it is proudly is now.
{ "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/6461/reactions" }
https://api.github.com/repos/psf/requests/issues/6461/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6461.diff", "html_url": "https://github.com/psf/requests/pull/6461", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6461.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6461" }
true
[]
https://api.github.com/repos/psf/requests/issues/6460
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6460/labels{/name}
https://api.github.com/repos/psf/requests/issues/6460/comments
https://api.github.com/repos/psf/requests/issues/6460/events
https://github.com/psf/requests/issues/6460
1,726,729,616
I_kwDOABTKOs5m682Q
6,460
Hi
{ "avatar_url": "https://avatars.githubusercontent.com/u/126224549?v=4", "events_url": "https://api.github.com/users/rahimi9011/events{/privacy}", "followers_url": "https://api.github.com/users/rahimi9011/followers", "following_url": "https://api.github.com/users/rahimi9011/following{/other_user}", "gists_url": "https://api.github.com/users/rahimi9011/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rahimi9011", "id": 126224549, "login": "rahimi9011", "node_id": "U_kgDOB4YIpQ", "organizations_url": "https://api.github.com/users/rahimi9011/orgs", "received_events_url": "https://api.github.com/users/rahimi9011/received_events", "repos_url": "https://api.github.com/users/rahimi9011/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rahimi9011/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rahimi9011/subscriptions", "type": "User", "url": "https://api.github.com/users/rahimi9011", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-05-26T01:35:05Z
2024-05-26T00:03:55Z
2023-05-26T03:15:07Z
NONE
resolved
Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance.
{ "avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4", "events_url": "https://api.github.com/users/sethmlarson/events{/privacy}", "followers_url": "https://api.github.com/users/sethmlarson/followers", "following_url": "https://api.github.com/users/sethmlarson/following{/other_user}", "gists_url": "https://api.github.com/users/sethmlarson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sethmlarson", "id": 18519037, "login": "sethmlarson", "node_id": "MDQ6VXNlcjE4NTE5MDM3", "organizations_url": "https://api.github.com/users/sethmlarson/orgs", "received_events_url": "https://api.github.com/users/sethmlarson/received_events", "repos_url": "https://api.github.com/users/sethmlarson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sethmlarson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sethmlarson/subscriptions", "type": "User", "url": "https://api.github.com/users/sethmlarson", "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/6460/reactions" }
https://api.github.com/repos/psf/requests/issues/6460/timeline
null
not_planned
null
null
false
[ "Hi \nSend amont program transcation ip \nMony \nIban\n" ]
https://api.github.com/repos/psf/requests/issues/6459
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6459/labels{/name}
https://api.github.com/repos/psf/requests/issues/6459/comments
https://api.github.com/repos/psf/requests/issues/6459/events
https://github.com/psf/requests/issues/6459
1,725,385,104
I_kwDOABTKOs5m10mQ
6,459
SSL Errors
{ "avatar_url": "https://avatars.githubusercontent.com/u/130300063?v=4", "events_url": "https://api.github.com/users/louissiu198/events{/privacy}", "followers_url": "https://api.github.com/users/louissiu198/followers", "following_url": "https://api.github.com/users/louissiu198/following{/other_user}", "gists_url": "https://api.github.com/users/louissiu198/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/louissiu198", "id": 130300063, "login": "louissiu198", "node_id": "U_kgDOB8Q4nw", "organizations_url": "https://api.github.com/users/louissiu198/orgs", "received_events_url": "https://api.github.com/users/louissiu198/received_events", "repos_url": "https://api.github.com/users/louissiu198/repos", "site_admin": false, "starred_url": "https://api.github.com/users/louissiu198/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/louissiu198/subscriptions", "type": "User", "url": "https://api.github.com/users/louissiu198", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-05-25T08:56:51Z
2024-06-02T00:03:59Z
2023-06-01T22:32:42Z
NONE
resolved
When using the module requests to about 1M requests to a website, it started to begin requestsConnectionFailed, nodename already used errors, even used verify=False also ssl disable warning, how could i fix it, thank you
{ "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/6459/reactions" }
https://api.github.com/repos/psf/requests/issues/6459/timeline
null
completed
null
null
false
[ "Hi @louissiu198, please direct questions for help to https://stackoverflow.com. Thanks." ]
https://api.github.com/repos/psf/requests/issues/6458
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6458/labels{/name}
https://api.github.com/repos/psf/requests/issues/6458/comments
https://api.github.com/repos/psf/requests/issues/6458/events
https://github.com/psf/requests/pull/6458
1,719,924,731
PR_kwDOABTKOs5RB7HH
6,458
I knew we missed a step...
{ "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
2
2023-05-22T15:27:13Z
2024-07-24T00:03:31Z
2023-05-22T15:36:23Z
MEMBER
resolved
Got a bit too far ahead of myself on the release. Running Black over the patch to fix quotes.
{ "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/6458/reactions" }
https://api.github.com/repos/psf/requests/issues/6458/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6458.diff", "html_url": "https://github.com/psf/requests/pull/6458", "merged_at": "2023-05-22T15:36:23Z", "patch_url": "https://github.com/psf/requests/pull/6458.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6458" }
true
[ "@nateprewitt , what was the problem of having single quotes ?", "There is no problem with single quotes, but Requests uses [black](https://github.com/psf/black/) for formatting which [prefers double quotes](https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#strings)." ]
https://api.github.com/repos/psf/requests/issues/6457
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6457/labels{/name}
https://api.github.com/repos/psf/requests/issues/6457/comments
https://api.github.com/repos/psf/requests/issues/6457/events
https://github.com/psf/requests/pull/6457
1,719,896,275
PR_kwDOABTKOs5RB08L
6,457
v2.31.0
{ "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
0
2023-05-22T15:10:03Z
2024-07-21T00:04:19Z
2023-05-22T15:10:33Z
MEMBER
resolved
2.31.0 (2023-05-22) ------------------- **Security** - Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential forwarding of `Proxy-Authorization` headers to destination servers when following HTTPS redirects. When proxies are defined with user info (https://user:pass@proxy:8080), Requests will construct a `Proxy-Authorization` header that is attached to the request to authenticate with the proxy. In cases where Requests receives a redirect response, it previously reattached the `Proxy-Authorization` header incorrectly, resulting in the value being sent through the tunneled connection to the destination server. Users who rely on defining their proxy credentials in the URL are *strongly* encouraged to upgrade to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy credentials once the change has been fully deployed. Users who do not use a proxy or do not supply their proxy credentials through the user information portion of their proxy URL are not subject to this vulnerability. Full details can be read in our [Github Security Advisory](https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q) and [CVE-2023-32681](https://nvd.nist.gov/vuln/detail/CVE-2023-32681).
{ "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/6457/reactions" }
https://api.github.com/repos/psf/requests/issues/6457/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6457.diff", "html_url": "https://github.com/psf/requests/pull/6457", "merged_at": "2023-05-22T15:10:33Z", "patch_url": "https://github.com/psf/requests/pull/6457.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6457" }
true
[]
https://api.github.com/repos/psf/requests/issues/6456
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6456/labels{/name}
https://api.github.com/repos/psf/requests/issues/6456/comments
https://api.github.com/repos/psf/requests/issues/6456/events
https://github.com/psf/requests/pull/6456
1,713,798,607
PR_kwDOABTKOs5QtYyU
6,456
add docstring parameter hooks
{ "avatar_url": "https://avatars.githubusercontent.com/u/20849658?v=4", "events_url": "https://api.github.com/users/cpzt/events{/privacy}", "followers_url": "https://api.github.com/users/cpzt/followers", "following_url": "https://api.github.com/users/cpzt/following{/other_user}", "gists_url": "https://api.github.com/users/cpzt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpzt", "id": 20849658, "login": "cpzt", "node_id": "MDQ6VXNlcjIwODQ5NjU4", "organizations_url": "https://api.github.com/users/cpzt/orgs", "received_events_url": "https://api.github.com/users/cpzt/received_events", "repos_url": "https://api.github.com/users/cpzt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpzt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpzt/subscriptions", "type": "User", "url": "https://api.github.com/users/cpzt", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-05-17T12:28:43Z
2024-07-30T00:03:53Z
2023-07-30T01:01:43Z
CONTRIBUTOR
resolved
When I read the source code, I found that the `request` method misses parameter hooks in docstring
{ "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/6456/reactions" }
https://api.github.com/repos/psf/requests/issues/6456/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6456.diff", "html_url": "https://github.com/psf/requests/pull/6456", "merged_at": "2023-07-30T01:01:43Z", "patch_url": "https://github.com/psf/requests/pull/6456.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6456" }
true
[]
https://api.github.com/repos/psf/requests/issues/6455
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6455/labels{/name}
https://api.github.com/repos/psf/requests/issues/6455/comments
https://api.github.com/repos/psf/requests/issues/6455/events
https://github.com/psf/requests/issues/6455
1,708,743,145
I_kwDOABTKOs5l2Vnp
6,455
Incorrect behavior with schemeless-dotless host:port URLs
{ "avatar_url": "https://avatars.githubusercontent.com/u/290943?v=4", "events_url": "https://api.github.com/users/itamaro/events{/privacy}", "followers_url": "https://api.github.com/users/itamaro/followers", "following_url": "https://api.github.com/users/itamaro/following{/other_user}", "gists_url": "https://api.github.com/users/itamaro/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/itamaro", "id": 290943, "login": "itamaro", "node_id": "MDQ6VXNlcjI5MDk0Mw==", "organizations_url": "https://api.github.com/users/itamaro/orgs", "received_events_url": "https://api.github.com/users/itamaro/received_events", "repos_url": "https://api.github.com/users/itamaro/repos", "site_admin": false, "starred_url": "https://api.github.com/users/itamaro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/itamaro/subscriptions", "type": "User", "url": "https://api.github.com/users/itamaro", "user_view_type": "public" }
[]
open
false
null
[]
null
11
2023-05-13T21:19:31Z
2023-05-18T15:27:53Z
null
NONE
null
URLs of the form `hostname:8080` (with no scheme, with "hostname" not containing any dots) can be used to refer to the netloc "hostname:8080" `requests.utils.prepend_scheme_if_needed` should correctly prepend the `new_scheme` when provided with such a URL. ## Expected Result the prepended-scheme URL should be "http://hostname:8080" ## Actual Result the prepended-scheme URL is "hostname:///8080" (e.g. treating the "hostname" part as the scheme, no host, no port, and "8080" as the path) I extended the `test_prepend_scheme_if_needed` to demonstrate this behavior (see https://github.com/psf/requests/compare/main...itamaro:requests:schemeless-hostname-anad-port-bug) ## Reproduction Steps ```python from requests.utils import prepend_scheme_if_needed print(prepend_scheme_if_needed("hostname:8080", "http")) ``` ## System Information $ python -m requests.help ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "3.1.0" }, "cryptography": { "version": "" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.10.4" }, "platform": { "release": "22.4.0", "system": "Darwin" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.30.0" }, "system_ssl": { "version": "101010ef" }, "urllib3": { "version": "2.0.2" }, "using_charset_normalizer": true, "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/6455/reactions" }
https://api.github.com/repos/psf/requests/issues/6455/timeline
null
null
null
null
false
[ "How does this realistically affect users who aren't using utils which aren't part of the public API? ", "> How does this realistically affect users who aren't using utils which aren't part of the public API?\r\n\r\nah sorry, I went down a rabbit hole tracking down the issue to this that I forgot to mention the u...
https://api.github.com/repos/psf/requests/issues/6454
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6454/labels{/name}
https://api.github.com/repos/psf/requests/issues/6454/comments
https://api.github.com/repos/psf/requests/issues/6454/events
https://github.com/psf/requests/pull/6454
1,704,948,479
PR_kwDOABTKOs5QP0Jj
6,454
Add os.PathLike support for cert files
{ "avatar_url": "https://avatars.githubusercontent.com/u/86739818?v=4", "events_url": "https://api.github.com/users/steveberdy/events{/privacy}", "followers_url": "https://api.github.com/users/steveberdy/followers", "following_url": "https://api.github.com/users/steveberdy/following{/other_user}", "gists_url": "https://api.github.com/users/steveberdy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/steveberdy", "id": 86739818, "login": "steveberdy", "node_id": "MDQ6VXNlcjg2NzM5ODE4", "organizations_url": "https://api.github.com/users/steveberdy/orgs", "received_events_url": "https://api.github.com/users/steveberdy/received_events", "repos_url": "https://api.github.com/users/steveberdy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/steveberdy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/steveberdy/subscriptions", "type": "User", "url": "https://api.github.com/users/steveberdy", "user_view_type": "public" }
[]
open
false
null
[]
null
3
2023-05-11T02:36:35Z
2023-08-17T02:49:29Z
null
CONTRIBUTOR
null
## Summary Adds support for any path-like object, including `pathlib.Path`. See https://github.com/psf/requests/issues/5936#issuecomment-931758148 for more details. Some things have changed since the linked issue was created, so it may be a good time to add support now. Fixes #5936
null
{ "+1": 2, "-1": 1, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/psf/requests/issues/6454/reactions" }
https://api.github.com/repos/psf/requests/issues/6454/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6454.diff", "html_url": "https://github.com/psf/requests/pull/6454", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6454.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6454" }
true
[ "My main concern is that if we add support here, folks will want us to support it everywhere else we accept file-like objects and that's not exactly tenable for us to support", "Maybe it doesn't have to be advertised, and we can add in path-like support slowly where it is feasible.", "Should I close this?" ]
https://api.github.com/repos/psf/requests/issues/6453
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6453/labels{/name}
https://api.github.com/repos/psf/requests/issues/6453/comments
https://api.github.com/repos/psf/requests/issues/6453/events
https://github.com/psf/requests/issues/6453
1,703,537,523
I_kwDOABTKOs5lietz
6,453
Error when requesting URL which contains emojis or certain characters
{ "avatar_url": "https://avatars.githubusercontent.com/u/23096738?v=4", "events_url": "https://api.github.com/users/emilio-cea/events{/privacy}", "followers_url": "https://api.github.com/users/emilio-cea/followers", "following_url": "https://api.github.com/users/emilio-cea/following{/other_user}", "gists_url": "https://api.github.com/users/emilio-cea/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/emilio-cea", "id": 23096738, "login": "emilio-cea", "node_id": "MDQ6VXNlcjIzMDk2NzM4", "organizations_url": "https://api.github.com/users/emilio-cea/orgs", "received_events_url": "https://api.github.com/users/emilio-cea/received_events", "repos_url": "https://api.github.com/users/emilio-cea/repos", "site_admin": false, "starred_url": "https://api.github.com/users/emilio-cea/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/emilio-cea/subscriptions", "type": "User", "url": "https://api.github.com/users/emilio-cea", "user_view_type": "public" }
[]
open
false
null
[]
null
6
2023-05-10T09:50:51Z
2023-06-22T09:28:36Z
null
NONE
null
When performing a GET request to a URL which contains emojis, a redirection occurs in which the `location` header also contains emojis. From the stacktrace error I believe there's an error when handling redirects if the URL contains certain characters or emojis on it, but further investigation could yield better results. This is the URL in question: `https://www.nulled.to/topic/512174-income-ocean-�-hf-leak-�☀️/` It can be found on a forum page, where the source HTML contains these emojis and characters: `https://www.nulled.to/forum/9-tutorials-guides-ebooks-etc/page-779?prune_day=100&sort_by=Z-A&sort_key=start_date&topicfilter=all` _Note that when making the request to the URL, since it's a Cloudflare protected forum, an error 403 can happen in which case, the error mentioned further below **does not happen**. That's why it leads me to believe the error happens only when a redirection occurs, as the `location` header which requests is trying to fetch also contains emojis and then, the encoding error happens._ ## Expected Result Making the request to the site successfully and returning HTML source code. ## Actual Result An error was raised: UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 48-50: invalid continuation byte This is the stacktrace: ```bash File "workdir/env/lib/python3.7/site-packages/requests/api.py", line 76, in get return request('get', url, params=params, **kwargs) File "workdir/env/lib/python3.7/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "workdir/env/lib/python3.7/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "workdir/env/lib/python3.7/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "workdir/env/lib/python3.7/site-packages/requests/sessions.py", line 677, in <listcomp> history = [resp for resp in gen] File "workdir/env/lib/python3.7/site-packages/requests/sessions.py", line 150, in resolve_redirects url = self.get_redirect_target(resp) File "workdir/env/lib/python3.7/site-packages/requests/sessions.py", line 116, in get_redirect_target return to_native_string(location, 'utf8') File "workdir/env/lib/python3.7/site-packages/requests/_internal_utils.py", line 25, in to_native_string out = string.decode(encoding) ``` ## Reproduction Steps ```python import requests url = "https://www.nulled.to/topic/512174-income-ocean-�-hf-leak-�☀️/" r=requests.get(url) print(r.content) ``` ## System Information $ python -m requests.help ```json { "chardet": { "version": "4.0.0" }, "cryptography": { "version": "" }, "idna": { "version": "2.10" }, "implementation": { "name": "CPython", "version": "3.7.3" }, "platform": { "release": "4.19.0-22-amd64", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.25.1" }, "system_ssl": { "version": "101010ef" }, "urllib3": { "version": "1.26.3" }, "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/6453/reactions" }
https://api.github.com/repos/psf/requests/issues/6453/timeline
null
null
null
null
false
[ "This is related to #3969. We're trying to use utf8 to handle the redirect URL but the translation from bytes to utf8 string is what's failing.\n\nI suspect there's something other than emoji in that url", "> \r\n\r\nIt seems like the replacement character: U+FFFD REPLACEMENT CHARACTER ", "And I've seen there a...
https://api.github.com/repos/psf/requests/issues/6452
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6452/labels{/name}
https://api.github.com/repos/psf/requests/issues/6452/comments
https://api.github.com/repos/psf/requests/issues/6452/events
https://github.com/psf/requests/pull/6452
1,702,240,848
PR_kwDOABTKOs5QGtu1
6,452
Small typo fix in HISTORY.md
{ "avatar_url": "https://avatars.githubusercontent.com/u/39564496?v=4", "events_url": "https://api.github.com/users/syed-saif/events{/privacy}", "followers_url": "https://api.github.com/users/syed-saif/followers", "following_url": "https://api.github.com/users/syed-saif/following{/other_user}", "gists_url": "https://api.github.com/users/syed-saif/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/syed-saif", "id": 39564496, "login": "syed-saif", "node_id": "MDQ6VXNlcjM5NTY0NDk2", "organizations_url": "https://api.github.com/users/syed-saif/orgs", "received_events_url": "https://api.github.com/users/syed-saif/received_events", "repos_url": "https://api.github.com/users/syed-saif/repos", "site_admin": false, "starred_url": "https://api.github.com/users/syed-saif/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/syed-saif/subscriptions", "type": "User", "url": "https://api.github.com/users/syed-saif", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-05-09T15:08:51Z
2024-05-10T00:05:52Z
2023-05-09T16:55:34Z
CONTRIBUTOR
resolved
I was going through the release history docs to ensure compatibility safety in case of upgrading the package to the latest version. While doing so found this minuscule typo in the docs, where the word `entries` was written as `entires`. Forgive me for the petty nitpicking but just thought of proposing a fix 😅
{ "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/6452/reactions" }
https://api.github.com/repos/psf/requests/issues/6452/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6452.diff", "html_url": "https://github.com/psf/requests/pull/6452", "merged_at": "2023-05-09T16:55:34Z", "patch_url": "https://github.com/psf/requests/pull/6452.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6452" }
true
[ "mass kaatiyadhaga unargirar @syed-saif " ]
https://api.github.com/repos/psf/requests/issues/6451
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6451/labels{/name}
https://api.github.com/repos/psf/requests/issues/6451/comments
https://api.github.com/repos/psf/requests/issues/6451/events
https://github.com/psf/requests/pull/6451
1,700,854,598
PR_kwDOABTKOs5QCD9-
6,451
Adding new tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/61120480?v=4", "events_url": "https://api.github.com/users/abhinavyedla02/events{/privacy}", "followers_url": "https://api.github.com/users/abhinavyedla02/followers", "following_url": "https://api.github.com/users/abhinavyedla02/following{/other_user}", "gists_url": "https://api.github.com/users/abhinavyedla02/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/abhinavyedla02", "id": 61120480, "login": "abhinavyedla02", "node_id": "MDQ6VXNlcjYxMTIwNDgw", "organizations_url": "https://api.github.com/users/abhinavyedla02/orgs", "received_events_url": "https://api.github.com/users/abhinavyedla02/received_events", "repos_url": "https://api.github.com/users/abhinavyedla02/repos", "site_admin": false, "starred_url": "https://api.github.com/users/abhinavyedla02/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/abhinavyedla02/subscriptions", "type": "User", "url": "https://api.github.com/users/abhinavyedla02", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-05-08T20:05:12Z
2024-05-08T00:03:09Z
2023-05-08T20:11:12Z
NONE
resolved
Instead of defining prepare_url as a fixture, it could be defined as a function that is used within the fixture definitions. This would make the code more readable and avoid confusion about what prepare_url is doing. It might be useful to add more tests that use the httpbin and httpbin_secure fixtures to test different HTTP methods, response codes, and request parameters. This would help ensure that the fixtures are working correctly and that the requests library is handling HTTP requests and responses as expected.
{ "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/6451/reactions" }
https://api.github.com/repos/psf/requests/issues/6451/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6451.diff", "html_url": "https://github.com/psf/requests/pull/6451", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6451.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6451" }
true
[ "Hi @abhinavyedla02, thanks for the contribution. I'm not sure if this provides a meaningful change to the test suite. It's arguable if readability is improved and moves away from the general intention of [conftest.py](https://docs.pytest.org/en/6.2.x/fixture.html#conftest-py-sharing-fixtures-across-multiple-files)...
https://api.github.com/repos/psf/requests/issues/6450
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6450/labels{/name}
https://api.github.com/repos/psf/requests/issues/6450/comments
https://api.github.com/repos/psf/requests/issues/6450/events
https://github.com/psf/requests/pull/6450
1,700,820,227
PR_kwDOABTKOs5QB8Xg
6,450
optimizing the resolve-redirects method in sessions.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/72718241?v=4", "events_url": "https://api.github.com/users/RitvikY/events{/privacy}", "followers_url": "https://api.github.com/users/RitvikY/followers", "following_url": "https://api.github.com/users/RitvikY/following{/other_user}", "gists_url": "https://api.github.com/users/RitvikY/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/RitvikY", "id": 72718241, "login": "RitvikY", "node_id": "MDQ6VXNlcjcyNzE4MjQx", "organizations_url": "https://api.github.com/users/RitvikY/orgs", "received_events_url": "https://api.github.com/users/RitvikY/received_events", "repos_url": "https://api.github.com/users/RitvikY/repos", "site_admin": false, "starred_url": "https://api.github.com/users/RitvikY/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RitvikY/subscriptions", "type": "User", "url": "https://api.github.com/users/RitvikY", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-05-08T19:40:26Z
2024-05-08T00:03:10Z
2023-05-08T19:50:05Z
NONE
resolved
My attempt at optimizing the resolve redirects method
{ "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/6450/reactions" }
https://api.github.com/repos/psf/requests/issues/6450/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6450.diff", "html_url": "https://github.com/psf/requests/pull/6450", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6450.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6450" }
true
[ "Hi @RitvikY, thanks for the contribution! Unfortunately, I don't believe this is something we'd take at this time. Requests is largely under a feature freeze and we won't often accept refactors that don't solve a specific, wide-spread use case. I don't believe this meets that criteria." ]
https://api.github.com/repos/psf/requests/issues/6449
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6449/labels{/name}
https://api.github.com/repos/psf/requests/issues/6449/comments
https://api.github.com/repos/psf/requests/issues/6449/events
https://github.com/psf/requests/pull/6449
1,700,751,003
PR_kwDOABTKOs5QBtFw
6,449
add test for httpbin_secure /stream/20
{ "avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4", "events_url": "https://api.github.com/users/graingert/events{/privacy}", "followers_url": "https://api.github.com/users/graingert/followers", "following_url": "https://api.github.com/users/graingert/following{/other_user}", "gists_url": "https://api.github.com/users/graingert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/graingert", "id": 413772, "login": "graingert", "node_id": "MDQ6VXNlcjQxMzc3Mg==", "organizations_url": "https://api.github.com/users/graingert/orgs", "received_events_url": "https://api.github.com/users/graingert/received_events", "repos_url": "https://api.github.com/users/graingert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/graingert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/graingert/subscriptions", "type": "User", "url": "https://api.github.com/users/graingert", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-05-08T18:52:34Z
2024-05-11T00:04:05Z
2023-05-11T13:26:32Z
CONTRIBUTOR
resolved
null
{ "avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4", "events_url": "https://api.github.com/users/graingert/events{/privacy}", "followers_url": "https://api.github.com/users/graingert/followers", "following_url": "https://api.github.com/users/graingert/following{/other_user}", "gists_url": "https://api.github.com/users/graingert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/graingert", "id": 413772, "login": "graingert", "node_id": "MDQ6VXNlcjQxMzc3Mg==", "organizations_url": "https://api.github.com/users/graingert/orgs", "received_events_url": "https://api.github.com/users/graingert/received_events", "repos_url": "https://api.github.com/users/graingert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/graingert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/graingert/subscriptions", "type": "User", "url": "https://api.github.com/users/graingert", "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/6449/reactions" }
https://api.github.com/repos/psf/requests/issues/6449/timeline
null
null
true
{ "diff_url": "https://github.com/psf/requests/pull/6449.diff", "html_url": "https://github.com/psf/requests/pull/6449", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6449.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6449" }
true
[ "maybe related to https://github.com/python/cpython/issues/87954 ?" ]
https://api.github.com/repos/psf/requests/issues/6448
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6448/labels{/name}
https://api.github.com/repos/psf/requests/issues/6448/comments
https://api.github.com/repos/psf/requests/issues/6448/events
https://github.com/psf/requests/pull/6448
1,700,649,775
PR_kwDOABTKOs5QBXN3
6,448
test on py3.12
{ "avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4", "events_url": "https://api.github.com/users/graingert/events{/privacy}", "followers_url": "https://api.github.com/users/graingert/followers", "following_url": "https://api.github.com/users/graingert/following{/other_user}", "gists_url": "https://api.github.com/users/graingert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/graingert", "id": 413772, "login": "graingert", "node_id": "MDQ6VXNlcjQxMzc3Mg==", "organizations_url": "https://api.github.com/users/graingert/orgs", "received_events_url": "https://api.github.com/users/graingert/received_events", "repos_url": "https://api.github.com/users/graingert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/graingert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/graingert/subscriptions", "type": "User", "url": "https://api.github.com/users/graingert", "user_view_type": "public" }
[]
closed
true
null
[]
null
9
2023-05-08T17:39:41Z
2024-05-26T00:03:57Z
2023-05-13T14:10:56Z
CONTRIBUTOR
resolved
null
{ "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/6448/reactions" }
https://api.github.com/repos/psf/requests/issues/6448/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6448.diff", "html_url": "https://github.com/psf/requests/pull/6448", "merged_at": "2023-05-13T14:10:56Z", "patch_url": "https://github.com/psf/requests/pull/6448.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6448" }
true
[ "@graingert Is pytest-httpbin==2.0.0rc1 going to be promoted to stable? ", "@sethmlarson hopefully, just blowing the dust off of CI https://github.com/kevin1024/pytest-httpbin/pull/76\r\n\r\ncan you get someone to look at https://github.com/postmanlabs/httpbin/pull/684/files ?", "@graingert, httpbin appears to ...
https://api.github.com/repos/psf/requests/issues/6447
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6447/labels{/name}
https://api.github.com/repos/psf/requests/issues/6447/comments
https://api.github.com/repos/psf/requests/issues/6447/events
https://github.com/psf/requests/issues/6447
1,698,686,562
I_kwDOABTKOs5lP-Zi
6,447
POST no longer detects the correct charset
{ "avatar_url": "https://avatars.githubusercontent.com/u/20974507?v=4", "events_url": "https://api.github.com/users/el-dge/events{/privacy}", "followers_url": "https://api.github.com/users/el-dge/followers", "following_url": "https://api.github.com/users/el-dge/following{/other_user}", "gists_url": "https://api.github.com/users/el-dge/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/el-dge", "id": 20974507, "login": "el-dge", "node_id": "MDQ6VXNlcjIwOTc0NTA3", "organizations_url": "https://api.github.com/users/el-dge/orgs", "received_events_url": "https://api.github.com/users/el-dge/received_events", "repos_url": "https://api.github.com/users/el-dge/repos", "site_admin": false, "starred_url": "https://api.github.com/users/el-dge/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/el-dge/subscriptions", "type": "User", "url": "https://api.github.com/users/el-dge", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-05-06T16:07:24Z
2024-05-06T00:03:34Z
2023-05-06T16:12:24Z
NONE
resolved
<!-- Summary. --> With new version, the header _Content-Type_ is not set good (not set at all). I have an **é** in the data post. ## Expected Result In the headers : `'Content-Type': 'text/plain; charset=UTF-8'` <!-- What you expected. --> ## Actual Result Header _Content-Type_ is not set, Requests not recognize **é** in data and don't add `'Content-Type': 'text/plain; charset=UTF-8'` <!-- What happened instead. --> ## Reproduction Steps ```python import requests requests.post('https://warp.senx.io/api/v0/exec', data="'é' DUP SIZE ").text ``` bad response: `'[2,"\\u00C3\\u00A9"]'` [Here for explication of the response](https://www.warp10.io/content/03_Documentation/03_Interacting_with_Warp_10/09_Analysing_data#encoding) I must specify header (not need before, one week ago): ```python import requests requests.post('https://warp.senx.io/api/v0/exec', data="'é' DUP SIZE ", headers={'Content-Type': 'text/plain; charset=UTF-8'}).text ``` good response : `'[1,"\\u00E9"]'` ## System Information $ python -m requests.help ```json /usr/lib64/python3.9/site-packages/requests/help.py:24: DeprecationWarning: 'urllib3.contrib.pyopenssl' module is deprecated and will be removed in urllib3 v2.1.0. Read more in this issue: https://github.com/urllib3/urllib3/issues/2680 from urllib3.contrib import pyopenssl { "chardet": { "version": "5.1.0" }, "charset_normalizer": { "version": "3.1.0" }, "cryptography": { "version": "40.0.2" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.9.16" }, "platform": { "release": "5.15.94", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "30100000", "version": "23.1.1" }, "requests": { "version": "2.30.0" }, "system_ssl": { "version": "1010114f" }, "urllib3": { "version": "2.0.2" }, "using_charset_normalizer": false, "using_pyopenssl": true } ``` Thx in advance. <!-- 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/6447/reactions" }
https://api.github.com/repos/psf/requests/issues/6447/timeline
null
completed
null
null
false
[ "Hi @el-dge, \n\nThis behavior isn't handled by Requests, but a dependency charset-normalizer.\n\nWithout context on a larger body of text, that could be a number of possible encoding.\n\nYour best bet is to set `encoding` on the response before calling `text()` if you want to enforce utf-8 when content-type isn't ...
https://api.github.com/repos/psf/requests/issues/6446
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6446/labels{/name}
https://api.github.com/repos/psf/requests/issues/6446/comments
https://api.github.com/repos/psf/requests/issues/6446/events
https://github.com/psf/requests/issues/6446
1,698,679,749
I_kwDOABTKOs5lP8vF
6,446
WinError 10053 recved when send data to client
{ "avatar_url": "https://avatars.githubusercontent.com/u/16360165?v=4", "events_url": "https://api.github.com/users/programsalon/events{/privacy}", "followers_url": "https://api.github.com/users/programsalon/followers", "following_url": "https://api.github.com/users/programsalon/following{/other_user}", "gists_url": "https://api.github.com/users/programsalon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/programsalon", "id": 16360165, "login": "programsalon", "node_id": "MDQ6VXNlcjE2MzYwMTY1", "organizations_url": "https://api.github.com/users/programsalon/orgs", "received_events_url": "https://api.github.com/users/programsalon/received_events", "repos_url": "https://api.github.com/users/programsalon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/programsalon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/programsalon/subscriptions", "type": "User", "url": "https://api.github.com/users/programsalon", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-05-06T15:47:35Z
2024-05-06T00:03:35Z
2023-05-06T16:22:54Z
NONE
resolved
<!-- Summary. --> I used stream=True,timeout=60 in client, and when I use iter_content, it's failed for timeout, so I try get it again, but the connection closed by it (the client). I think of that the connection should not be closed so I can use iter_content for many times in while() ## Expected Result <!-- What you expected. --> ## Actual Result <!-- What happened instead. --> ## Reproduction Steps ```python import requests ``` ## System Information $ python -m requests.help ```json { "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/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/6446/reactions" }
https://api.github.com/repos/psf/requests/issues/6446/timeline
null
not_planned
null
null
false
[ "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here." ]
https://api.github.com/repos/psf/requests/issues/6445
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6445/labels{/name}
https://api.github.com/repos/psf/requests/issues/6445/comments
https://api.github.com/repos/psf/requests/issues/6445/events
https://github.com/psf/requests/issues/6445
1,697,375,243
I_kwDOABTKOs5lK-QL
6,445
Error: AttributeError: type object 'Retry' has no attribute 'DEFAULT_METHOD_WHITELIST'
{ "avatar_url": "https://avatars.githubusercontent.com/u/29627036?v=4", "events_url": "https://api.github.com/users/aiwalter/events{/privacy}", "followers_url": "https://api.github.com/users/aiwalter/followers", "following_url": "https://api.github.com/users/aiwalter/following{/other_user}", "gists_url": "https://api.github.com/users/aiwalter/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aiwalter", "id": 29627036, "login": "aiwalter", "node_id": "MDQ6VXNlcjI5NjI3MDM2", "organizations_url": "https://api.github.com/users/aiwalter/orgs", "received_events_url": "https://api.github.com/users/aiwalter/received_events", "repos_url": "https://api.github.com/users/aiwalter/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aiwalter/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aiwalter/subscriptions", "type": "User", "url": "https://api.github.com/users/aiwalter", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-05-05T10:23:46Z
2024-05-05T00:03:36Z
2023-05-05T11:56:22Z
NONE
resolved
Recent `urllib3 2.0.2` seems not compatible with `requests`? ## Expected Result <!-- What you expected. --> ## Actual Result <!-- What happened instead. --> ## Reproduction Steps ```python import requests ``` ## System Information $ python -m requests.help ```json { "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/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/6445/reactions" }
https://api.github.com/repos/psf/requests/issues/6445/timeline
null
not_planned
null
null
false
[ "Duplicate of #6432\n\nYou're using an outdated and long deprecated attribute from urllib3 retries in your code somewhere. This isn't a bug in requests " ]
https://api.github.com/repos/psf/requests/issues/6444
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6444/labels{/name}
https://api.github.com/repos/psf/requests/issues/6444/comments
https://api.github.com/repos/psf/requests/issues/6444/events
https://github.com/psf/requests/issues/6444
1,697,213,243
I_kwDOABTKOs5lKWs7
6,444
dependency conflict: botocore 1.29.127 requires urllib3<1.27,>=1.25.4, but you have urllib3 2.0.2 which is incompatible.
{ "avatar_url": "https://avatars.githubusercontent.com/u/122984252?v=4", "events_url": "https://api.github.com/users/AlexTNewell/events{/privacy}", "followers_url": "https://api.github.com/users/AlexTNewell/followers", "following_url": "https://api.github.com/users/AlexTNewell/following{/other_user}", "gists_url": "https://api.github.com/users/AlexTNewell/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexTNewell", "id": 122984252, "login": "AlexTNewell", "node_id": "U_kgDOB1SXPA", "organizations_url": "https://api.github.com/users/AlexTNewell/orgs", "received_events_url": "https://api.github.com/users/AlexTNewell/received_events", "repos_url": "https://api.github.com/users/AlexTNewell/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexTNewell/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexTNewell/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexTNewell", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-05-05T08:23:26Z
2024-05-05T00:03:35Z
2023-05-05T11:57:41Z
NONE
resolved
I am a new developer and am having an issue with my API gateway API. It returns the following error: {"errorMessage": "Unable to import module 'app': cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/var/task/urllib3/util/ssl_.py)", "errorType": "Runtime.ImportModuleError" and I'm pretty sure it has something to do with the dependency conflict: botocore 1.29.127 requires urllib3<1.27,>=1.25.4, but you have urllib3 2.0.2 which is incompatible. Does this sound familiar to anyone?
{ "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/6444/reactions" }
https://api.github.com/repos/psf/requests/issues/6444/timeline
null
not_planned
null
null
false
[ "botocore needs to update the setup requirements to have urllib3<2.", "Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only repo...
https://api.github.com/repos/psf/requests/issues/6443
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6443/labels{/name}
https://api.github.com/repos/psf/requests/issues/6443/comments
https://api.github.com/repos/psf/requests/issues/6443/events
https://github.com/psf/requests/issues/6443
1,696,781,177
I_kwDOABTKOs5lItN5
6,443
Latest release of requests causes urllib3 to throw an error
{ "avatar_url": "https://avatars.githubusercontent.com/u/5657826?v=4", "events_url": "https://api.github.com/users/Rach81/events{/privacy}", "followers_url": "https://api.github.com/users/Rach81/followers", "following_url": "https://api.github.com/users/Rach81/following{/other_user}", "gists_url": "https://api.github.com/users/Rach81/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Rach81", "id": 5657826, "login": "Rach81", "node_id": "MDQ6VXNlcjU2NTc4MjY=", "organizations_url": "https://api.github.com/users/Rach81/orgs", "received_events_url": "https://api.github.com/users/Rach81/received_events", "repos_url": "https://api.github.com/users/Rach81/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Rach81/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Rach81/subscriptions", "type": "User", "url": "https://api.github.com/users/Rach81", "user_view_type": "public" }
[]
closed
true
null
[]
null
29
2023-05-04T22:27:39Z
2023-08-12T19:35:52Z
2023-08-12T19:35:41Z
NONE
resolved
A previously working lambda function started throwing this error. { "errorMessage": "Unable to import module 'app': cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/var/task/urllib3/util/ssl_.py)", "errorType": "Runtime.ImportModuleError", "requestId": "30bf7245-a58f-4192-81e3-5d122fb31d11", "stackTrace": [] } While trying to debug the issue, I narrowed it down to being a problem with requests (new release yesterday 5/3/2023). I then tried referencing the prior release which fixed the problem and my function worked as expected again. To reproduce the error. requirements,txt > requests- uses the latest release (2.30.0) and causes the lambda function to throw the error above. requirements,txt > requests==2.29.0 - uses the prior release (2.29.0). With this release the error above no longer occurs.
{ "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": 46, "-1": 0, "confused": 0, "eyes": 6, "heart": 0, "hooray": 2, "laugh": 0, "rocket": 0, "total_count": 54, "url": "https://api.github.com/repos/psf/requests/issues/6443/reactions" }
https://api.github.com/repos/psf/requests/issues/6443/timeline
null
completed
null
null
false
[ "Hi @Rach81,\r\n\r\nThis is unrelated to Requests. You're installing a version of urllib3 that's incompatible with the version of Boto3 bundled in your runtime. You'll either need to pin your urllib3 dependency to `urllib3<2` or rely on the one provided by Lambda.", "I'm not directly installing urllib3 anywhere. ...
https://api.github.com/repos/psf/requests/issues/6442
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6442/labels{/name}
https://api.github.com/repos/psf/requests/issues/6442/comments
https://api.github.com/repos/psf/requests/issues/6442/events
https://github.com/psf/requests/issues/6442
1,696,319,476
I_kwDOABTKOs5lG8f0
6,442
ValueError: Timeout value connect was <object... under jenkins-job-builder exceptions after upgrade to 2.30.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/1909753?v=4", "events_url": "https://api.github.com/users/brackendawson/events{/privacy}", "followers_url": "https://api.github.com/users/brackendawson/followers", "following_url": "https://api.github.com/users/brackendawson/following{/other_user}", "gists_url": "https://api.github.com/users/brackendawson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/brackendawson", "id": 1909753, "login": "brackendawson", "node_id": "MDQ6VXNlcjE5MDk3NTM=", "organizations_url": "https://api.github.com/users/brackendawson/orgs", "received_events_url": "https://api.github.com/users/brackendawson/received_events", "repos_url": "https://api.github.com/users/brackendawson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/brackendawson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/brackendawson/subscriptions", "type": "User", "url": "https://api.github.com/users/brackendawson", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-05-04T16:29:20Z
2024-05-05T00:03:37Z
2023-05-05T09:41:36Z
NONE
resolved
Recent installations of jenkins-job-builder which use requests 2.30.0 fail. Previously on 2.29.0 the same automation it was working. ## Actual Result After the automation started picking 2.30.0 it installs but when ran it fails with this stack: ``` Traceback (most recent call last): File "/home/jenkins/.local/lib/python3.10/site-packages/jenkins/__init__.py", line 822, in get_info return json.loads(self.jenkins_open( File "/home/jenkins/.local/lib/python3.10/site-packages/jenkins/__init__.py", line 560, in jenkins_open return self.jenkins_request(req, add_crumb, resolve_auth).text File "/home/jenkins/.local/lib/python3.10/site-packages/jenkins/__init__.py", line 576, in jenkins_request self.maybe_add_crumb(req) File "/home/jenkins/.local/lib/python3.10/site-packages/jenkins/__init__.py", line 373, in maybe_add_crumb response = self.jenkins_open(requests.Request( File "/home/jenkins/.local/lib/python3.10/site-packages/jenkins/__init__.py", line 560, in jenkins_open return self.jenkins_request(req, add_crumb, resolve_auth).text File "/home/jenkins/.local/lib/python3.10/site-packages/jenkins/__init__.py", line 579, in jenkins_request self._request(req)) File "/home/jenkins/.local/lib/python3.10/site-packages/jenkins/__init__.py", line 553, in _request return self._session.send(r, **_settings) File "/home/jenkins/.local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/home/jenkins/.local/lib/python3.10/site-packages/requests/adapters.py", line 483, in send timeout = TimeoutSauce(connect=timeout, read=timeout) File "/home/jenkins/.local/lib/python3.10/site-packages/urllib3/util/timeout.py", line 119, in __init__ self._connect = self._validate_timeout(connect, "connect") File "/home/jenkins/.local/lib/python3.10/site-packages/urllib3/util/timeout.py", line 156, in _validate_timeout raise ValueError( ValueError: Timeout value connect was <object object at 0x7f1d409a08b0>, but it must be an int, float or None. During handling of the above exception, another exception occurred: ... the same stack repeated about 650 times ... ``` ## Reproduction Steps 1. Install Python 3.10 on Linux 2. Install jenkins-job-builder 5.0.2 3. Use jenkins job builder to configure jobs in a jenkins instance. Sorry, this is very involved, I'm working on a reduced recreate. ## System Information $ python -m requests.help ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "3.1.0" }, "cryptography": { "version": "" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.10.10" }, "platform": { "release": "5.4.0-139-generic", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.30.0" }, "system_ssl": { "version": "1010106f" }, "urllib3": { "version": "2.0.2" }, "using_charset_normalizer": true, "using_pyopenssl": false } ``` I suspect this might be related to #6432
{ "avatar_url": "https://avatars.githubusercontent.com/u/1909753?v=4", "events_url": "https://api.github.com/users/brackendawson/events{/privacy}", "followers_url": "https://api.github.com/users/brackendawson/followers", "following_url": "https://api.github.com/users/brackendawson/following{/other_user}", "gists_url": "https://api.github.com/users/brackendawson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/brackendawson", "id": 1909753, "login": "brackendawson", "node_id": "MDQ6VXNlcjE5MDk3NTM=", "organizations_url": "https://api.github.com/users/brackendawson/orgs", "received_events_url": "https://api.github.com/users/brackendawson/received_events", "repos_url": "https://api.github.com/users/brackendawson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/brackendawson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/brackendawson/subscriptions", "type": "User", "url": "https://api.github.com/users/brackendawson", "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/6442/reactions" }
https://api.github.com/repos/psf/requests/issues/6442/timeline
null
completed
null
null
false
[ "I suspect something in `**_settings` in this line in your stack trace is part of the issue: \r\n\r\n```\r\n return self._session.send(r, **_settings)\r\n```\r\n\r\nThe line right before it [sets the timeout](https://opendev.org/jjb/python-jenkins/src/commit/70dc3e4f711088e0cc9f0a92706fee3cb0757bac/jenkins/__ini...
https://api.github.com/repos/psf/requests/issues/6441
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6441/labels{/name}
https://api.github.com/repos/psf/requests/issues/6441/comments
https://api.github.com/repos/psf/requests/issues/6441/events
https://github.com/psf/requests/issues/6441
1,695,914,807
I_kwDOABTKOs5lFZs3
6,441
Poetry cannot publish artifacts anymore due to auto update to requests 2.30.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/189402?v=4", "events_url": "https://api.github.com/users/dabla/events{/privacy}", "followers_url": "https://api.github.com/users/dabla/followers", "following_url": "https://api.github.com/users/dabla/following{/other_user}", "gists_url": "https://api.github.com/users/dabla/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dabla", "id": 189402, "login": "dabla", "node_id": "MDQ6VXNlcjE4OTQwMg==", "organizations_url": "https://api.github.com/users/dabla/orgs", "received_events_url": "https://api.github.com/users/dabla/received_events", "repos_url": "https://api.github.com/users/dabla/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dabla/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dabla/subscriptions", "type": "User", "url": "https://api.github.com/users/dabla", "user_view_type": "public" }
[]
closed
true
null
[]
null
15
2023-05-04T12:28:59Z
2023-07-12T20:58:09Z
2023-05-04T14:37:35Z
NONE
null
When doing a publish of an artifact with poetry, it suddenly starts failing due to requests 2.30.0. `poetry publish -vvv -r $REPOSITRY -u $USERNAME -p $PASSWORD` ## Expected Result The artifact build in poetry get's published on artifactory. ``` Loading configuration file /opt/app-root/.config/pypoetry/config.toml Adding repository default-pypi (https://artifactory/artifactory/api/pypi/pypi/simple) and setting it as the default one Adding repository my-pypi (https://artifactory/artifactory/api/pypi/my-pypi/simple) and setting it as secondary Deactivating the PyPI repository Publishing my_artifact (0.2.0) to artifactory - Uploading my_artifact-0.2.0-py3-none-any.whl 0%[urllib3.connectionpool] Starting new HTTPS connection (1): artifactory:443 - Uploading my_artifact-0.2.0-py3-none-any.whl 100%[urllib3.connectionpool] https://artifactory:443 "POST /artifactory/api/pypi/my-pypi HTTP/1.1" 200 0 - Uploading my_artifact-0.2.0.tar.gz 0% - Uploading my_artifact-0.2.0.tar.gz 100%[urllib3.connectionpool] https://artifactory:443 "POST /artifactory/api/pypi/my-pypi HTTP/1.1" 200 0 ``` ## Actual Result 'poetry install -vv Using virtualenv: /opt/app-root Installing dependencies from lock file Finding the necessary packages for the current system Package operations: 59 installs, 3 updates, 0 removals, 11 skipped • Installing markupsafe (2.1.2) • Installing pyparsing (3.0.9) • Installing sniffio (1.3.0) • Updating urllib3 (1.26.15 -> 2.0.2) • Installing alabaster (0.7.13) • Installing anyio (3.6.2) • Installing babel (2.12.1) • Installing docutils (0.17.1) • Installing exceptiongroup (1.1.1) • Installing h11 (0.14.0) • Installing imagesize (1.4.1) • Installing iniconfig (2.0.0) • Installing jinja2 (3.1.2) • Installing lazy-object-proxy (1.9.0) • Installing mccabe (0.6.1) • Installing pluggy (1.0.0) • Installing pycodestyle (2.7.0) • Installing pydot (1.4.2) • Installing pyflakes (2.3.1) • Installing pygments (2.15.1) • Updating requests (2.29.0 -> 2.30.0) • Installing snowballstemmer (2.2.0) • Installing sphinxcontrib-applehelp (1.0.4) • Installing sphinxcontrib-devhelp (1.0.2) • Installing sphinxcontrib-htmlhelp (2.0.1) • Installing sphinxcontrib-jsmath (1.0.1) • Installing sphinxcontrib-qthelp (1.0.3) • Installing sphinxcontrib-serializinghtml (1.1.5) • Installing typing-extensions (4.5.0) • Installing wrapt (1.15.0) [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 • Installing astmonkey (0.3.6) • Installing astroid (2.15.4) • Installing click (8.1.3) • Installing coverage (6.5.0) • Installing dill (0.3.6) • Installing flake8 (3.9.2) • Installing httpcore (0.17.0) • Installing isort (5.12.0) • Installing mypy-extensions (1.0.0) • Installing pathspec (0.11.1) • Updating platformdirs (2.6.2 -> 3.5.0) • Installing pytest (7.3.1) • Installing pyyaml (6.0) • Installing sphinx (4.5.0) • Installing termcolor (2.3.0) [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 [urllib3.connectionpool] Connection pool is full, discarding connection: artifactory. Connection pool size: 10 • Installing assertpy (1.1) • Installing black (22.3.0) • Installing bump2version (1.0.1): Skipped for the following reason: Already installed • Installing certifi (2022.12.7): Skipped for the following reason: Already installed • Installing charset-normalizer (3.1.0): Skipped for the following reason: Already installed • Installing gitchangelog (3.0.4): Skipped for the following reason: Already installed • Installing httpx (0.24.0) • Installing ict-utils (0.1.1) • Installing idna (3.4): Skipped for the following reason: Already installed • Installing importlib-metadata (6.6.0): Skipped for the following reason: Already installed • Installing invoke (1.7.3) • Installing mockito (1.4.0) • Installing mutpy (0.6.1) • Installing mypy (0.971) • Installing nose2 (0.12.0) • Installing packaging (23.1): Skipped for the following reason: Already installed • Installing pallets-sphinx-themes (2.1.0) • Installing ping3 (2.9.3) • Installing pylint (2.17.3) • Installing pyproject-flake8 (0.0.1a5) • Installing pystache (0.6.0): Skipped for the following reason: Already installed • Installing pytest-cov (3.0.0) • Installing pytest-sugar (0.9.7) • Installing tomli (2.0.1): Skipped for the following reason: Already installed • Installing tomlkit (0.11.8): Skipped for the following reason: Already installed • Installing types-six (1.16.21.8) • Installing zipp (3.15.0): Skipped for the following reason: Already installed Connection pool is full, discarding connection: artifactory. Connection pool size: 10 Connection pool is full, discarding connection: artifactory. Connection pool size: 10 Connection pool is full, discarding connection: artifactory. Connection pool size: 10 Connection pool is full, discarding connection: artifactory. Connection pool size: 10 Connection pool is full, discarding connection: artifactory. Connection pool size: 10 Warning: The file chosen for install of requests 2.30.0 (requests-2.30.0-py3-none-any.whl) is yanked. Reason for being yanked: Broken responses when reading compressed content through urllib3 Installing the current project:my_artifact (0.2.0) ImportError cannot import name 'appengine' from 'requests.packages.urllib3.contrib' (/opt/app-root/lib64/python3.9/site-packages/urllib3/contrib/__init__.py) at /opt/app-root/lib64/python3.9/site-packages/requests_toolbelt/_compat.py:48 in <module> 44│ if requests.__build__ < 0x021000: 45│ gaecontrib = None 46│ else: 47│ try: → 48│ from requests.packages.urllib3.contrib import appengine as gaecontrib 49│ except ImportError: 50│ from urllib3.contrib import appengine as gaecontrib 51│ 52│ PY3 = sys.version_info > (3, 0) The following error occurred when trying to handle this error: Stack trace: 14 /opt/app-root/lib64/python3.9/site-packages/cleo/application.py:327 in run 325│ 326│ try: → 327│ exit_code = self._run(io) 328│ except BrokenPipeError: 329│ # If we are piped to another process, it may close early and send a 13 /opt/app-root/lib64/python3.9/site-packages/poetry/console/application.py:190 in _run 188│ self._load_plugins(io) 189│ → 190│ exit_code: int = super()._run(io) 191│ return exit_code 192│ 12 /opt/app-root/lib64/python3.9/site-packages/cleo/application.py:431 in _run 429│ io.input.interactive(interactive) 430│ → 431│ exit_code = self._run_command(command, io) 432│ self._running_command = None 433│ 11 /opt/app-root/lib64/python3.9/site-packages/cleo/application.py:473 in _run_command 471│ 472│ if error is not None: → 473│ raise error 474│ 475│ return terminate_event.exit_code 10 /opt/app-root/lib64/python3.9/site-packages/cleo/application.py:457 in _run_command [455](https://git/business-intelligence/modules/ict-proxy/-/jobs/743695#L455)│ 456│ if command_event.command_should_run(): → 457│ exit_code = command.run(io) 458│ else: 459│ exit_code = ConsoleCommandEvent.RETURN_CODE_DISABLED 9 /opt/app-root/lib64/python3.9/site-packages/cleo/commands/base_command.py:119 in run 117│ io.input.validate() 118│ → 119│ status_code = self.execute(io) 120│ 121│ if status_code is None: 8 /opt/app-root/lib64/python3.9/site-packages/cleo/commands/command.py:62 in execute 60│ 61│ try: → 62│ return self.handle() 63│ except KeyboardInterrupt: 64│ return 1 7 /opt/app-root/lib64/python3.9/site-packages/poetry/console/commands/publish.py:50 in handle 48│ 49│ def handle(self) -> int: → 50│ from poetry.publishing.publisher import Publisher 51│ 52│ publisher = Publisher(self.poetry, self.io) 6 /opt/app-root/lib64/python3.9/site-packages/poetry/publishing/__init__.py:3 in <module> 1│ from __future__ import annotations 2│ → 3│ from poetry.publishing.publisher import Publisher 4│ 5│ 5 /opt/app-root/lib64/python3.9/site-packages/poetry/publishing/publisher.py:7 in <module> 5│ from typing import TYPE_CHECKING 6│ → 7│ from poetry.publishing.uploader import Uploader 8│ from poetry.utils.authenticator import Authenticator 9│ 4 /opt/app-root/lib64/python3.9/site-packages/poetry/publishing/uploader.py:17 in <module> 15│ from requests.exceptions import ConnectionError 16│ from requests.exceptions import HTTPError → 17│ from requests_toolbelt import user_agent 18│ from requests_toolbelt.multipart import MultipartEncoder 19│ from requests_toolbelt.multipart import MultipartEncoderMonitor 3 /opt/app-root/lib64/python3.9/site-packages/requests_toolbelt/__init__.py:12 in <module> 10│ """ 11│ → 12│ from .adapters import SSLAdapter, SourceAddressAdapter 13│ from .auth.guess import GuessAuth 14│ from .multipart import ( 2 /opt/app-root/lib64/python3.9/site-packages/requests_toolbelt/adapters/__init__.py:12 in <module> 10│ """ 11│ → 12│ from .ssl import SSLAdapter 13│ from .source import SourceAddressAdapter 14│ 1 /opt/app-root/lib64/python3.9/site-packages/requests_toolbelt/adapters/ssl.py:16 in <module> 14│ from requests.adapters import HTTPAdapter 15│ → 16│ from .._compat import poolmanager 17│ 18│ ImportError cannot import name 'appengine' from 'urllib3.contrib' (/opt/app-root/lib64/python3.9/site-packages/urllib3/contrib/__init__.py) at /opt/app-root/lib64/python3.9/site-packages/requests_toolbelt/_compat.py:50 in <module> 46│ else: 47│ try: 48│ from requests.packages.urllib3.contrib import appengine as gaecontrib 49│ except ImportError: → 50│ from urllib3.contrib import appengine as gaecontrib 51│ 52│ PY3 = sys.version_info > (3, 0) 53│ 54│ if PY3: Cleaning up project directory and file based variables 00:00 ERROR: Job failed: command terminated with exit code 1' ## Reproduction Steps ```bash poetry publish -vvv -r $REPOSITRY -u $USERNAME -p $PASSWORD ``` ## Workaorund Define request dependency in the poetry pyproject.toml file to take any version higher than 2.28.2 except the yanked 2.30.0, you can do this as follow: `requests = "^2.28.2, !=2.30.0"` ## System Information - python 3.9 - requests 2.30.0 - poetry 1.4.2
{ "avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4", "events_url": "https://api.github.com/users/sethmlarson/events{/privacy}", "followers_url": "https://api.github.com/users/sethmlarson/followers", "following_url": "https://api.github.com/users/sethmlarson/following{/other_user}", "gists_url": "https://api.github.com/users/sethmlarson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sethmlarson", "id": 18519037, "login": "sethmlarson", "node_id": "MDQ6VXNlcjE4NTE5MDM3", "organizations_url": "https://api.github.com/users/sethmlarson/orgs", "received_events_url": "https://api.github.com/users/sethmlarson/received_events", "repos_url": "https://api.github.com/users/sethmlarson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sethmlarson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sethmlarson/subscriptions", "type": "User", "url": "https://api.github.com/users/sethmlarson", "user_view_type": "public" }
{ "+1": 2, "-1": 1, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/psf/requests/issues/6441/reactions" }
https://api.github.com/repos/psf/requests/issues/6441/timeline
null
completed
null
null
false
[ "Hi there, I have the exact same issue here.", "You can work it around by defining the request dependency as follow in your pyproject.toml:\r\n\r\n`requests = \"^2.28.2, !=2.30.0\"`\r\n\r\nThis allows poetry to take any version higher than 2.28.2 except the yanked 2.30.0.", "The problem is a combination of depe...
https://api.github.com/repos/psf/requests/issues/6440
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6440/labels{/name}
https://api.github.com/repos/psf/requests/issues/6440/comments
https://api.github.com/repos/psf/requests/issues/6440/events
https://github.com/psf/requests/pull/6440
1,695,510,114
PR_kwDOABTKOs5PwDS1
6,440
CI: bump actions version
{ "avatar_url": "https://avatars.githubusercontent.com/u/26346867?v=4", "events_url": "https://api.github.com/users/kbdharun/events{/privacy}", "followers_url": "https://api.github.com/users/kbdharun/followers", "following_url": "https://api.github.com/users/kbdharun/following{/other_user}", "gists_url": "https://api.github.com/users/kbdharun/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kbdharun", "id": 26346867, "login": "kbdharun", "node_id": "MDQ6VXNlcjI2MzQ2ODY3", "organizations_url": "https://api.github.com/users/kbdharun/orgs", "received_events_url": "https://api.github.com/users/kbdharun/received_events", "repos_url": "https://api.github.com/users/kbdharun/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kbdharun/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kbdharun/subscriptions", "type": "User", "url": "https://api.github.com/users/kbdharun", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-05-04T08:27:17Z
2024-08-13T00:03:52Z
2023-08-13T17:04:04Z
NONE
resolved
## Changes - Bump `actions/checkout` from `v2` (Node 12) to `v3` (Node 16). [This will fix the node 12 deprecation warnings in action runs] - Bump `actions/setup-python` to `v4`. - Bump `dessant/lock-threads` to `v4`. - Bump codeql actions to `v2`.
{ "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/6440/reactions" }
https://api.github.com/repos/psf/requests/issues/6440/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6440.diff", "html_url": "https://github.com/psf/requests/pull/6440", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6440.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6440" }
true
[ "Thanks for the PR @kbdharun. This got moved to strict pins and automated with dependabot to hopefully avoid manual patches going forward. We'll close this out since the underlying issue has been resolved.", "> Thanks for the PR @kbdharun. This got moved to strict pins and automated with dependabot to hopefully a...
https://api.github.com/repos/psf/requests/issues/6439
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6439/labels{/name}
https://api.github.com/repos/psf/requests/issues/6439/comments
https://api.github.com/repos/psf/requests/issues/6439/events
https://github.com/psf/requests/issues/6439
1,694,470,213
I_kwDOABTKOs5k_5BF
6,439
Response truncated with requests 2.30.0 and urllib3 2.0.1
{ "avatar_url": "https://avatars.githubusercontent.com/u/20214787?v=4", "events_url": "https://api.github.com/users/DrShushen/events{/privacy}", "followers_url": "https://api.github.com/users/DrShushen/followers", "following_url": "https://api.github.com/users/DrShushen/following{/other_user}", "gists_url": "https://api.github.com/users/DrShushen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DrShushen", "id": 20214787, "login": "DrShushen", "node_id": "MDQ6VXNlcjIwMjE0Nzg3", "organizations_url": "https://api.github.com/users/DrShushen/orgs", "received_events_url": "https://api.github.com/users/DrShushen/received_events", "repos_url": "https://api.github.com/users/DrShushen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DrShushen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DrShushen/subscriptions", "type": "User", "url": "https://api.github.com/users/DrShushen", "user_view_type": "public" }
[]
closed
true
null
[]
null
9
2023-05-03T17:07:45Z
2024-05-04T00:03:31Z
2023-05-04T14:26:20Z
NONE
resolved
<!-- Summary. --> ## Expected Result Expect to see the entire content of the file [pbc2.csv](https://raw.githubusercontent.com/autonlab/auton-survival/cf583e598ec9ab92fa5d510a0ca72d46dfe0706f/dsm/datasets/pbc2.csv): ```txt "sno.","id","years", ... ... ... 200,128,13.4,3,0<EOF is here> ``` ## Actual Result Get the content of the file truncated around line `1683` (out of total `1946` lines): ```txt "sno.","id","years", ... ... ... 71,306,11,4,0\n"<This is not EOF> ``` ## Reproduction Steps ```python import requests url = "https://raw.githubusercontent.com/autonlab/auton-survival/cf583e598ec9ab92fa5d510a0ca72d46dfe0706f/dsm/datasets/pbc2.csv" request = requests.get(url, timeout=5).content request.decode("utf-8") ``` ## System Information $ python -m requests.help ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "3.1.0" }, "cryptography": { "version": "" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.7.16" }, "platform": { "release": "5.19.0-41-generic", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.30.0" }, "system_ssl": { "version": "1010114f" }, "urllib3": { "version": "2.0.1" }, "using_charset_normalizer": true, "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). --> ## More Information The problem stops happening if I downgrade `urllib3` (`pip install "urllib3<2"`), see `$ python -m requests.help`: ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "3.1.0" }, "cryptography": { "version": "" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.7.16" }, "platform": { "release": "5.19.0-41-generic", "system": "Linux" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.30.0" }, "system_ssl": { "version": "1010114f" }, "urllib3": { "version": "1.26.15" }, "using_charset_normalizer": true, "using_pyopenssl": false } ``` So this seems to be related to [`urllib3 v2` support in `requests v2.30.0`](https://github.com/psf/requests/releases/tag/v2.30.0).
{ "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": 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/6439/reactions" }
https://api.github.com/repos/psf/requests/issues/6439/timeline
null
completed
null
null
false
[ "Thanks for the report @DrShushen, this may be worth raising on the [urllib3](https://github.com/urllib3/urllib3) tracker since you've confirmed it's a regression when upgrading to urllib3 2.0.\r\n\r\nThis is [the code](https://github.com/psf/requests/blob/main/requests/models.py#L812-L851) we use to read content o...
https://api.github.com/repos/psf/requests/issues/6438
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6438/labels{/name}
https://api.github.com/repos/psf/requests/issues/6438/comments
https://api.github.com/repos/psf/requests/issues/6438/events
https://github.com/psf/requests/issues/6438
1,694,446,829
I_kwDOABTKOs5k_zTt
6,438
cannot import name 'DEFAULT_CIPHERS'
{ "avatar_url": "https://avatars.githubusercontent.com/u/12091250?v=4", "events_url": "https://api.github.com/users/rasperin/events{/privacy}", "followers_url": "https://api.github.com/users/rasperin/followers", "following_url": "https://api.github.com/users/rasperin/following{/other_user}", "gists_url": "https://api.github.com/users/rasperin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rasperin", "id": 12091250, "login": "rasperin", "node_id": "MDQ6VXNlcjEyMDkxMjUw", "organizations_url": "https://api.github.com/users/rasperin/orgs", "received_events_url": "https://api.github.com/users/rasperin/received_events", "repos_url": "https://api.github.com/users/rasperin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rasperin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rasperin/subscriptions", "type": "User", "url": "https://api.github.com/users/rasperin", "user_view_type": "public" }
[]
closed
true
null
[]
null
3
2023-05-03T16:52:41Z
2024-05-04T00:03:32Z
2023-05-03T17:07:32Z
NONE
resolved
<!-- Summary. --> With the release of requests==2.3.0 it looks like it's pulling down urllib3==2.0.1, when trying to import requests on an aws lambda (python 3.9 manylinux_2_24_x86_64) I am getting: [ERROR] Runtime.ImportModuleError: Unable to import module 'myapp': cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/opt/python/urllib3/util/ssl_.py) If it at all is important, requests is stored in a lambda layer. ## Reproduction Steps Create a python3.9 AWS lambda: ``` import boto3 import requests def lambda_handler(event, context): print(event) return None ``` Create a folder commonlib/python Create packages in it ``` requests==2.3.0 ``` pip install --quiet --upgrade -r commonlibs/python/packages -t commonlibs/python --only-binary=:all: --platform manylinux_2_24_x86_64 zip it up add it as a layer to aws attach the layer to your lambda test the lambda [ERROR] Runtime.ImportModuleError: Unable to import module 'myapp': cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/opt/python/urllib3/util/ssl_.py) ## System Information python version: 3.9 os: amazon linux 2 manylinux_2_24_x86_64
{ "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/6438/reactions" }
https://api.github.com/repos/psf/requests/issues/6438/timeline
null
completed
null
null
false
[ "Hi @rasperin,\r\n\r\nThis isn't an issue with Requests, but with the version of botocore (A dependency of boto3 which currently doesn't explicitly support urllib3 2.0) being used. It looks like you've installed incompatible dependencies in your Lambda which is leading to the error you're seeing.\r\n\r\nThis was al...
https://api.github.com/repos/psf/requests/issues/6437
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6437/labels{/name}
https://api.github.com/repos/psf/requests/issues/6437/comments
https://api.github.com/repos/psf/requests/issues/6437/events
https://github.com/psf/requests/issues/6437
1,694,410,330
I_kwDOABTKOs5k_qZa
6,437
Error with 2.30.0, not seen with 2.29.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/1391482?v=4", "events_url": "https://api.github.com/users/pgjones/events{/privacy}", "followers_url": "https://api.github.com/users/pgjones/followers", "following_url": "https://api.github.com/users/pgjones/following{/other_user}", "gists_url": "https://api.github.com/users/pgjones/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pgjones", "id": 1391482, "login": "pgjones", "node_id": "MDQ6VXNlcjEzOTE0ODI=", "organizations_url": "https://api.github.com/users/pgjones/orgs", "received_events_url": "https://api.github.com/users/pgjones/received_events", "repos_url": "https://api.github.com/users/pgjones/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pgjones/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pgjones/subscriptions", "type": "User", "url": "https://api.github.com/users/pgjones", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-05-03T16:28:09Z
2024-05-05T00:03:34Z
2023-05-03T16:37:57Z
NONE
resolved
## Expected Result No `TypeError: HTTPResponse.__init__() got an unexpected keyword argument 'strict'` when running pdm install (which uses requests). ## Actual Result ``` PDM, version 2.5.3 $ pdm install -v STATUS: Resolving packages from lockfile... Set env var PDM_IGNORE_ACTIVE_VENV to ignore it. STATUS: Fetching hashes for resolved packages... Synchronizing working set with lock file: 73 to add, 12 to update, 0 to remove pdm.termui: Removing distribution pip ✖ Update pip 23.0 -> 22.2.2 failed Traceback (most recent call last): File ".venv/bin/pdm", line 8, in <module> sys.exit(main()) File "venv/lib/python3.10/site-packages/pdm/core.py", line 255, in main return Core().main(args) File "venv/lib/python3.10/site-packages/pdm/core.py", line 193, in main raise cast(Exception, err).with_traceback(traceback) from None File ".venv/lib/python3.10/site-packages/pdm/core.py", line 188, in main self.handle(project, options) File ".venv/lib/python3.10/site-packages/pdm/core.py", line 154, in handle command.handle(project, options) File ".venv/lib/python3.10/site-packages/pdm/cli/commands/install.py", line 62, in handle actions.do_sync( File "venv/lib/python3.10/site-packages/pdm/cli/actions.py", line 214, in do_sync synchronizer.synchronize() File "venv/lib/python3.10/site-packages/pdm/installers/synchronizers.py", line 401, in synchronize handlers[kind](key, progress) File ".venv/lib/python3.10/site-packages/pdm/installers/synchronizers.py", line 271, in update_candidate self.manager.install(can) File ".venv/lib/python3.10/site-packages/pdm/installers/manager.py", line 33, in install installer(str(prepared.build()), self.environment, prepared.direct_url()) File ".venv/lib/python3.10/site-packages/pdm/models/candidates.py", line 360, in build self.obtain(allow_all=False) File ".venv/lib/python3.10/site-packages/pdm/models/candidates.py", line 419, in obtain result = finder.download_and_unpack(self.link, build_dir, download_dir, hash_options) File ".venv/lib/python3.10/site-packages/unearth/finder.py", line 391, in download_and_unpack file = unpack_link( File ".venv/lib/python3.10/site-packages/unearth/preparer.py", line 300, in unpack_link resp = session.get(link.normalized, stream=True) File ".venv/lib/python3.10/site-packages/requests/sessions.py", line 600, in get return self.request("GET", url, **kwargs) File ".venv/lib/python3.10/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File ".venv/lib/python3.10/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "venv/lib/python3.10/site-packages/cachecontrol/adapter.py", line 48, in send cached_response = self.controller.cached_request(request) File ".venv/lib/python3.10/site-packages/cachecontrol/controller.py", line 155, in cached_request resp = self.serializer.loads(request, cache_data, body_file) File ".venv/lib/python3.10/site-packages/cachecontrol/serialize.py", line 95, in loads return getattr(self, "_loads_v{}".format(ver))(request, data, body_file) File ".venv/lib/python3.10/site-packages/cachecontrol/serialize.py", line 190, in _loads_v4 return self.prepare_response(request, cached, body_file) File ".venv/lib/python3.10/site-packages/cachecontrol/serialize.py", line 141, in prepare_response return HTTPResponse(body=body, preload_content=False, **cached["response"]) TypeError: HTTPResponse.__init__() got an unexpected keyword argument 'strict' ``` ## System Information $ python -m requests.help ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "2.1.1" }, "cryptography": { "version": "" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.10.10" }, "platform": { "release": "22.2.0", "system": "Darwin" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.30.0" }, "system_ssl": { "version": "1010114f" }, "urllib3": { "version": "1.26.12" }, "using_charset_normalizer": true, "using_pyopenssl": false } ``` I'm not sure if this is requests or one of the other libraries using requests incorrectly.
{ "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": 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/6437/reactions" }
https://api.github.com/repos/psf/requests/issues/6437/timeline
null
completed
null
null
false
[ "seems related to this, its deprecated but the change is still breaking\r\nhttps://github.com/urllib3/urllib3/pull/2267", "Hi @pgjones, this appears to be an incompatibility in cachecontrol with the new release of urllib3 2.0. `strict` is no longer a supported argument on the HTTPResponse class. For the time bein...
https://api.github.com/repos/psf/requests/issues/6436
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6436/labels{/name}
https://api.github.com/repos/psf/requests/issues/6436/comments
https://api.github.com/repos/psf/requests/issues/6436/events
https://github.com/psf/requests/pull/6436
1,694,306,223
PR_kwDOABTKOs5Pr60d
6,436
v2.30.0
{ "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
0
2023-05-03T15:27:01Z
2024-05-04T00:03:33Z
2023-05-03T15:39:44Z
MEMBER
resolved
2.30.0 (2023-05-03) ------------------- **Dependencies** - ⚠️ Added support for urllib3 2.0. ⚠️ This may contain minor breaking changes so we advise careful testing and reviewing https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html prior to upgrading. Users who wish to stay on urllib3 1.x can pin to `urllib3<2`.
{ "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": 3, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/psf/requests/issues/6436/reactions" }
https://api.github.com/repos/psf/requests/issues/6436/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6436.diff", "html_url": "https://github.com/psf/requests/pull/6436", "merged_at": "2023-05-03T15:39:44Z", "patch_url": "https://github.com/psf/requests/pull/6436.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6436" }
true
[]
https://api.github.com/repos/psf/requests/issues/6435
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6435/labels{/name}
https://api.github.com/repos/psf/requests/issues/6435/comments
https://api.github.com/repos/psf/requests/issues/6435/events
https://github.com/psf/requests/issues/6435
1,689,834,558
I_kwDOABTKOs5kuNQ-
6,435
cannot use request.get when there is "//" in url
{ "avatar_url": "https://avatars.githubusercontent.com/u/31160073?v=4", "events_url": "https://api.github.com/users/jarunyawat/events{/privacy}", "followers_url": "https://api.github.com/users/jarunyawat/followers", "following_url": "https://api.github.com/users/jarunyawat/following{/other_user}", "gists_url": "https://api.github.com/users/jarunyawat/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jarunyawat", "id": 31160073, "login": "jarunyawat", "node_id": "MDQ6VXNlcjMxMTYwMDcz", "organizations_url": "https://api.github.com/users/jarunyawat/orgs", "received_events_url": "https://api.github.com/users/jarunyawat/received_events", "repos_url": "https://api.github.com/users/jarunyawat/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jarunyawat/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jarunyawat/subscriptions", "type": "User", "url": "https://api.github.com/users/jarunyawat", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-04-30T08:44:43Z
2024-04-30T00:03:22Z
2023-04-30T10:41:21Z
NONE
resolved
I'm using FastAPI to request the status of my robot, and I'm also using my fleet manager to request its status. However, I encountered an error that says 'Cannot mix str and non-str argument' when my URL is constructed as follows: url = 'http://' + str(self.robot_ip[robot_name]) + ':' + str('5000') + '/status/' I deduced that this may be because of the double forward slashes (//) following http: How to fix or could you recommend me other API
{ "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/6435/reactions" }
https://api.github.com/repos/psf/requests/issues/6435/timeline
null
not_planned
null
null
false
[ "Your deduction is wholly incorrect. Without additional information which you haven't provided, we can't help you.\n\nPlease use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here." ]
https://api.github.com/repos/psf/requests/issues/6434
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6434/labels{/name}
https://api.github.com/repos/psf/requests/issues/6434/comments
https://api.github.com/repos/psf/requests/issues/6434/events
https://github.com/psf/requests/pull/6434
1,688,997,490
PR_kwDOABTKOs5PaOnJ
6,434
Remove strict parameter
{ "avatar_url": "https://avatars.githubusercontent.com/u/42327?v=4", "events_url": "https://api.github.com/users/pquentin/events{/privacy}", "followers_url": "https://api.github.com/users/pquentin/followers", "following_url": "https://api.github.com/users/pquentin/following{/other_user}", "gists_url": "https://api.github.com/users/pquentin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pquentin", "id": 42327, "login": "pquentin", "node_id": "MDQ6VXNlcjQyMzI3", "organizations_url": "https://api.github.com/users/pquentin/orgs", "received_events_url": "https://api.github.com/users/pquentin/received_events", "repos_url": "https://api.github.com/users/pquentin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pquentin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pquentin/subscriptions", "type": "User", "url": "https://api.github.com/users/pquentin", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-04-28T18:53:51Z
2024-04-28T00:04:16Z
2023-04-28T19:17:11Z
CONTRIBUTOR
resolved
Now that requests dropped support for Python 2.7, this parameter is no longer needed and raises a warning when using urllib3 2.0. See https://github.com/urllib3/urllib3/issues/2263 for details.
{ "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/6434/reactions" }
https://api.github.com/repos/psf/requests/issues/6434/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6434.diff", "html_url": "https://github.com/psf/requests/pull/6434", "merged_at": "2023-04-28T19:17:11Z", "patch_url": "https://github.com/psf/requests/pull/6434.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6434" }
true
[]
https://api.github.com/repos/psf/requests/issues/6433
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6433/labels{/name}
https://api.github.com/repos/psf/requests/issues/6433/comments
https://api.github.com/repos/psf/requests/issues/6433/events
https://github.com/psf/requests/issues/6433
1,687,144,735
I_kwDOABTKOs5kj8kf
6,433
GBK Encoding Error
{ "avatar_url": "https://avatars.githubusercontent.com/u/30283620?v=4", "events_url": "https://api.github.com/users/liyanes/events{/privacy}", "followers_url": "https://api.github.com/users/liyanes/followers", "following_url": "https://api.github.com/users/liyanes/following{/other_user}", "gists_url": "https://api.github.com/users/liyanes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/liyanes", "id": 30283620, "login": "liyanes", "node_id": "MDQ6VXNlcjMwMjgzNjIw", "organizations_url": "https://api.github.com/users/liyanes/orgs", "received_events_url": "https://api.github.com/users/liyanes/received_events", "repos_url": "https://api.github.com/users/liyanes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/liyanes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/liyanes/subscriptions", "type": "User", "url": "https://api.github.com/users/liyanes", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-04-27T16:02:48Z
2024-04-27T00:04:05Z
2023-04-27T16:10:59Z
NONE
resolved
<!-- Summary. --> I encounter an encoding error when use requests to send request (method:post&get). ## Expected Result <!-- What you expected. --> ![image](https://user-images.githubusercontent.com/30283620/234916977-b17da668-9e72-469a-bae2-ad7c75dc13cf.png) ## Actual Result <!-- What happened instead. --> ![image](https://user-images.githubusercontent.com/30283620/234920176-2017d8be-a855-44f0-a7a2-39ae9a169528.png) ![image](https://user-images.githubusercontent.com/30283620/234916387-7ce65506-ddad-44d7-a014-0ae23cd15445.png) The return text is wrong. Exactly, the ret.content is wrong, too. I think the error happens when reading content. ## Reproduction Steps ```python import requests print(requests.post(url, params={'method':'pageInfo'}, data={'queryString':queryString}).text) # Note: My URL is a local area network website, and it send data with gbk encoding. ``` ## System Information $ python -m requests.help ```json { "chardet": { "version": null }, "charset_normalizer": { "version": "2.1.1" }, "cryptography": { "version": "" }, "idna": { "version": "3.4" }, "implementation": { "name": "CPython", "version": "3.11.1" }, "platform": { "release": "10", "system": "Windows" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.29.0" }, "system_ssl": { "version": "1010111f" }, "urllib3": { "version": "1.26.13" }, "using_charset_normalizer": true, "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/6433/reactions" }
https://api.github.com/repos/psf/requests/issues/6433/timeline
null
completed
null
null
false
[ "`Response.content` is the exact bytes we read off the wire, it has no encoding applied.\r\n\r\nYou might check whether the payload is gzip compressed. Other than that though, Requests cannot affect what the server returns. If you're getting back unexpected bytes, it may be the server attempting to limit web scrapi...
https://api.github.com/repos/psf/requests/issues/6432
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6432/labels{/name}
https://api.github.com/repos/psf/requests/issues/6432/comments
https://api.github.com/repos/psf/requests/issues/6432/events
https://github.com/psf/requests/issues/6432
1,685,467,871
I_kwDOABTKOs5kdjLf
6,432
The latest version of requests (2.29.0) does not support urllib3 2.0.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/6788579?v=4", "events_url": "https://api.github.com/users/mdmintz/events{/privacy}", "followers_url": "https://api.github.com/users/mdmintz/followers", "following_url": "https://api.github.com/users/mdmintz/following{/other_user}", "gists_url": "https://api.github.com/users/mdmintz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mdmintz", "id": 6788579, "login": "mdmintz", "node_id": "MDQ6VXNlcjY3ODg1Nzk=", "organizations_url": "https://api.github.com/users/mdmintz/orgs", "received_events_url": "https://api.github.com/users/mdmintz/received_events", "repos_url": "https://api.github.com/users/mdmintz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mdmintz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mdmintz/subscriptions", "type": "User", "url": "https://api.github.com/users/mdmintz", "user_view_type": "public" }
[]
closed
true
null
[]
null
39
2023-04-26T17:53:09Z
2023-08-12T19:30:38Z
2023-08-12T19:30:27Z
NONE
resolved
## The latest version of ``requests`` (``2.29.0``) does not support ``urllib3`` ``2.0.0`` ``urllib3`` ``2.0.0`` was just released: https://github.com/urllib3/urllib3/releases/tag/2.0.0 But currently ``requests`` ``2.29.0`` has a range bound on it: ``<1.27 and >=1.21.1`` for ``urllib3``. If you try to install a package that has ``urllib3==2.0.0`` as a dependency (while using the latest version of ``requests``), there will be errors: ``` <PACKAGE> depends on urllib3==2.0.0 requests 2.29.0 depends on urllib3<1.27 and >=1.21.1 ``` Expecting ``requests`` to support the latest version of ``urllib3``. (For Python 3.7 or newer)
{ "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": 52, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 52, "url": "https://api.github.com/repos/psf/requests/issues/6432/reactions" }
https://api.github.com/repos/psf/requests/issues/6432/timeline
null
completed
null
null
false
[ "Hi @mdmintz, this is intentional as discussed [here](https://github.com/psf/requests/pull/6430#issuecomment-1522542220). We'll move the pin once we get more data points on any issues in the major version bump. We have a responsibility to keep the majority of the Python ecosystem stable during the transition.", "...
https://api.github.com/repos/psf/requests/issues/6431
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6431/labels{/name}
https://api.github.com/repos/psf/requests/issues/6431/comments
https://api.github.com/repos/psf/requests/issues/6431/events
https://github.com/psf/requests/issues/6431
1,684,781,226
I_kwDOABTKOs5ka7iq
6,431
Add global SSL/TLS configuration options via environment variable
{ "avatar_url": "https://avatars.githubusercontent.com/u/4659019?v=4", "events_url": "https://api.github.com/users/azachar/events{/privacy}", "followers_url": "https://api.github.com/users/azachar/followers", "following_url": "https://api.github.com/users/azachar/following{/other_user}", "gists_url": "https://api.github.com/users/azachar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/azachar", "id": 4659019, "login": "azachar", "node_id": "MDQ6VXNlcjQ2NTkwMTk=", "organizations_url": "https://api.github.com/users/azachar/orgs", "received_events_url": "https://api.github.com/users/azachar/received_events", "repos_url": "https://api.github.com/users/azachar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/azachar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/azachar/subscriptions", "type": "User", "url": "https://api.github.com/users/azachar", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-04-26T10:53:09Z
2024-09-13T00:07:23Z
2023-09-13T20:29:54Z
NONE
resolved
Hello, I would like to request a feature to allow setting SSL/TLS options globally in the requests library via an environment variable or a configuration file. Currently, while the requests library has the ability to set the correct version of TLS, it's not possible to change it globally via environment variable. This feature is important for users who need to configure SSL/TLS options for their entire environment, rather than on a per-application basis. This would help avoid issues caused by outdated or unsupported SSL/TLS protocols and provide users with more flexibility in configuring their SSL/TLS settings. This issue was recently highlighted in a feature request for pip (https://github.com/pypa/pip/issues/11896), which attempted to add a command-line option to disable unsafe legacy renegotiation and enforce the use of TLS 1.3. However, this option was deemed better suited for the requests library. Therefore, I would like to propose adding a means to set SSL/TLS options globally in the requests library, for example via an environment variable. Thank you for your attention to this matter, and please let me know if you have any questions or feedback. Best regards, Andrej Zachar
{ "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/6431/reactions" }
https://api.github.com/repos/psf/requests/issues/6431/timeline
null
not_planned
null
null
false
[ "As was clearly laid out in that issue, this library is in feature freeze.\n\nFurther, environment variables supported by this library already, intended to be used to give customers a way to improve their security posture have instead created vulnerabilities that are near impossible to completely remediate. Additio...
https://api.github.com/repos/psf/requests/issues/6430
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6430/labels{/name}
https://api.github.com/repos/psf/requests/issues/6430/comments
https://api.github.com/repos/psf/requests/issues/6430/events
https://github.com/psf/requests/pull/6430
1,684,000,224
PR_kwDOABTKOs5PJb68
6,430
v2.29.0
{ "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
3
2023-04-25T23:23:31Z
2024-04-27T00:04:07Z
2023-04-26T15:19:11Z
MEMBER
resolved
2.29.0 (2023-04-26) ------------------- **Improvements** - Requests now defers chunked requests to the urllib3 implementation to improve standardization. (#6226) - Requests relaxes header component requirements to support bytes/str subclasses. (#6356)
{ "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": 1, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/psf/requests/issues/6430/reactions" }
https://api.github.com/repos/psf/requests/issues/6430/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6430.diff", "html_url": "https://github.com/psf/requests/pull/6430", "merged_at": "2023-04-26T15:19:11Z", "patch_url": "https://github.com/psf/requests/pull/6430.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6430" }
true
[ "@nateprewitt Did we want to change the version ranges allowed for urllib3 to allow 2.0.0 without a warning? I figure this is safe now that urllib3 integration test suite passes w/ requests without any patches.", "Ideally, I think we would leave the pin in place to minimize blast radius. We _shouldn't_ break now ...
https://api.github.com/repos/psf/requests/issues/6429
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6429/labels{/name}
https://api.github.com/repos/psf/requests/issues/6429/comments
https://api.github.com/repos/psf/requests/issues/6429/events
https://github.com/psf/requests/issues/6429
1,681,708,882
I_kwDOABTKOs5kPNdS
6,429
SSLZeroReturnError problem in multithreaded gunicorn app
{ "avatar_url": "https://avatars.githubusercontent.com/u/17838524?v=4", "events_url": "https://api.github.com/users/mat105/events{/privacy}", "followers_url": "https://api.github.com/users/mat105/followers", "following_url": "https://api.github.com/users/mat105/following{/other_user}", "gists_url": "https://api.github.com/users/mat105/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mat105", "id": 17838524, "login": "mat105", "node_id": "MDQ6VXNlcjE3ODM4NTI0", "organizations_url": "https://api.github.com/users/mat105/orgs", "received_events_url": "https://api.github.com/users/mat105/received_events", "repos_url": "https://api.github.com/users/mat105/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mat105/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mat105/subscriptions", "type": "User", "url": "https://api.github.com/users/mat105", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-04-24T17:12:33Z
2023-11-10T01:07:33Z
2023-04-24T19:01:52Z
NONE
null
I have a python app hosted in APP engine with the gunicorn gthread worker: `gunicorn -w 4 --threads 16 src.main:app` In my app i make requests to a GCP cloud function in this way: `response = requests.post(url, json=payload)` I have bugsnag as error reporting and i keep getting the following error: `HTTPSConnectionPool(host='GCP CLOUD FUNCTION', port=443): Max retries exceeded with url: /path (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:997)')))` ![Sample bugsnag error](https://user-images.githubusercontent.com/17838524/234068232-f9cce09d-9212-431c-bfe7-ab38a7e3bbee.png) I'm using python 3.11 with requests 2.28.2 urllib3 1.26.15 How can i avoid this problem in a threaded gunicorn app? At first i thought it was a problem with certificates, i tried setting `verify=False` in the requests.post call, and the error stopped, however the problem also occurs in other libraries i use, like bugsnag and google cloud storage (wich seem to use requests under the hood), and i can't disable that parameter there. Maybe i was calling the function too much, i reduced calls per minute of my app, but it kept occurring. Tried updating python and dependiencies, it also failed. Then i tried a last approach, removing `--threads` from the gunicorn entrypoint, and then the error was gone. Does python requests work in a multi threaded environment? I searched around and found it was, as long as i don't reuse a requests.Session in many threads, but that's not the case, unless... requests uses a global session under the hood?
{ "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/6429/reactions" }
https://api.github.com/repos/psf/requests/issues/6429/timeline
null
completed
null
null
false
[ "> unless... requests uses a global session under the hood?\r\n\r\nNope. It doesn't.\r\n\r\n> I'm using python 3.11 with requests 2.28.2 urllib3 1.26.15 How can i avoid this problem in a threaded gunicorn app?\r\n\r\nHard to say. I've never seen this problem in any gunicorn app. However, if you search the issue tra...
https://api.github.com/repos/psf/requests/issues/6428
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6428/labels{/name}
https://api.github.com/repos/psf/requests/issues/6428/comments
https://api.github.com/repos/psf/requests/issues/6428/events
https://github.com/psf/requests/issues/6428
1,680,341,657
I_kwDOABTKOs5kJ_qZ
6,428
requests failed bind source port and throw wrong exception
{ "avatar_url": "https://avatars.githubusercontent.com/u/25604610?v=4", "events_url": "https://api.github.com/users/ChengGuoZhang/events{/privacy}", "followers_url": "https://api.github.com/users/ChengGuoZhang/followers", "following_url": "https://api.github.com/users/ChengGuoZhang/following{/other_user}", "gists_url": "https://api.github.com/users/ChengGuoZhang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ChengGuoZhang", "id": 25604610, "login": "ChengGuoZhang", "node_id": "MDQ6VXNlcjI1NjA0NjEw", "organizations_url": "https://api.github.com/users/ChengGuoZhang/orgs", "received_events_url": "https://api.github.com/users/ChengGuoZhang/received_events", "repos_url": "https://api.github.com/users/ChengGuoZhang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ChengGuoZhang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ChengGuoZhang/subscriptions", "type": "User", "url": "https://api.github.com/users/ChengGuoZhang", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-04-24T02:27:47Z
2024-06-01T00:04:07Z
2023-06-01T22:36:06Z
NONE
resolved
<!-- Summary. --> ## Expected Result status_code 200 <!-- What you expected. --> status_code 200 <!-- What happened instead. --> ## Reproduction Steps Exception Traceback (most recent call last): File "test.py", line 33, in <module> response, socks_proxy = s.request(method="GET", url=r"https://xxxxx.xxxx..xxxxx", timeout=10, verify=False) File "/home/zhangchengguo/AES_SAAS/python/lib/python3.7/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/zhangchengguo/AES_SAAS/python/lib/python3.7/site-packages/requests/sessions.py", line 678, in send history = [resp for resp in gen] File "/home/zhangchengguo/AES_SAAS/python/lib/python3.7/site-packages/requests/sessions.py", line 678, in <listcomp> history = [resp for resp in gen] File "/home/zhangchengguo/AES_SAAS/python/lib/python3.7/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/zhangchengguo/AES_SAAS/python/lib/python3.7/site-packages/requests/sessions.py", line 656, in send r, socks_proxy = adapter.send(request, **kwargs) File "/home/zhangchengguo/AES_SAAS/python/lib/python3.7/site-packages/requests/adapters.py", line 490, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='xxx.xxx.xxx', port=80): Max retries exceeded with url: /errors/StopService.htm (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbe76ef6950>: Failed to establish a new connection: [Errno -9] Address family for hostname not supported')) ```python import socket import time requests.packages.urllib3.disable_warnings() def _get_available_port(): client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client.settimeout(10) find_available = False for i in range(100): port = 40000 + i status = client.connect_ex(('127.0.0.1', port)) if status == 0: print("current port {} is been used, try another port for {} times".format(port, i)) client.close() client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) else: time.sleep(2) find_available = True print("current port {} is available".format(port)) break if not find_available: print("after try 100 times, find no avaible port") return None return port port_ava = _get_available_port() s = requests.Session() s.mount('http://', source.SourceAddressAdapter(('0.0.0.0', port_ava))) s.mount('https://', source.SourceAddressAdapter(('0.0.0.0', port_ava))) url = "url that return 302 Found" # a url return redirect 302 response, socks_proxy = s.request(method="GET", url=url, timeout=10, verify=False) print("status_code: {}".format(response.status_code)) ``` ## System Information $ python -m requests.help ```json { "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/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/6428/reactions" }
https://api.github.com/repos/psf/requests/issues/6428/timeline
null
completed
null
null
false
[]
https://api.github.com/repos/psf/requests/issues/6427
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6427/labels{/name}
https://api.github.com/repos/psf/requests/issues/6427/comments
https://api.github.com/repos/psf/requests/issues/6427/events
https://github.com/psf/requests/issues/6427
1,680,133,915
I_kwDOABTKOs5kJM8b
6,427
Event-stream response encoding should be detected as utf-8
{ "avatar_url": "https://avatars.githubusercontent.com/u/1625201?v=4", "events_url": "https://api.github.com/users/yannrouillard/events{/privacy}", "followers_url": "https://api.github.com/users/yannrouillard/followers", "following_url": "https://api.github.com/users/yannrouillard/following{/other_user}", "gists_url": "https://api.github.com/users/yannrouillard/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yannrouillard", "id": 1625201, "login": "yannrouillard", "node_id": "MDQ6VXNlcjE2MjUyMDE=", "organizations_url": "https://api.github.com/users/yannrouillard/orgs", "received_events_url": "https://api.github.com/users/yannrouillard/received_events", "repos_url": "https://api.github.com/users/yannrouillard/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yannrouillard/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yannrouillard/subscriptions", "type": "User", "url": "https://api.github.com/users/yannrouillard", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-04-23T19:08:20Z
2024-04-24T00:03:20Z
2023-04-24T16:23:55Z
NONE
resolved
When from an event stream, requests detects the encoding as being ISO-8859-1, which can leads to improper character decoding if that information is used. It seems that event stream should always be encoded with utf-8 according to https://html.spec.whatwg.org/multipage/server-sent-events.html#parsing-an-event-stream, so the response encoding information should probably be set to utf-8 when the content-type is text/event-stream ## Expected Result The encoding should be detected as being utf-8 ## Actual Result The encoding is detected as ISO-8859-1, probably because of this code https://github.com/psf/requests/blob/51716c4ef390136b0d4b800ec7665dd5503e64fc/requests/utils.py#L555 and the presence of the `text` in the content-type.
{ "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/6427/reactions" }
https://api.github.com/repos/psf/requests/issues/6427/timeline
null
completed
null
null
false
[ "Hi @yannrouillard, Event Streams are an HTML specification from WHATWG, not an http specification. Requests is not a browser and will likely never support the full range of behaviors built on top of HTTP.\n\nThis should be relatively straight forward to solve for any project using Requests. You can either directly...
https://api.github.com/repos/psf/requests/issues/6426
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6426/labels{/name}
https://api.github.com/repos/psf/requests/issues/6426/comments
https://api.github.com/repos/psf/requests/issues/6426/events
https://github.com/psf/requests/pull/6426
1,680,061,812
PR_kwDOABTKOs5O8MmD
6,426
chore(charset issue): Resolution for issue 6102
{ "avatar_url": "https://avatars.githubusercontent.com/u/75703762?v=4", "events_url": "https://api.github.com/users/kalingth/events{/privacy}", "followers_url": "https://api.github.com/users/kalingth/followers", "following_url": "https://api.github.com/users/kalingth/following{/other_user}", "gists_url": "https://api.github.com/users/kalingth/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kalingth", "id": 75703762, "login": "kalingth", "node_id": "MDQ6VXNlcjc1NzAzNzYy", "organizations_url": "https://api.github.com/users/kalingth/orgs", "received_events_url": "https://api.github.com/users/kalingth/received_events", "repos_url": "https://api.github.com/users/kalingth/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kalingth/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kalingth/subscriptions", "type": "User", "url": "https://api.github.com/users/kalingth", "user_view_type": "public" }
[]
closed
false
null
[]
null
1
2023-04-23T15:15:01Z
2024-07-26T01:48:07Z
2024-07-26T01:48:07Z
NONE
null
Resolution for the issue https://github.com/psf/requests/issues/6102 Now, If a username and password are passed already encoded, they will not be affected by being expected as a string. In this case, the function will encode the string-formatted attributes into bytes using the latin-1 charset by default due to convention.
{ "avatar_url": "https://avatars.githubusercontent.com/u/75703762?v=4", "events_url": "https://api.github.com/users/kalingth/events{/privacy}", "followers_url": "https://api.github.com/users/kalingth/followers", "following_url": "https://api.github.com/users/kalingth/following{/other_user}", "gists_url": "https://api.github.com/users/kalingth/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kalingth", "id": 75703762, "login": "kalingth", "node_id": "MDQ6VXNlcjc1NzAzNzYy", "organizations_url": "https://api.github.com/users/kalingth/orgs", "received_events_url": "https://api.github.com/users/kalingth/received_events", "repos_url": "https://api.github.com/users/kalingth/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kalingth/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kalingth/subscriptions", "type": "User", "url": "https://api.github.com/users/kalingth", "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/6426/reactions" }
https://api.github.com/repos/psf/requests/issues/6426/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6426.diff", "html_url": "https://github.com/psf/requests/pull/6426", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6426.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6426" }
true
[ "Hi, @sigmavirus24 \r\n\r\nThank you for your explanation in my last PR (https://github.com/psf/requests/pull/6422), and you were right. My last PR didn't solve the issue/bug. However, I believe that this PR resolves the bug.\r\n\r\nCould you please review the PR and let me know if it's okay?\r\n\r\nRespectfully," ...
https://api.github.com/repos/psf/requests/issues/6425
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6425/labels{/name}
https://api.github.com/repos/psf/requests/issues/6425/comments
https://api.github.com/repos/psf/requests/issues/6425/events
https://github.com/psf/requests/issues/6425
1,680,042,360
I_kwDOABTKOs5kI2l4
6,425
Does ‘requests’ support http2?
{ "avatar_url": "https://avatars.githubusercontent.com/u/30491086?v=4", "events_url": "https://api.github.com/users/Raymon9/events{/privacy}", "followers_url": "https://api.github.com/users/Raymon9/followers", "following_url": "https://api.github.com/users/Raymon9/following{/other_user}", "gists_url": "https://api.github.com/users/Raymon9/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Raymon9", "id": 30491086, "login": "Raymon9", "node_id": "MDQ6VXNlcjMwNDkxMDg2", "organizations_url": "https://api.github.com/users/Raymon9/orgs", "received_events_url": "https://api.github.com/users/Raymon9/received_events", "repos_url": "https://api.github.com/users/Raymon9/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Raymon9/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Raymon9/subscriptions", "type": "User", "url": "https://api.github.com/users/Raymon9", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-04-23T14:14:21Z
2024-04-23T00:03:45Z
2023-04-23T14:24:24Z
NONE
resolved
it looks like not. do you think aobut to add this feature? thanks.
{ "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/6425/reactions" }
https://api.github.com/repos/psf/requests/issues/6425/timeline
null
not_planned
null
null
false
[ "In the future, please search **closed and** open issues before creating new ones that are duplicates." ]
https://api.github.com/repos/psf/requests/issues/6424
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6424/labels{/name}
https://api.github.com/repos/psf/requests/issues/6424/comments
https://api.github.com/repos/psf/requests/issues/6424/events
https://github.com/psf/requests/pull/6424
1,679,988,718
PR_kwDOABTKOs5O7-4A
6,424
test on pypy 3.8 and pypy 3.9 on windows and macos
{ "avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4", "events_url": "https://api.github.com/users/graingert/events{/privacy}", "followers_url": "https://api.github.com/users/graingert/followers", "following_url": "https://api.github.com/users/graingert/following{/other_user}", "gists_url": "https://api.github.com/users/graingert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/graingert", "id": 413772, "login": "graingert", "node_id": "MDQ6VXNlcjQxMzc3Mg==", "organizations_url": "https://api.github.com/users/graingert/orgs", "received_events_url": "https://api.github.com/users/graingert/received_events", "repos_url": "https://api.github.com/users/graingert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/graingert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/graingert/subscriptions", "type": "User", "url": "https://api.github.com/users/graingert", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-04-23T11:21:15Z
2024-05-17T00:03:21Z
2023-05-15T15:04:22Z
CONTRIBUTOR
resolved
null
{ "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/6424/reactions" }
https://api.github.com/repos/psf/requests/issues/6424/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6424.diff", "html_url": "https://github.com/psf/requests/pull/6424", "merged_at": "2023-05-15T15:04:22Z", "patch_url": "https://github.com/psf/requests/pull/6424.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6424" }
true
[]
https://api.github.com/repos/psf/requests/issues/6423
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6423/labels{/name}
https://api.github.com/repos/psf/requests/issues/6423/comments
https://api.github.com/repos/psf/requests/issues/6423/events
https://github.com/psf/requests/issues/6423
1,679,923,555
I_kwDOABTKOs5kIZlj
6,423
Debugging and tracing my code with calling to requests may result different from running it.
{ "avatar_url": "https://avatars.githubusercontent.com/u/47547644?v=4", "events_url": "https://api.github.com/users/swmcl/events{/privacy}", "followers_url": "https://api.github.com/users/swmcl/followers", "following_url": "https://api.github.com/users/swmcl/following{/other_user}", "gists_url": "https://api.github.com/users/swmcl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/swmcl", "id": 47547644, "login": "swmcl", "node_id": "MDQ6VXNlcjQ3NTQ3NjQ0", "organizations_url": "https://api.github.com/users/swmcl/orgs", "received_events_url": "https://api.github.com/users/swmcl/received_events", "repos_url": "https://api.github.com/users/swmcl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/swmcl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/swmcl/subscriptions", "type": "User", "url": "https://api.github.com/users/swmcl", "user_view_type": "public" }
[]
closed
true
null
[]
null
6
2023-04-23T08:29:10Z
2024-06-01T00:04:05Z
2023-06-01T22:36:57Z
NONE
resolved
Summary. ## Expected Result Debugging and tracing my code should result same as running it. ## Actual Result If I set breakpoint in sonewhere related with underlying urllib3.response.Response class and view the data property in the watch list, and then resume and run the program to the end, you may get nothing in requests.response.content which is different from running it without debugging. ## Reproduction Steps ```python import requests resp=requests.get('https://www.google.com') print(resp.text) ``` 1. running the code above will print the html of the google.com. 2. set breakpoint at the last line of the requests.adapters.py, which is: return self.build_response(request, resp) 3. debug the code above and the program will be paused at the above return statement. 4. in the watch list, expand the resp and you will see something in the data property. 5. resume the program, then you will see nothing being printed. ## System Information $ python -m requests.help ``` { "chardet": { "version": "4.0.0" }, "charset_normalizer": { "version": "2.0.7" }, "cryptography": { "version": "35.0.0" }, "idna": { "version": "3.3" }, "implementation": { "name": "CPython", "version": "3.10.4" }, "platform": { "release": "10", "system": "Windows" }, "pyOpenSSL": { "openssl_version": "101010cf", "version": "22.0.0" }, "requests": { "version": "2.27.1" }, "system_ssl": { "version": "101010ef" }, "urllib3": { "version": "1.26.9" }, "using_charset_normalizer": false, "using_pyopenssl": true } ``` 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/6423/reactions" }
https://api.github.com/repos/psf/requests/issues/6423/timeline
null
completed
null
null
false
[ "The reason for the difference between debugging and running is:\r\n1. when the response.content is accessed, it calls iter_content which then calls raw(urllib3.response.HTTPResponse).stream() with decode_content=True\r\n2. when we expand the resp and see the data property, the property function data() calls read()...
https://api.github.com/repos/psf/requests/issues/6422
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6422/labels{/name}
https://api.github.com/repos/psf/requests/issues/6422/comments
https://api.github.com/repos/psf/requests/issues/6422/events
https://github.com/psf/requests/pull/6422
1,679,563,126
PR_kwDOABTKOs5O6qCs
6,422
chore(charset issue): Resolution for issue 6102
{ "avatar_url": "https://avatars.githubusercontent.com/u/75703762?v=4", "events_url": "https://api.github.com/users/kalingth/events{/privacy}", "followers_url": "https://api.github.com/users/kalingth/followers", "following_url": "https://api.github.com/users/kalingth/following{/other_user}", "gists_url": "https://api.github.com/users/kalingth/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kalingth", "id": 75703762, "login": "kalingth", "node_id": "MDQ6VXNlcjc1NzAzNzYy", "organizations_url": "https://api.github.com/users/kalingth/orgs", "received_events_url": "https://api.github.com/users/kalingth/received_events", "repos_url": "https://api.github.com/users/kalingth/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kalingth/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kalingth/subscriptions", "type": "User", "url": "https://api.github.com/users/kalingth", "user_view_type": "public" }
[]
closed
true
null
[]
null
1
2023-04-22T14:22:33Z
2024-04-23T00:03:53Z
2023-04-22T23:13:29Z
NONE
resolved
Resolution of issue https://github.com/psf/requests/issues/6102
{ "avatar_url": "https://avatars.githubusercontent.com/u/75703762?v=4", "events_url": "https://api.github.com/users/kalingth/events{/privacy}", "followers_url": "https://api.github.com/users/kalingth/followers", "following_url": "https://api.github.com/users/kalingth/following{/other_user}", "gists_url": "https://api.github.com/users/kalingth/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kalingth", "id": 75703762, "login": "kalingth", "node_id": "MDQ6VXNlcjc1NzAzNzYy", "organizations_url": "https://api.github.com/users/kalingth/orgs", "received_events_url": "https://api.github.com/users/kalingth/received_events", "repos_url": "https://api.github.com/users/kalingth/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kalingth/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kalingth/subscriptions", "type": "User", "url": "https://api.github.com/users/kalingth", "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/6422/reactions" }
https://api.github.com/repos/psf/requests/issues/6422/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6422.diff", "html_url": "https://github.com/psf/requests/pull/6422", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6422.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6422" }
true
[ "This is not the resolution suggested and no agreement that this should be fixed was expressed in that issue. " ]
https://api.github.com/repos/psf/requests/issues/6421
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6421/labels{/name}
https://api.github.com/repos/psf/requests/issues/6421/comments
https://api.github.com/repos/psf/requests/issues/6421/events
https://github.com/psf/requests/pull/6421
1,679,501,076
PR_kwDOABTKOs5O6drr
6,421
pin cryptography<40 on pypy 3.7
{ "avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4", "events_url": "https://api.github.com/users/graingert/events{/privacy}", "followers_url": "https://api.github.com/users/graingert/followers", "following_url": "https://api.github.com/users/graingert/following{/other_user}", "gists_url": "https://api.github.com/users/graingert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/graingert", "id": 413772, "login": "graingert", "node_id": "MDQ6VXNlcjQxMzc3Mg==", "organizations_url": "https://api.github.com/users/graingert/orgs", "received_events_url": "https://api.github.com/users/graingert/received_events", "repos_url": "https://api.github.com/users/graingert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/graingert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/graingert/subscriptions", "type": "User", "url": "https://api.github.com/users/graingert", "user_view_type": "public" }
[]
closed
true
null
[]
null
2
2023-04-22T11:44:51Z
2024-04-23T00:03:49Z
2023-04-22T23:41:27Z
CONTRIBUTOR
resolved
Fixes https://github.com/psf/requests/issues/6419
{ "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/6421/reactions" }
https://api.github.com/repos/psf/requests/issues/6421/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/6421.diff", "html_url": "https://github.com/psf/requests/pull/6421", "merged_at": "2023-04-22T23:41:27Z", "patch_url": "https://github.com/psf/requests/pull/6421.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6421" }
true
[ "PyPy 3.7 is no longer receiving updates, are you willing to drop it?", "~~I think we're going to wait until at least June before we get rid of 3.7. Given the adoption level though, we'll likely give 3-6 months of migration time before we fully drop support.~~\n\n~~Is urllib3 moving in that direction sooner?~~\n\...
https://api.github.com/repos/psf/requests/issues/6420
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/6420/labels{/name}
https://api.github.com/repos/psf/requests/issues/6420/comments
https://api.github.com/repos/psf/requests/issues/6420/events
https://github.com/psf/requests/pull/6420
1,678,813,845
PR_kwDOABTKOs5O4LE7
6,420
debug pypy 3.7 CI failure
{ "avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4", "events_url": "https://api.github.com/users/graingert/events{/privacy}", "followers_url": "https://api.github.com/users/graingert/followers", "following_url": "https://api.github.com/users/graingert/following{/other_user}", "gists_url": "https://api.github.com/users/graingert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/graingert", "id": 413772, "login": "graingert", "node_id": "MDQ6VXNlcjQxMzc3Mg==", "organizations_url": "https://api.github.com/users/graingert/orgs", "received_events_url": "https://api.github.com/users/graingert/received_events", "repos_url": "https://api.github.com/users/graingert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/graingert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/graingert/subscriptions", "type": "User", "url": "https://api.github.com/users/graingert", "user_view_type": "public" }
[]
closed
true
null
[]
null
0
2023-04-21T16:47:52Z
2024-04-23T00:03:55Z
2023-04-22T10:27:16Z
CONTRIBUTOR
resolved
https://github.com/psf/requests/issues/6419
{ "avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4", "events_url": "https://api.github.com/users/graingert/events{/privacy}", "followers_url": "https://api.github.com/users/graingert/followers", "following_url": "https://api.github.com/users/graingert/following{/other_user}", "gists_url": "https://api.github.com/users/graingert/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/graingert", "id": 413772, "login": "graingert", "node_id": "MDQ6VXNlcjQxMzc3Mg==", "organizations_url": "https://api.github.com/users/graingert/orgs", "received_events_url": "https://api.github.com/users/graingert/received_events", "repos_url": "https://api.github.com/users/graingert/repos", "site_admin": false, "starred_url": "https://api.github.com/users/graingert/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/graingert/subscriptions", "type": "User", "url": "https://api.github.com/users/graingert", "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/6420/reactions" }
https://api.github.com/repos/psf/requests/issues/6420/timeline
null
null
true
{ "diff_url": "https://github.com/psf/requests/pull/6420.diff", "html_url": "https://github.com/psf/requests/pull/6420", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/6420.patch", "url": "https://api.github.com/repos/psf/requests/pulls/6420" }
true
[]