Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update httpx requirement from ~=0.24.1 to ~=0.25.0 #3891

Merged
merged 1 commit into from Sep 25, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 15, 2023

Updates the requirements on httpx to permit the latest version.

Release notes

Sourced from httpx's releases.

Version 0.25.0

0.25.0 (11th Sep, 2023)

Removed

  • Drop support for Python 3.7. (#2813)

Added

  • Support HTTPS proxies. (#2845)
  • Change the type of Extensions from Mapping[Str, Any] to MutableMapping[Str, Any]. (#2803)
  • Add socket_options argument to httpx.HTTPTransport and httpx.AsyncHTTPTransport classes. (#2716)
  • The Response.raise_for_status() method now returns the response instance. For example: data = httpx.get('...').raise_for_status().json(). (#2776)

Fixed

  • Return 500 error response instead of exceptions when raise_app_exceptions=False is set on ASGITransport. (#2669)
  • Ensure all WSGITransport environs have a SERVER_PROTOCOL. (#2708)
  • Always encode forward slashes as %2F in query parameters (#2723)
  • Use Mozilla documentation instead of httpstatuses.com for HTTP error reference (#2768)
Changelog

Sourced from httpx's changelog.

0.25.0 (11th Sep, 2023)

Removed

  • Drop support for Python 3.7. (#2813)

Added

  • Support HTTPS proxies. (#2845)
  • Change the type of Extensions from Mapping[Str, Any] to MutableMapping[Str, Any]. (#2803)
  • Add socket_options argument to httpx.HTTPTransport and httpx.AsyncHTTPTransport classes. (#2716)
  • The Response.raise_for_status() method now returns the response instance. For example: data = httpx.get('...').raise_for_status().json(). (#2776)

Fixed

  • Return 500 error response instead of exceptions when raise_app_exceptions=False is set on ASGITransport. (#2669)
  • Ensure all WSGITransport environs have a SERVER_PROTOCOL. (#2708)
  • Always encode forward slashes as %2F in query parameters (#2723)
  • Use Mozilla documentation instead of httpstatuses.com for HTTP error reference (#2768)

0.24.1 (17th May, 2023)

Added

  • Provide additional context in some InvalidURL exceptions. (#2675)

Fixed

  • Fix optional percent-encoding behaviour. (#2671)
  • More robust checking for opening upload files in binary mode. (#2630)
  • Properly support IP addresses in NO_PROXY environment variable. (#2659)
  • Set default file for NetRCAuth() to None to use the stdlib default. (#2667)
  • Set logging request lines to INFO level for async requests, in line with sync requests. (#2656)
  • Fix which gen-delims need to be escaped for path/query/fragment components in URL. (#2701)

0.24.0 (6th April, 2023)

Changed

  • The logging behaviour has been changed to be more in-line with other standard Python logging usages. We no longer have a custom TRACE log level, and we no longer use the HTTPX_LOG_LEVEL environment variable to auto-configure logging. We now have a significant amount of DEBUG logging available at the network level. Full documentation is available at https://www.python-httpx.org/logging/ (#2547, encode/httpcore#648)
  • The Response.iter_lines() method now matches the stdlib behaviour and does not include the newline characters. It also resolves a performance issue. (#2423)
  • Query parameter encoding switches from using + for spaces and %2F for forward slash, to instead using %20 for spaces and treating forward slash as a safe, unescaped character. This differs from requests, but is in line with browser behavior in Chrome, Safari, and Firefox. Both options are RFC valid. (#2543)
  • NetRC authentication is no longer automatically handled, but is instead supported by an explicit httpx.NetRCAuth() authentication class. See the documentation at https://www.python-httpx.org/advanced/#netrc-support (#2525)

Removed

  • The rfc3986 dependancy has been removed. (#2252)

0.23.3 (4th Jan, 2023)

... (truncated)

Commits

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 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python labels Sep 15, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Looks like you edited the (optional) requirements or the pre-commit hooks. I'm just a friendly reminder to keep the additional dependencies for the hooks in sync with the requirements :)

@dependabot dependabot bot force-pushed the dependabot/pip/httpx-approx-eq-0.25.0 branch 2 times, most recently from 8886e59 to eac25eb Compare September 22, 2023 16:53
Updates the requirements on [httpx](https://github.com/encode/httpx) to permit the latest version.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](encode/httpx@0.24.1...0.25.0)

---
updated-dependencies:
- dependency-name: httpx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/httpx-approx-eq-0.25.0 branch from eac25eb to 71bf881 Compare September 22, 2023 17:45
@Bibo-Joshi Bibo-Joshi merged commit 7adb4fa into master Sep 25, 2023
23 of 24 checks passed
@Bibo-Joshi Bibo-Joshi deleted the dependabot/pip/httpx-approx-eq-0.25.0 branch September 25, 2023 06:52
@github-actions github-actions bot locked and limited conversation to collaborators Oct 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant