Nate Prewitt
005571d118
Remove pytest-mock requirement ( #6505 )
2023-08-13 16:08:21 -07:00
Nate Prewitt
d63e94f552
Move to src directory ( #6506 )
2023-08-13 14:46:13 -07:00
Nate Prewitt
e9fa2e2da3
Add 3.12 classifier and tox configuration ( #6503 )
2023-08-13 12:56:18 -07:00
Nate Prewitt
678fca8423
Upgrade to httpbin 0.10.0 ( #6496 )
2023-08-13 09:56:53 -07:00
Nate Prewitt
d8152769ce
Merge pull request #6501 from psf/dependabot/github_actions/actions/checkout-3.5.3
2023-08-12 13:15:39 -07:00
Nate Prewitt
9ff1a25ef5
Merge pull request #6502 from psf/dependabot/github_actions/github/codeql-action-2.21.3
...
Bump github/codeql-action from 1.1.39 to 2.21.3
2023-08-12 12:50:52 -07:00
dependabot[bot]
4bd06cd325
Bump actions/checkout from 2.7.0 to 3.5.3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.7.0 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.7.0...c85c95e3d7251135ab7dc9ce3241c5835cc595a9 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-12 19:37:22 +00:00
Nate Prewitt
09a241f59e
Merge pull request #6500 from psf/dependabot/github_actions/actions/setup-python-4.7.0
...
Bump actions/setup-python from 2.3.4 to 4.7.0
2023-08-12 12:36:48 -07:00
Nate Prewitt
6ad493650c
Merge pull request #6499 from psf/dependabot/github_actions/dessant/lock-threads-4.0.1
...
Bump dessant/lock-threads from 3.0.0 to 4.0.1
2023-08-12 12:24:59 -07:00
dependabot[bot]
9acca90bf6
Bump github/codeql-action from 1.1.39 to 2.21.3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 1.1.39 to 2.21.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/231aa2c8a89117b126725a0e11897209b7118144...5b6282e01c62d02e720b81eb8a51204f527c3624 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-12 19:03:30 +00:00
dependabot[bot]
c7933453cf
Bump actions/setup-python from 2.3.4 to 4.7.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2.3.4 to 4.7.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2.3.4...61a6322f88396a6271a6ee3565807d608ecaddd1 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-12 19:03:22 +00:00
dependabot[bot]
ea49261a27
Bump dessant/lock-threads from 3.0.0 to 4.0.1
...
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads ) from 3.0.0 to 4.0.1.
- [Release notes](https://github.com/dessant/lock-threads/releases )
- [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md )
- [Commits](https://github.com/dessant/lock-threads/compare/e460dfeb36e731f3aeb214be6b0c9a9d9a67eda6...be8aa5be94131386884a6da4189effda9b14aa21 )
---
updated-dependencies:
- dependency-name: dessant/lock-threads
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-12 19:03:17 +00:00
Nate Prewitt
8112fcc7be
Pre commit update ( #6498 )
2023-08-12 12:03:10 -07:00
Nate Prewitt
2c193bda0c
Pin GHA workflows and add dependabot to keep them up to date ( #6497 )
2023-08-12 12:02:58 -07:00
Ian Stapleton Cordasco
34a64bc65e
Merge pull request #6266 from elprimato/spdx-conform-license
...
Change to SPDX conform license string
2023-08-12 13:51:42 -05:00
Nate Prewitt
9b6c62e235
Merge branch 'main' into spdx-conform-license
2023-08-12 11:37:15 -07:00
Joren Vrancken
cb7fcd7ebd
Specify that Session.headers needs to be set to a OrderedDict in Header Ordering docs ( #6475 )
2023-08-12 10:53:36 -07:00
Calle Svensson
aa4cc78627
Add note about adapter prefix match to docs ( #6465 )
2023-07-29 21:05:44 -07:00
Kevin Kirsche
dfe46c1b7f
refactor: prefer dictionary comphrension to loop ( #6187 )
2023-07-29 18:55:18 -07:00
Alexandre Erwin Ittner
2ecdb68561
Update reference to "cookielib" to "cookiejar" in documentation ( #6214 )
2023-07-29 18:50:43 -07:00
cpzt
fecf3dc472
add docstring parameter hooks ( #6456 )
2023-07-29 18:01:42 -07:00
Matthew Armand
cdbc2e2715
Add an Example for automatic retries to the Advanced Usage docs ( #6258 )
...
- While Requests doesn't automatically retry failures, this ability is a very common advanced use case in real world applications.
- Although there's a mention of this ability on the HTTPAdapter class docs, it's a bit buried and not very specific.
- It makes sense then to have an Example in the HTTPAdapter section of the Advanced Usage docs with a basic template for how this can be accomplished with Requests.
2023-07-03 13:38:22 -07:00
Boris Verkhovskiy
22db55a889
Fix doc typo ( #6467 )
2023-06-26 11:09:23 -06:00
Nate Prewitt
6e5b15d542
Fix linting issues
2023-05-22 09:36:22 -06:00
Nate Prewitt
147c8511dd
v2.31.0
2023-05-22 09:10:32 -06:00
Nate Prewitt
74ea7cf7a6
Merge pull request from GHSA-j8r2-6x86-q33q
2023-05-22 09:08:57 -06:00
Thomas Grainger
3022253346
test on pypy 3.8 and pypy 3.9 on windows and macos ( #6424 )
2023-05-15 09:04:21 -06:00
Thomas Grainger
b639e66c81
test on py3.12 ( #6448 )
...
* test on py3.12
* update to pytest-httpbin==2.0.0
2023-05-13 08:10:56 -06:00
Syed Saifullah
d3d504436e
Fixed a small typo ( #6452 )
2023-05-09 10:55:33 -06:00
Nate Prewitt
2ad18e0e10
v2.30.0
2023-05-03 09:39:44 -06:00
Quentin Pradet
f2629e9e3c
Remove strict parameter ( #6434 )
2023-04-28 13:17:10 -06:00
Nate Prewitt
87d63de873
v2.29.0
2023-04-26 09:19:11 -06:00
Thomas Grainger
51716c4ef3
enable the warnings plugin ( #6416 )
2023-04-22 18:00:22 -06:00
Thomas Grainger
a7da1ab349
try on ubuntu 22.04 ( #6418 )
2023-04-22 17:53:09 -06:00
Thomas Grainger
dfc3e24338
pin cryptography<40 on pypy 3.7 ( #6421 )
...
* pin cryptography<40 on pypy 3.7
2023-04-22 17:41:27 -06:00
Levi
26bea1e498
Use urllib3 native chunking ability ( #6226 )
...
* Fix #3844
* Use urllib for chunked
---------
Co-authored-by: James Pickering <james.pickering@xml-solutions.com >
Co-authored-by: Leon Verrall <LVerrall@slb.com >
2023-04-22 17:32:51 -06:00
Seth Michael Larson
7f694b79e1
Allow str/bytes subclasses to be used as header parts
2023-03-03 14:39:02 -06:00
Yifang Zhu
e90852d20c
Make json doc strings consistent ( #6368 )
2023-03-02 21:32:49 -08:00
Nate Prewitt
ec78348c4b
Upgrade lint.yml action ( #6370 )
2023-03-02 20:45:27 -08:00
Boris Verkhovskiy
46188256ee
Response.raw.read() returns bytes ( #6365 )
2023-02-27 08:31:15 -07:00
Quentin Pradet
15585909c3
Support missing SNIMissingWarning in tests ( #6336 )
2023-01-21 01:44:33 -07:00
Matthew Feickert
16a17a3ca7
fix: Remove '<4' from python_requires ( #6333 )
...
* As discussed in https://discuss.python.org/t/use-of-less-than-next-major-version-e-g-4-in-python-requires-setup-py/1066
and other places by the PyPA, use of upper bounds with python_requires
for future versions of Python is unintended use of python_requires and
actively discouraged.
2023-01-18 22:37:24 -07:00
Nate Prewitt
61c324da43
v2.28.2
2023-01-12 09:16:09 -07:00
Ashish Kurmi
eb07385b02
ci: add minimum GitHub token permissions for workflows ( #6236 )
...
Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io >
2023-01-11 15:06:53 -07:00
Bruno Alla
2745db131a
Switch to Python 3.11 final on CI and add to tox file ( #6325 )
2023-01-06 11:32:31 -07:00
ch-iv
ec553c275f
Update flake8 repo and version ( #6317 )
2022-12-25 21:24:16 -07:00
Ian Stapleton Cordasco
ac3be98b19
Merge pull request #6291 from oliviacrain/docs/git-clone-protocol
...
Replace git protocol URL in docs with an HTTPS URL
2022-11-21 16:06:01 -06:00
Olivia Crain
192083576d
Replace git protocol URL in docs with an HTTPS URL
2022-11-21 14:01:02 -06:00
Volker Schaus
53a0562331
change to SPDX conform license string
2022-10-23 18:35:43 +00:00
Ian Stapleton Cordasco
1e62a3ec18
Merge pull request #6262 from winmorre/docs-update/#6260
...
JSONDecodeError included in the documentation
2022-10-21 11:37:47 -05:00