Skip to content

Commit

Permalink
Bump httpx from 0.24.1 to 0.26.0 (#326)
Browse files Browse the repository at this point in the history
Bumps [httpx](https://github.com/encode/httpx) from 0.24.1 to 0.26.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/encode/httpx/releases">httpx's
releases</a>.</em></p>
<blockquote>
<h2>Version 0.26.0</h2>
<h2>0.26.0 (20th December, 2023)</h2>
<h3>Added</h3>
<ul>
<li>The <code>proxy</code> argument was added. You should use the
<code>proxy</code> argument instead of the deprecated
<code>proxies</code>, or use <code>mounts=</code> for more complex
configurations. (<a
href="https://redirect.github.com/encode/httpx/issues/2879">#2879</a>)</li>
</ul>
<h3>Deprecated</h3>
<ul>
<li>The <code>proxies</code> argument is now deprecated. It will still
continue to work, but it will be removed in the future. (<a
href="https://redirect.github.com/encode/httpx/issues/2879">#2879</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix cases of double escaping of URL path components. Allow / as a
safe character in the query portion. (<a
href="https://redirect.github.com/encode/httpx/issues/2990">#2990</a>)</li>
<li>Handle <code>NO_PROXY</code> envvar cases when a fully qualified URL
is supplied as the value. (<a
href="https://redirect.github.com/encode/httpx/issues/2741">#2741</a>)</li>
<li>Allow URLs where username or password contains unescaped '@'. (<a
href="https://redirect.github.com/encode/httpx/issues/2986">#2986</a>)</li>
<li>Ensure ASGI <code>raw_path</code> does not include URL query
component. (<a
href="https://redirect.github.com/encode/httpx/issues/2999">#2999</a>)</li>
<li>Ensure <code>Response.iter_text()</code> cannot yield empty strings.
(<a
href="https://redirect.github.com/encode/httpx/issues/2998">#2998</a>)</li>
</ul>
<h2>Version 0.25.2</h2>
<h2>0.25.2 (24th November, 2023)</h2>
<h3>Added</h3>
<ul>
<li>Add missing type hints to few <code>__init__()</code> methods. (<a
href="https://redirect.github.com/encode/httpx/issues/2938">#2938</a>)</li>
</ul>
<h2>Version 0.25.1</h2>
<h2>0.25.1 (3rd November, 2023)</h2>
<ul>
<li>Add support for Python 3.12. (<a
href="https://redirect.github.com/encode/httpx/issues/2854">#2854</a>)</li>
<li>Add support for httpcore 1.0 (<a
href="https://redirect.github.com/encode/httpx/issues/2885">#2885</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Raise <code>ValueError</code> on <code>Response.encoding</code>
being set after <code>Response.text</code> has been accessed. (<a
href="https://redirect.github.com/encode/httpx/issues/2852">#2852</a>)</li>
</ul>
<h2>Version 0.25.0</h2>
<h2>0.25.0 (11th Sep, 2023)</h2>
<h3>Removed</h3>
<ul>
<li>Drop support for Python 3.7. (<a
href="https://redirect.github.com/encode/httpx/issues/2813">#2813</a>)</li>
</ul>
<h3>Added</h3>
<ul>
<li>Support HTTPS proxies. (<a
href="https://redirect.github.com/encode/httpx/issues/2845">#2845</a>)</li>
<li>Change the type of <code>Extensions</code> from <code>Mapping[Str,
Any]</code> to <code>MutableMapping[Str, Any]</code>. (<a
href="https://redirect.github.com/encode/httpx/issues/2803">#2803</a>)</li>
<li>Add <code>socket_options</code> argument to
<code>httpx.HTTPTransport</code> and
<code>httpx.AsyncHTTPTransport</code> classes. (<a
href="https://redirect.github.com/encode/httpx/issues/2716">#2716</a>)</li>
<li>The <code>Response.raise_for_status()</code> method now returns the
response instance. For example: <code>data =
httpx.get('...').raise_for_status().json()</code>. (<a
href="https://redirect.github.com/encode/httpx/issues/2776">#2776</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/encode/httpx/blob/master/CHANGELOG.md">httpx's
changelog</a>.</em></p>
<blockquote>
<h2>0.26.0 (20th December, 2023)</h2>
<h3>Added</h3>
<ul>
<li>The <code>proxy</code> argument was added. You should use the
<code>proxy</code> argument instead of the deprecated
<code>proxies</code>, or use <code>mounts=</code> for more complex
configurations. (<a
href="https://redirect.github.com/encode/httpx/issues/2879">#2879</a>)</li>
</ul>
<h3>Deprecated</h3>
<ul>
<li>The <code>proxies</code> argument is now deprecated. It will still
continue to work, but it will be removed in the future. (<a
href="https://redirect.github.com/encode/httpx/issues/2879">#2879</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix cases of double escaping of URL path components. Allow / as a
safe character in the query portion. (<a
href="https://redirect.github.com/encode/httpx/issues/2990">#2990</a>)</li>
<li>Handle <code>NO_PROXY</code> envvar cases when a fully qualified URL
is supplied as the value. (<a
href="https://redirect.github.com/encode/httpx/issues/2741">#2741</a>)</li>
<li>Allow URLs where username or password contains unescaped '@'. (<a
href="https://redirect.github.com/encode/httpx/issues/2986">#2986</a>)</li>
<li>Ensure ASGI <code>raw_path</code> does not include URL query
component. (<a
href="https://redirect.github.com/encode/httpx/issues/2999">#2999</a>)</li>
<li>Ensure <code>Response.iter_text()</code> cannot yield empty strings.
(<a
href="https://redirect.github.com/encode/httpx/issues/2998">#2998</a>)</li>
</ul>
<h2>0.25.2 (24th November, 2023)</h2>
<h3>Added</h3>
<ul>
<li>Add missing type hints to few <code>__init__()</code> methods. (<a
href="https://redirect.github.com/encode/httpx/issues/2938">#2938</a>)</li>
</ul>
<h2>0.25.1 (3rd November, 2023)</h2>
<h3>Added</h3>
<ul>
<li>Add support for Python 3.12. (<a
href="https://redirect.github.com/encode/httpx/issues/2854">#2854</a>)</li>
<li>Add support for httpcore 1.0 (<a
href="https://redirect.github.com/encode/httpx/issues/2885">#2885</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Raise <code>ValueError</code> on <code>Response.encoding</code>
being set after <code>Response.text</code> has been accessed. (<a
href="https://redirect.github.com/encode/httpx/issues/2852">#2852</a>)</li>
</ul>
<h2>0.25.0 (11th September, 2023)</h2>
<h3>Removed</h3>
<ul>
<li>Drop support for Python 3.7. (<a
href="https://redirect.github.com/encode/httpx/issues/2813">#2813</a>)</li>
</ul>
<h3>Added</h3>
<ul>
<li>Support HTTPS proxies. (<a
href="https://redirect.github.com/encode/httpx/issues/2845">#2845</a>)</li>
<li>Change the type of <code>Extensions</code> from <code>Mapping[Str,
Any]</code> to <code>MutableMapping[Str, Any]</code>. (<a
href="https://redirect.github.com/encode/httpx/issues/2803">#2803</a>)</li>
<li>Add <code>socket_options</code> argument to
<code>httpx.HTTPTransport</code> and
<code>httpx.AsyncHTTPTransport</code> classes. (<a
href="https://redirect.github.com/encode/httpx/issues/2716">#2716</a>)</li>
<li>The <code>Response.raise_for_status()</code> method now returns the
response instance. For example: <code>data =
httpx.get('...').raise_for_status().json()</code>. (<a
href="https://redirect.github.com/encode/httpx/issues/2776">#2776</a>)</li>
</ul>
<h3>Fixed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/encode/httpx/commit/08eff926a6011ac84961fd2cee22d9fd4d4b1a88"><code>08eff92</code></a>
Version 0.26.0 (<a
href="https://redirect.github.com/encode/httpx/issues/3009">#3009</a>)</li>
<li><a
href="https://github.com/encode/httpx/commit/b4b27ff6777c8906c2b31dd879bd4cc1d9e4f6ce"><code>b4b27ff</code></a>
Remove unused curio check (<a
href="https://redirect.github.com/encode/httpx/issues/3010">#3010</a>)</li>
<li><a
href="https://github.com/encode/httpx/commit/a11fc3849b94157274c98d99501acad05cbfb221"><code>a11fc38</code></a>
Cleanup URL percent-encoding behavior. (<a
href="https://redirect.github.com/encode/httpx/issues/2990">#2990</a>)</li>
<li><a
href="https://github.com/encode/httpx/commit/3b9060ee1121b48669e0b30045c9344065f4f2ae"><code>3b9060e</code></a>
Fix environment proxies (<a
href="https://redirect.github.com/encode/httpx/issues/2741">#2741</a>)</li>
<li><a
href="https://github.com/encode/httpx/commit/2318fd822cdb16435ccb5cabcba16c0b7969c1e4"><code>2318fd8</code></a>
Enabling <code>ruff</code> C416 (<a
href="https://redirect.github.com/encode/httpx/issues/3001">#3001</a>)</li>
<li><a
href="https://github.com/encode/httpx/commit/2c51edd0c0d4124423661eb5678ae1a94a107260"><code>2c51edd</code></a>
Update CHANGELOG.md (<a
href="https://redirect.github.com/encode/httpx/issues/3000">#3000</a>)</li>
<li><a
href="https://github.com/encode/httpx/commit/1e110964736a95d822144390b99d7ecf17fca527"><code>1e11096</code></a>
Fixed <code>iter_text</code> adding an empty string (<a
href="https://redirect.github.com/encode/httpx/issues/2998">#2998</a>)</li>
<li><a
href="https://github.com/encode/httpx/commit/90538a3b4610ba49ce16c997bcfdb9101f9503be"><code>90538a3</code></a>
Ensure that ASGI 'raw_path' does not include query component of URL. (<a
href="https://redirect.github.com/encode/httpx/issues/2999">#2999</a>)</li>
<li><a
href="https://github.com/encode/httpx/commit/f8981f3d124f9b8db9073fd5c8afa11acb55a738"><code>f8981f3</code></a>
Add the 'proxy' parameter and deprecate 'proxies'. (<a
href="https://redirect.github.com/encode/httpx/issues/2879">#2879</a>)</li>
<li><a
href="https://github.com/encode/httpx/commit/b471f01d668b9ef730e8843531b07b1c21b74c47"><code>b471f01</code></a>
Allow URLs where username or password contains unescaped '@'. (<a
href="https://redirect.github.com/encode/httpx/issues/2986">#2986</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/encode/httpx/compare/0.24.1...0.26.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=httpx&package-manager=pip&previous-version=0.24.1&new-version=0.26.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>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Feb 19, 2024
1 parent 0098ef6 commit d7c7e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pep8-naming==0.13.3 # A Flake8 plugin to check code against PEP 8 naming convent
pytest==7.4.2
pytest-asyncio==0.21.1
pytest-mock==3.12.0
httpx==0.24.1 # needed for tests as a replacement of requests in TestClient
httpx==0.26.0 # needed for tests as a replacement of requests in TestClient
types-requests==2.31.0.20231231
types-redis==4.6.0.11
mypy==1.8.0
Expand Down

0 comments on commit d7c7e08

Please sign in to comment.