Added support for charset-normalizer 2.1.0 (#6169)
2.28.0 (2022-06-09)
Deprecations
⚠️ Requests has officially dropped support for Python 2.7. ⚠️ (#6091)
Requests has officially dropped support for Python 3.6 (including pypy3.6). (#6091)
Improvements
Wrap JSON parsing issues in Request's JSONDecodeError for payloads without
an encoding to make json() API consistent. (#6097)
Parse header components consistently, raising an InvalidHeader error in
all invalid cases. (#6154)
Added provisional 3.11 support with current beta build. (#6155)
Requests got a makeover and we decided to paint it black. (#6095)
Bugfixes
Fixed bug where setting CURL_CA_BUNDLE to an empty string would disable
cert verification. All Requests 2.x versions before 2.28.0 are affected. (#6074)
Fixed urllib3 exception leak, wrapping urllib3.exceptions.SSLError with
requests.exceptions.SSLError for content and iter_content. (#6057)
Fixed issue where invalid Windows registry entires caused proxy resolution
to raise an exception rather than ignoring the entry. (#6149)
Fixed issue where entire payload could be included in the error message for
JSONDecodeError. (#6036)
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 commands and options
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 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)
Bumps [requests](https://github.com/psf/requests) from 2.25.1 to 2.28.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/psf/requests/releases">requests's releases</a>.</em></p>
<blockquote>
<h2>v2.28.2</h2>
<h2>2.28.2 (2023-01-12)</h2>
<p><strong>Dependencies</strong></p>
<ul>
<li>Requests now supports charset_normalizer 3.x. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6261">#6261</a>)</li>
</ul>
<p><strong>Bugfixes</strong></p>
<ul>
<li>Updated MissingSchema exception to suggest https scheme rather than http. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6188">#6188</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/slyapustin"><code>@slyapustin</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/psf/requests/pull/6188">psf/requests#6188</a></li>
<li><a href="https://github.com/mila"><code>@mila</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/psf/requests/pull/6200">psf/requests#6200</a></li>
<li><a href="https://github.com/DavidCain"><code>@DavidCain</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/psf/requests/pull/6204">psf/requests#6204</a></li>
<li><a href="https://github.com/jaap3"><code>@jaap3</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/psf/requests/pull/6234">psf/requests#6234</a></li>
<li><a href="https://github.com/deedy5"><code>@deedy5</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/psf/requests/pull/6261">psf/requests#6261</a></li>
<li><a href="https://github.com/winmorre"><code>@winmorre</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/psf/requests/pull/6262">psf/requests#6262</a></li>
<li><a href="https://github.com/oliviacrain"><code>@oliviacrain</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/psf/requests/pull/6291">psf/requests#6291</a></li>
<li><a href="https://github.com/ch-iv"><code>@ch-iv</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/psf/requests/pull/6317">psf/requests#6317</a></li>
<li><a href="https://github.com/boahc077"><code>@boahc077</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/psf/requests/pull/6236">psf/requests#6236</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/psf/requests/compare/v2.28.1...v2.28.2">https://github.com/psf/requests/compare/v2.28.1...v2.28.2</a></p>
<h2>v2.28.1</h2>
<h2>2.28.1 (2022-06-29)</h2>
<p><strong>Improvements</strong></p>
<ul>
<li>Speed optimization in <code>iter_content</code> with transition to <code>yield from</code>. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6170">#6170</a>)</li>
</ul>
<p><strong>Dependencies</strong></p>
<ul>
<li>Added support for chardet 5.0.0 (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6179">#6179</a>)</li>
<li>Added support for charset-normalizer 2.1.0 (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6169">#6169</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/hswong3i"><code>@hswong3i</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/psf/requests/pull/6179">psf/requests#6179</a></li>
<li><a href="https://github.com/frenzymadness"><code>@frenzymadness</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/psf/requests/pull/6169">psf/requests#6169</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/psf/requests/blob/main/HISTORY.md#2281-2022-06-29">https://github.com/psf/requests/blob/main/HISTORY.md#2281-2022-06-29</a></p>
<h2>v2.28.0</h2>
<h2>2.28.0 (2022-06-09)</h2>
<p><strong>Deprecations</strong></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/psf/requests/blob/main/HISTORY.md">requests's changelog</a>.</em></p>
<blockquote>
<h2>2.28.2 (2023-01-12)</h2>
<p><strong>Dependencies</strong></p>
<ul>
<li>Requests now supports charset_normalizer 3.x. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6261">#6261</a>)</li>
</ul>
<p><strong>Bugfixes</strong></p>
<ul>
<li>Updated MissingSchema exception to suggest https scheme rather than http. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6188">#6188</a>)</li>
</ul>
<h2>2.28.1 (2022-06-29)</h2>
<p><strong>Improvements</strong></p>
<ul>
<li>Speed optimization in <code>iter_content</code> with transition to <code>yield from</code>. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6170">#6170</a>)</li>
</ul>
<p><strong>Dependencies</strong></p>
<ul>
<li>Added support for chardet 5.0.0 (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6179">#6179</a>)</li>
<li>Added support for charset-normalizer 2.1.0 (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6169">#6169</a>)</li>
</ul>
<h2>2.28.0 (2022-06-09)</h2>
<p><strong>Deprecations</strong></p>
<ul>
<li>⚠️ Requests has officially dropped support for Python 2.7. ⚠️ (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6091">#6091</a>)</li>
<li>Requests has officially dropped support for Python 3.6 (including pypy3.6). (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6091">#6091</a>)</li>
</ul>
<p><strong>Improvements</strong></p>
<ul>
<li>Wrap JSON parsing issues in Request's JSONDecodeError for payloads without
an encoding to make <code>json()</code> API consistent. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6097">#6097</a>)</li>
<li>Parse header components consistently, raising an InvalidHeader error in
all invalid cases. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6154">#6154</a>)</li>
<li>Added provisional 3.11 support with current beta build. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6155">#6155</a>)</li>
<li>Requests got a makeover and we decided to paint it black. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6095">#6095</a>)</li>
</ul>
<p><strong>Bugfixes</strong></p>
<ul>
<li>Fixed bug where setting <code>CURL_CA_BUNDLE</code> to an empty string would disable
cert verification. All Requests 2.x versions before 2.28.0 are affected. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6074">#6074</a>)</li>
<li>Fixed urllib3 exception leak, wrapping <code>urllib3.exceptions.SSLError</code> with
<code>requests.exceptions.SSLError</code> for <code>content</code> and <code>iter_content</code>. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6057">#6057</a>)</li>
<li>Fixed issue where invalid Windows registry entires caused proxy resolution
to raise an exception rather than ignoring the entry. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6149">#6149</a>)</li>
<li>Fixed issue where entire payload could be included in the error message for
JSONDecodeError. (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6036">#6036</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/psf/requests/commit/61c324da43dd8b775d3930d76265538b3ca27bc1"><code>61c324d</code></a> v2.28.2</li>
<li><a href="https://github.com/psf/requests/commit/eb07385b025798baf921d3cb3b398c8794524fd9"><code>eb07385</code></a> ci: add minimum GitHub token permissions for workflows (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6236">#6236</a>)</li>
<li><a href="https://github.com/psf/requests/commit/2745db131a667a3d5457957cb3ed6adeb9b9949a"><code>2745db1</code></a> Switch to Python 3.11 final on CI and add to tox file (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6325">#6325</a>)</li>
<li><a href="https://github.com/psf/requests/commit/ec553c275fe915ab8c179a530907b564892d2922"><code>ec553c2</code></a> Update flake8 repo and version (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6317">#6317</a>)</li>
<li><a href="https://github.com/psf/requests/commit/ac3be98b19f4d09c6a970b271a3ae30f3d0858f7"><code>ac3be98</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/psf/requests/issues/6291">#6291</a> from oliviacrain/docs/git-clone-protocol</li>
<li><a href="https://github.com/psf/requests/commit/192083576d1e92627976db1bb0948956a4d9baa8"><code>1920835</code></a> Replace git protocol URL in docs with an HTTPS URL</li>
<li><a href="https://github.com/psf/requests/commit/1e62a3ec18e19f85ddae03b4cbbdf0b4c62834c0"><code>1e62a3e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/psf/requests/issues/6262">#6262</a> from winmorre/docs-update/<a href="https://github-redirect.dependabot.com/psf/requests/issues/6260">#6260</a></li>
<li><a href="https://github.com/psf/requests/commit/7908ad3af981a424f36aab4357b03a38f2b8ee18"><code>7908ad3</code></a> JSONDecodeError included in the documentation <a href="https://github-redirect.dependabot.com/psf/requests/issues/6260">#6260</a></li>
<li><a href="https://github.com/psf/requests/commit/c57f1f0ca10e61771b459c857182c23626607312"><code>c57f1f0</code></a> Allow charset normalizer >=2 and <4 (<a href="https://github-redirect.dependabot.com/psf/requests/issues/6261">#6261</a>)</li>
<li><a href="https://github.com/psf/requests/commit/7104ad4b135daab0ed19d8e41bd469874702342b"><code>7104ad4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/psf/requests/issues/6234">#6234</a> from jaap3/patch-1</li>
<li>Additional commits viewable in <a href="https://github.com/psf/requests/compare/v2.25.1...v2.28.2">compare view</a></li>
</ul>
</details>
<br />
[](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 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps requests from 2.25.1 to 2.28.2.
Release notes
Sourced from requests's releases.
... (truncated)
Changelog
Sourced from requests's changelog.
... (truncated)
Commits
61c324dv2.28.2eb07385ci: add minimum GitHub token permissions for workflows (#6236)2745db1Switch to Python 3.11 final on CI and add to tox file (#6325)ec553c2Update flake8 repo and version (#6317)ac3be98Merge pull request #6291 from oliviacrain/docs/git-clone-protocol1920835Replace git protocol URL in docs with an HTTPS URL1e62a3eMerge pull request #6262 from winmorre/docs-update/#62607908ad3JSONDecodeError included in the documentation #6260c57f1f0Allow charset normalizer >=2 and <4 (#6261)7104ad4Merge pull request #6234 from jaap3/patch-1Dependabot 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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)