Thomas Grainger
f519bbae33
add trove classifier for 3.13
2024-09-18 19:14:19 +01:00
Thomas Grainger
314e7c9c70
upgrade to pytest-httpbin 2.1.0 final
2024-09-18 16:36:43 +01:00
Thomas Grainger
92f10cec5b
upgrade to pytest-httpbin 2.1.0rc1
2024-09-18 15:04:53 +01:00
Thomas Grainger
83e67c4485
use allow-prereleases: true instead of 3.13-dev
2024-09-18 15:04:08 +01:00
Thomas Grainger
0f5ef1be8c
Merge branch 'main' of github.com:psf/requests into 3.13
2024-09-18 15:03:08 +01:00
Nate Prewitt
f12ccbef6d
Merge pull request #6797 from psf/dependabot/github_actions/actions/setup-python-5.2.0
2024-09-02 10:37:44 -07:00
dependabot[bot]
173890a48e
Bump actions/setup-python from 5.1.0 to 5.2.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](82c7e631bb...f677139bbe )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-02 16:56:26 +00:00
Nate Prewitt
a3ce6f0075
Merge pull request #6787 from psf/dependabot/github_actions/github/codeql-action-3.26.0
...
Bump github/codeql-action from 3.25.0 to 3.26.0
2024-08-12 09:54:11 -07:00
dependabot[bot]
877892e67e
Bump github/codeql-action from 3.25.0 to 3.26.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.25.0 to 3.26.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](df5a14dc28...eb055d739a )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-12 16:23:16 +00:00
Nate Prewitt
79b74ef704
Merge pull request #6757 from nateprewitt/urllib-1.x-tests
2024-07-29 18:44:13 -07:00
Branch Vincent
15e1f17bb6
remove setuptools test command
2024-07-29 08:49:17 -05:00
Nate Prewitt
01353d3b4a
Invert major version check
2024-07-23 04:28:03 -07:00
Nate Prewitt
4e383642a9
Add conditional string encoding based on urllib3 major version
2024-07-18 10:20:38 -07:00
Nate Prewitt
f8aa36b92d
Test on urllib3 1.26.x
2024-07-01 18:08:04 -07:00
Nate Prewitt
0e322af877
v2.32.3
Lint code / lint (push) Has been cancelled
Tests / build (macOS-latest, 3.10) (push) Has been cancelled
Tests / build (macOS-latest, 3.11) (push) Has been cancelled
Tests / build (macOS-latest, 3.12) (push) Has been cancelled
Tests / build (macOS-latest, 3.8) (push) Has been cancelled
Tests / build (macOS-latest, 3.9) (push) Has been cancelled
Tests / build (macOS-latest, pypy-3.10) (push) Has been cancelled
Tests / build (macOS-latest, pypy-3.9) (push) Has been cancelled
Tests / build (macos-13, 3.8) (push) Has been cancelled
Tests / build (macos-13, 3.9) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.10) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.11) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.12) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.8) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.9) (push) Has been cancelled
Tests / build (ubuntu-22.04, pypy-3.10) (push) Has been cancelled
Tests / build (ubuntu-22.04, pypy-3.9) (push) Has been cancelled
Tests / build (windows-latest, 3.10) (push) Has been cancelled
Tests / build (windows-latest, 3.11) (push) Has been cancelled
Tests / build (windows-latest, 3.12) (push) Has been cancelled
Tests / build (windows-latest, 3.8) (push) Has been cancelled
Tests / build (windows-latest, 3.9) (push) Has been cancelled
Tests / build (windows-latest, pypy-3.10) (push) Has been cancelled
Tests / build (windows-latest, pypy-3.9) (push) Has been cancelled
Tests / No Character Detection (push) Has been cancelled
v2.32.3
2024-05-29 08:36:10 -07:00
Nate Prewitt
e188799322
Don't create default SSLContext if ssl module isn't present ( #6724 )
2024-05-29 08:23:39 -07:00
Nate Prewitt
145b539948
Merge pull request #6716 from sigmavirus24/bug/6715
2024-05-24 14:37:06 -07:00
Nate Prewitt
b1d73ddb50
Don't use default SSLContext with custom poolmanager kwargs
2024-05-24 11:38:10 -07:00
Nate Prewitt
6badbac6e0
Update HISTORY.md
2024-05-24 11:38:06 -07:00
Nate Prewitt
2e1452234d
Start testing on 3.13 beta
2024-05-23 11:51:07 -07:00
Ian Stapleton Cordasco
a62a2d35d9
Allow for overriding of specific pool key params
...
This re-enables the use case of providing a custom SSLContext via a
Transport Adapter as broken in #6655 and reported in #6715
Closes #6715
2024-05-22 06:53:24 -05:00
Nate Prewitt
88dce9d854
v2.32.2
Lint code / lint (push) Has been cancelled
Tests / build (macOS-latest, 3.10) (push) Has been cancelled
Tests / build (macOS-latest, 3.11) (push) Has been cancelled
Tests / build (macOS-latest, 3.12) (push) Has been cancelled
Tests / build (macOS-latest, 3.8) (push) Has been cancelled
Tests / build (macOS-latest, 3.9) (push) Has been cancelled
Tests / build (macOS-latest, pypy-3.10) (push) Has been cancelled
Tests / build (macOS-latest, pypy-3.9) (push) Has been cancelled
Tests / build (macos-13, 3.8) (push) Has been cancelled
Tests / build (macos-13, 3.9) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.10) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.11) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.12) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.8) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.9) (push) Has been cancelled
Tests / build (ubuntu-22.04, pypy-3.10) (push) Has been cancelled
Tests / build (ubuntu-22.04, pypy-3.9) (push) Has been cancelled
Tests / build (windows-latest, 3.10) (push) Has been cancelled
Tests / build (windows-latest, 3.11) (push) Has been cancelled
Tests / build (windows-latest, 3.12) (push) Has been cancelled
Tests / build (windows-latest, 3.8) (push) Has been cancelled
Tests / build (windows-latest, 3.9) (push) Has been cancelled
Tests / build (windows-latest, pypy-3.10) (push) Has been cancelled
Tests / build (windows-latest, pypy-3.9) (push) Has been cancelled
Tests / No Character Detection (push) Has been cancelled
v2.32.2
2024-05-21 11:49:22 -07:00
Nate Prewitt
c98e4d133e
Merge pull request #6710 from nateprewitt/api_rename
...
Move _get_connection to get_connection_with_tls_context
2024-05-21 09:41:18 -07:00
Nate Prewitt
92075b330a
Add deprecation warning
2024-05-21 09:28:30 -07:00
Nate Prewitt
aa1461b68a
Move _get_connection to get_connection_with_tls_context
2024-05-21 05:42:49 -07:00
Nate Prewitt
970e8cec98
v2.32.1
Lint code / lint (push) Has been cancelled
Tests / build (macOS-latest, 3.10) (push) Has been cancelled
Tests / build (macOS-latest, 3.11) (push) Has been cancelled
Tests / build (macOS-latest, 3.12) (push) Has been cancelled
Tests / build (macOS-latest, 3.8) (push) Has been cancelled
Tests / build (macOS-latest, 3.9) (push) Has been cancelled
Tests / build (macOS-latest, pypy-3.10) (push) Has been cancelled
Tests / build (macOS-latest, pypy-3.9) (push) Has been cancelled
Tests / build (macos-13, 3.8) (push) Has been cancelled
Tests / build (macos-13, 3.9) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.10) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.11) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.12) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.8) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.9) (push) Has been cancelled
Tests / build (ubuntu-22.04, pypy-3.10) (push) Has been cancelled
Tests / build (ubuntu-22.04, pypy-3.9) (push) Has been cancelled
Tests / build (windows-latest, 3.10) (push) Has been cancelled
Tests / build (windows-latest, 3.11) (push) Has been cancelled
Tests / build (windows-latest, 3.12) (push) Has been cancelled
Tests / build (windows-latest, 3.8) (push) Has been cancelled
Tests / build (windows-latest, 3.9) (push) Has been cancelled
Tests / build (windows-latest, pypy-3.10) (push) Has been cancelled
Tests / build (windows-latest, pypy-3.9) (push) Has been cancelled
Tests / No Character Detection (push) Has been cancelled
v2.32.1
2024-05-20 15:02:29 -07:00
Nate Prewitt
d6ebc4a2f1
v2.32.0
Lint code / lint (push) Has been cancelled
Tests / build (macOS-latest, 3.10) (push) Has been cancelled
Tests / build (macOS-latest, 3.11) (push) Has been cancelled
Tests / build (macOS-latest, 3.12) (push) Has been cancelled
Tests / build (macOS-latest, 3.8) (push) Has been cancelled
Tests / build (macOS-latest, 3.9) (push) Has been cancelled
Tests / build (macOS-latest, pypy-3.10) (push) Has been cancelled
Tests / build (macOS-latest, pypy-3.9) (push) Has been cancelled
Tests / build (macos-13, 3.8) (push) Has been cancelled
Tests / build (macos-13, 3.9) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.10) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.11) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.12) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.8) (push) Has been cancelled
Tests / build (ubuntu-22.04, 3.9) (push) Has been cancelled
Tests / build (ubuntu-22.04, pypy-3.10) (push) Has been cancelled
Tests / build (ubuntu-22.04, pypy-3.9) (push) Has been cancelled
Tests / build (windows-latest, 3.10) (push) Has been cancelled
Tests / build (windows-latest, 3.11) (push) Has been cancelled
Tests / build (windows-latest, 3.12) (push) Has been cancelled
Tests / build (windows-latest, 3.8) (push) Has been cancelled
Tests / build (windows-latest, 3.9) (push) Has been cancelled
Tests / build (windows-latest, pypy-3.10) (push) Has been cancelled
Tests / build (windows-latest, pypy-3.9) (push) Has been cancelled
Tests / No Character Detection (push) Has been cancelled
v2.32.0
2024-05-20 08:46:49 -07:00
agubelu
9a40d12778
Avoid reloading root certificates to improve concurrent performance ( #6667 )
2024-05-15 14:07:26 -06:00
Ian Stapleton Cordasco
0c030f78d2
Merge pull request #6702 from nateprewitt/no_char_detection
...
Allow optional char detection dependencies in post-packaging
2024-05-14 19:15:19 -05:00
Nate Prewitt
555b870eb1
Allow character detection dependencies to be optional in post-packaging steps
2024-05-14 15:26:04 -07:00
Ian Stapleton Cordasco
d6dded3f00
Merge pull request #6700 from franekmagiera/update-redirect-to-invalid-uri-test
...
Use an invalid URI that will not cause httpbin to throw 500
2024-05-12 16:33:47 -05:00
franekmagiera
bf24b7d8d1
Use an invalid URI that will not cause httpbin to throw 500
2024-05-12 22:08:24 +02:00
Nate Prewitt
2d5f54779a
Pin 3.8 and 3.9 runners back to macos-13 ( #6688 )
2024-04-23 10:50:19 -07:00
Nate Prewitt
f1bb07d39b
Merge pull request #6687 from psf/dependabot/github_actions/github/codeql-action-3.25.0
...
Bump github/codeql-action from 3.24.0 to 3.25.0
2024-04-15 11:01:39 -06:00
dependabot[bot]
60047ade64
Bump github/codeql-action from 3.24.0 to 3.25.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.0 to 3.25.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](e8893c57a1...df5a14dc28 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-15 16:40:35 +00:00
Ian Stapleton Cordasco
31ebb8102c
Merge pull request #6682 from frenzymadness/pytest8
...
Fix compatibility with pytest 8
2024-04-11 14:49:35 -05:00
Lumir Balhar
cc23d1c644
Fix compatibility with pytest 8
...
`pytest.warns(None)` has been deprecated in pytest 7.0.0
and it's no longer working in pytest 8.
Resolves: https://github.com/psf/requests/issues/6679
2024-04-11 21:10:36 +02:00
Nate Prewitt
0790ea4250
Merge pull request #6680 from mbeijen/rfc9110
...
Add rfc9110 HTTP status code names
2024-04-11 07:10:57 -07:00
Michiel W. Beijen
e45b428960
Add rfc9110 HTTP status code names
...
RFC 9110 _HTTP Semantics_ obsoletes some earlier RFCs which defined HTTP
1.1. It adds some status codes that were previously only used for
WebDAV to HTTP _proper_ after making the names somewhat more generic.
See https://www.rfc-editor.org/rfc/rfc9110.html#name-changes-from-rfc-7231
This commit adds the http status code names from that RFC.
2024-04-08 21:48:24 +02:00
Nate Prewitt
2a438c27b5
Merge pull request #6677 from psf/dependabot/github_actions/actions/setup-python-5.1.0
...
Bump actions/setup-python from 5.0.0 to 5.1.0
2024-04-01 10:36:47 -07:00
dependabot[bot]
2daa7b52a7
Bump actions/setup-python from 5.0.0 to 5.1.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](0a5c615913...82c7e631bb )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-01 17:00:20 +00:00
Ian Stapleton Cordasco
8dd3b26bf5
Merge pull request #6302 from flysee/main
...
Fix the proxy_bypass_registry function all returning true in some cases.
2024-03-18 16:38:16 -05:00
flysee
13d892bdbe
Additional should_bypass_proxies function test cases
2024-03-18 22:33:17 +08:00
flysee
1604e20fc8
Fix the proxy_bypass_registry function all returning true in some cases.
2024-03-18 15:36:36 +08:00
Ian Stapleton Cordasco
eeafb6ab3a
Merge pull request #6662 from sigmavirus24/fix-tls-floppy
...
Add local TLS server
2024-03-14 06:25:24 -05:00
Ian Stapleton Cordasco
a94e9b5308
Add local TLS server
...
This also adds certificates for testing purposes and files to make it
easy to generate/regenerate them.
This also replaces an existing test of how we utilize our pool manager
such that we don't connect to badssl.com
Finally, this adds additional context parameters for our pool manager to
account for mTLS certificates used by clients to authenticate to a
server.
2024-03-14 06:06:22 -05:00
Ian Stapleton Cordasco
a58d7f2ffb
Merge pull request #6655 from sigmavirus24/fix-tls-floppy
...
Use TLS settings in selecting connection pool
2024-03-11 06:21:59 -05:00
Ian Stapleton Cordasco
c0813a2d91
Use TLS settings in selecting connection pool
...
Previously, if someone made a request with `verify=False` then made a
request where they expected verification to be enabled to the same host,
they would potentially reuse a connection where TLS had not been
verified.
This fixes that issue.
2024-03-06 11:28:13 -06:00
Ian Stapleton Cordasco
eea3bbf9ac
Merge pull request #6562 from amkarn258/issue-6223
...
every chardet package maps to requests.packages.chardet.* package respectively
2024-02-23 06:26:38 -06:00
Ian Stapleton Cordasco
f3f2611d83
Merge pull request #6583 from EFord36/fix-broken-links
...
Fix broken links in docs
2024-02-23 05:30:46 -06:00