Updates the requirements on httpx to permit the latest version.
Release notesSourced from httpx's releases.
ChangelogVersion 0.25.1
0.25.1 (3rd November, 2023)
Fixed
- Raise
ValueErroronResponse.encodingbeing set afterResponse.texthas been accessed. (#2852)
Sourced from httpx's changelog.
0.25.1 (3rd November, 2023)
Fixed
- Raise
ValueErroronResponse.encodingbeing set afterResponse.texthas been accessed. (#2852)0.25.0 (11th September, 2023)
Removed
- Drop support for Python 3.7. (#2813)
Added
- Support HTTPS proxies. (#2845)
- Change the type of
ExtensionsfromMapping[Str, Any]toMutableMapping[Str, Any]. (#2803)- Add
socket_optionsargument tohttpx.HTTPTransportandhttpx.AsyncHTTPTransportclasses. (#2716)- The
Response.raise_for_status()method now returns the response instance. For example:data = httpx.get('...').raise_for_status().json(). (#2776)Fixed
- Return
500error response instead of exceptions whenraise_app_exceptions=Falseis set onASGITransport. (#2669)- Ensure all
WSGITransportenvirons have aSERVER_PROTOCOL. (#2708)- Always encode forward slashes as
%2Fin query parameters (#2723)- Use Mozilla documentation instead of
httpstatuses.comfor HTTP error reference (#2768)0.24.1 (17th May, 2023)
Added
- Provide additional context in some
InvalidURLexceptions. (#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_PROXYenvironment variable. (#2659)- Set default file for
NetRCAuth()toNoneto 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
TRACElog level, and we no longer use theHTTPX_LOG_LEVELenvironment variable to auto-configure logging. We now have a significant amount ofDEBUGlogging 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)
... (truncated)
Commitsb07d4e8Version 0.25.1 (#2923)280a89aSupport newer versions of httpcore (#2885)1b7f39eUse ruff format (#2901)05937f4Bump trio-typing from 0.8.0 to 0.9.0 (#2914)aea4870Bump mkdocs-material from 9.4.2 to 9.4.7 (#2915)2cb3252Bump pytest from 7.4.2 to 7.4.3 (#2917)1d73150Cleanup response.json() method (#2911)5f2d620Fix third party package documentation link (#2902)ad06741Lazily import 'netrc' module (#2910)9751f76Drop unneccessarybinasciiimport (#2909)- Additional commits viewable in compare view
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 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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@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)