Elliot Ford
d3b3399ece
update authors github link
...
Update account link for original author which has changed.
2024-02-23 10:25:50 +00:00
Elliot Ford
0ec2780c29
update broken github pagination link
2024-02-23 10:25:50 +00:00
Ian Stapleton Cordasco
b8be93a721
Merge pull request #6589 from bruceadams/super_len_str_utf-8
...
Enhance `super_len` to count encoded bytes for str
2024-02-22 18:53:25 -06:00
Ian Stapleton Cordasco
3587a5f869
Merge pull request #6644 from sigmavirus24/bug/6643
...
Trim excess leading path separators
2024-02-22 18:49:42 -06:00
Ian Stapleton Cordasco
60389df6d6
Trim excess leading path separators
...
A URL with excess leading / (path-separator)s would cause urllib3 to
attempt to reparse the request-uri as a full URI with a host and port.
This bypasses that logic in ConnectionPool.urlopen by replacing these
leading /s with just a single /.
Closes #6643
2024-02-22 18:36:44 -06:00
Nate Prewitt
382fc2c0c6
Merge pull request #6629 from Tarty/fix-6628-jsondecode-error-not-deserializable
...
Fix #6628 - JSONDecodeError are not deserializable
2024-02-22 12:27:37 -08:00
Nate Prewitt
7a13c041db
Merge pull request #6642 from nateprewitt/drop_python_37
...
Drop support for CPython 3.7
2024-02-20 15:44:43 -08:00
Nate Prewitt
58cea7a728
Drop support for CPython 3.7
2024-02-20 15:37:46 -08:00
Ian Stapleton Cordasco
9439fad038
Merge pull request #6641 from nateprewitt/fix_ci
...
Fix CI
2024-02-20 17:32:57 -06:00
Nate Prewitt
8fa4302322
Update Sphinx to work with latest readthedocs requirements
2024-02-20 15:04:38 -08:00
Nate Prewitt
28855fd43a
Update supported copies of PyPy
...
Dropped support for pypy-3.7 and pypy-3.8 which are no longer maintained by upstream.
Added support for pypy-3.10.
2024-02-20 13:58:26 -08:00
Nate Prewitt
5fc10bf1f5
Fix httpbin pin for test suite
2024-02-20 13:37:25 -08:00
Ian Stapleton Cordasco
46c1a3d8c8
Merge pull request #6640 from nateprewitt/community_docs_cleanup
...
Cleanup defunct links from community docs page
2024-02-20 14:04:33 -06:00
Nate Prewitt
6106a63eb6
Cleanup defunct links from community docs page
2024-02-20 11:58:35 -08:00
Ian Stapleton Cordasco
4f3f189d6b
Merge pull request #6632 from psf/dependabot/github_actions/github/codeql-action-3.24.0
...
Bump github/codeql-action from 3.23.0 to 3.24.0
2024-02-05 20:54:26 -06:00
dependabot[bot]
a5a0e4b587
Bump github/codeql-action from 3.23.0 to 3.24.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.23.0 to 3.24.0.
- [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/e5f05b81d5b6ff8cfa111c80c22c5fd02a384118...e8893c57a1f3a2b659b6b55564fdfdbbd2982911 )
---
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-02-05 16:38:01 +00:00
Thomas Dehghani
3ff3ff21dd
Fix #6628 - JSONDecodeError are not deserializable
...
requests.exceptions.JSONDecodeError are not deserializable: calling
`pickle.dumps` followed by `pickle.loads` will trigger an error.
This is particularly a problem in a process pool, as an attempt to
decode json on an invalid json document will result in the entire
process pool crashing.
This is due to the MRO of the `requests.exceptions.JSONDecodeError`
class: the `__reduce__` method called when pickling an instance is not
the one from the JSON library parent: two out of three args expected
for instantiation will be dropped, and the instance can't be
deserialised.
By specifying in the class which parent `__reduce__` method should be
called, the bug is fixed as all args are carried over in the resulting
pickled bytes.
2024-01-31 17:13:53 +01:00
Ian Stapleton Cordasco
96b22fa18c
Merge pull request #6619 from psf/dependabot/github_actions/github/codeql-action-3.23.0
...
Bump github/codeql-action from 3.22.11 to 3.23.0
2024-01-08 11:56:01 -06:00
dependabot[bot]
b0e6c9bf85
Bump github/codeql-action from 3.22.11 to 3.23.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.22.11 to 3.23.0.
- [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/b374143c1149a9115d881581d29b8390bbcbb59c...e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 )
---
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-01-08 17:01:37 +00:00
Ian Stapleton Cordasco
72eccc8dd8
Merge pull request #6612 from miketheman/fix-docs-urls
...
docs: specify sphinx dirhtml builder, use references instead of absolutes
2023-12-23 12:33:48 -06:00
Mike Fiedler
25939d8784
add myself
...
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2023-12-23 18:15:33 +00:00
Mike Fiedler
bfba9dc68c
docs: replace concrete URLs with references
...
Any development links will now refer back to the generated docs.
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2023-12-23 18:09:55 +00:00
Mike Fiedler
f23346a9b8
Revert "Merge pull request #6605 from jaikishpai/fix-#6604"
...
This reverts commit 1396eb6f7a , reversing
changes made to e4c821a247 .
2023-12-23 17:36:34 +00:00
Ian Stapleton Cordasco
f3f9784419
Merge pull request #6613 from miketheman/add-socks-label
...
docs: add label to socks heading
2023-12-23 11:24:56 -06:00
Mike Fiedler
b5bd0f14cc
docs: add label to socks heading
...
When trying to link via intersphinx, a label must be used.
Otherwise a full URL is required, which is less desirable.
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2023-12-23 17:17:34 +00:00
Mike Fiedler
242d3113c0
docs: specify sphinx dirhtml builder
...
With the requirement of a configuration file, the default builder
of `dirhtml` that RTD used to use is no longer specified.
This leads to URLs ending in `.html` now, which
breaks other exisitng references.
Refs: #6603
Refs: https://docs.readthedocs.io/en/stable/config-file/v2.html#sphinx-builder
Refs: https://www.sphinx-doc.org/en/master/usage/builders/index.html#sphinx.builders.dirhtml.DirectoryHTMLBuilder
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2023-12-23 16:16:50 +00:00
Nate Prewitt
1396eb6f7a
Merge pull request #6605 from jaikishpai/fix-#6604
...
fix for ##6604
2023-12-19 22:17:55 -08:00
Nate Prewitt
e4c821a247
Merge pull request #6607 from psf/dependabot/github_actions/github/codeql-action-3.22.11
...
Bump github/codeql-action from 2.22.1 to 3.22.11
2023-12-18 09:30:42 -08:00
dependabot[bot]
421b1f1757
Bump github/codeql-action from 2.22.1 to 3.22.11
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.22.1 to 3.22.11.
- [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/fdcae64e1484d349b3366718cdfef3d404390e85...b374143c1149a9115d881581d29b8390bbcbb59c )
---
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-12-18 16:39:47 +00:00
Jaikish Pai
1447bccc05
fix for ##6604
2023-12-17 22:34:30 +01:00
Ian Stapleton Cordasco
3b5978fc5d
Merge pull request #6592 from atatuzuner61/bug/6584
...
"TOO_EARLY" type definition for status code 425
2023-12-16 14:24:02 -06:00
Ian Stapleton Cordasco
1ddf014f47
Merge pull request #6600 from MestreLion/MestreLion-connection-timeout-note
...
Add note on connection timeout being larger than specified. Fix #5773
2023-12-16 07:30:18 -06:00
Ian Stapleton Cordasco
92f9e431c9
Update docs/user/advanced.rst
...
Add note about wall clock too
2023-12-16 07:29:50 -06:00
Ian Stapleton Cordasco
951dd15fa6
Update docs/user/advanced.rst
...
fix indentation for note so it renders properly
2023-12-16 07:26:23 -06:00
Ian Stapleton Cordasco
51d0d83eaf
Merge pull request #6603 from nsoranzo/rtd_config
...
Add now mandatory readthedocs config file
2023-12-16 07:24:37 -06:00
Nicola Soranzo
c7c2ebf1a7
Add now mandatory readthedocs config file
...
Docs builds currently fail with:
```
Problem in your project's configuration. No default configuration file found at repository's root. See https://docs.readthedocs.io/en/stable/config-file/
```
See e.g. https://readthedocs.org/projects/requests/builds/22842479/
2023-12-15 20:59:56 +00:00
Rodrigo Silva
a64f32ba45
Add note on connection timeout being larger than specified. Fix #5773
...
On servers with multiple IPs, such as IPv4 and IPv6, `urllib3` tries each address sequentially until one successfully connects, using the specified timeout for _each_ attempt, leading to a total connection timeout that is a _multiple_ of the requested time.
2023-12-13 10:05:12 -03:00
Nate Prewitt
a25fde6989
Merge pull request #6599 from psf/dependabot/github_actions/actions/setup-python-5.0.0
2023-12-11 08:11:07 -08:00
dependabot[bot]
ba67dc8dcc
Bump actions/setup-python from 4.7.0 to 5.0.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.7.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/61a6322f88396a6271a6ee3565807d608ecaddd1...0a5c61591373683505ea898e09a3ea4f39ef2b9c )
---
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-12-11 16:07:15 +00:00
Nate Prewitt
769bc3ae5c
Merge pull request #6596 from psf/fix-autoclose-automtaion
...
Update close-issues.yml
2023-12-01 09:18:02 -08:00
Ian Stapleton Cordasco
d6ffd868ee
Update close-issues.yml
...
I noticed the auto-labeling was working but not the auto-closing. Looking at recent actions runs I see that we need to specify the token even if we're not giving our own special token. See https://github.com/psf/requests/actions/runs/7057701782/job/19211845073#step:2:13 for additional context, namely
```
gh: To use GitHub CLI in a GitHub Actions workflow, set the GH_TOKEN environment variable. Example:
env:
GH_TOKEN: ${{ github.token }}
```
2023-12-01 08:05:59 -06:00
Bruce Adams
3fd309a5c1
Enhance super_len to count encoded bytes for str
...
This fixes issue #6586
2023-11-29 15:42:57 -05:00
Ata Tuzuner
ec84f2c539
Fixes to test
2023-11-29 12:27:18 -05:00
Ata Tuzuner
889910c77a
Added tests for status code 425 definitions.
2023-11-29 12:24:15 -05:00
Ata Tuzuner
b37878d340
Too early definition added to 425 status code type
2023-11-28 18:12:22 -05:00
Bruce Adams
f6707042d8
Unit test for string containing multi-byte UTF-8
...
There are two tests here. One demonstrating existing, correct
behavior for `data=bytes`, and another, failing, test for the case
where `data=string` and the string contains multi-byte UTF-8.
2023-11-27 17:27:43 -05:00
Ian Stapleton Cordasco
0b4d494192
Merge pull request #6581 from EFord36/typo-fix
...
fix docstring typo: a -> as
2023-11-22 09:10:47 -06:00
Elliot Ford
15849947ec
fix docstring typo: a -> as
2023-11-22 11:34:04 +00:00
Ian Stapleton Cordasco
c6de5a14e5
Merge pull request #6580 from psf/dependabot/github_actions/dessant/lock-threads-5.0.0
...
Bump dessant/lock-threads from 4.0.1 to 5.0.0
2023-11-20 10:37:07 -06:00
dependabot[bot]
e66a07b286
Bump dessant/lock-threads from 4.0.1 to 5.0.0
...
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads ) from 4.0.1 to 5.0.0.
- [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/be8aa5be94131386884a6da4189effda9b14aa21...d42e5f49803f3c4e14ffee0378e31481265dda22 )
---
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-11-20 16:28:17 +00:00