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

requirement: bump httpx from 0.23.0 to 0.23.3 #1943

Merged
merged 2 commits into from Jan 5, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2023

Bumps httpx from 0.23.0 to 0.23.3.

Release notes

Sourced from httpx's releases.

Version 0.23.3

0.23.3 (4th Jan, 2023)

Fixed

  • Version 0.23.2 accidentally included stricter type checking on query parameters. This shouldn've have been included in a minor version bump, and is now reverted. (#2523, #2539)

Version 0.23.2

0.23.2 (2nd Jan, 2023)

Added

  • Support digest auth nonce counting to avoid multiple auth requests. (#2463)

Fixed

  • Multipart file uploads where the file length cannot be determine now use chunked transfer encoding, rather than loading the entire file into memory in order to determine the Content-Length. (#2382)
  • Raise TypeError if content is passed a dict-instance. (#2495)
  • Partially revert the API breaking change in 0.23.1, which removed RawURL. We continue to expose a url.raw property which is now a plain named-tuple. This API is still expected to be deprecated, but we will do so with a major version bump. (#2481)

Version 0.23.1

0.23.1

Added

Fixed

  • Don't drop empty query parameters. (#2354)

Removed

  • Drop .read/.aread from SyncByteStream/AsyncByteStream (#2407)
  • Drop RawURL. (#2241)
Changelog

Sourced from httpx's changelog.

0.23.3 (4th Jan, 2023)

Fixed

  • Version 0.23.2 accidentally included stricter type checking on query parameters. This shouldn've have been included in a minor version bump, and is now reverted. (#2523, #2539)

0.23.2 (2nd Jan, 2023)

Added

  • Support digest auth nonce counting to avoid multiple auth requests. (#2463)

Fixed

  • Multipart file uploads where the file length cannot be determine now use chunked transfer encoding, rather than loading the entire file into memory in order to determine the Content-Length. (#2382)
  • Raise TypeError if content is passed a dict-instance. (#2495)
  • Partially revert the API breaking change in 0.23.1, which removed RawURL. We continue to expose a url.raw property which is now a plain named-tuple. This API is still expected to be deprecated, but we will do so with a major version bump. (#2481)

0.23.1 (18th Nov, 2022)

Note: The 0.23.1 release should have used a proper version bump, rather than a minor point release. There are API surface area changes that may affect some users. See the "Removed" section of these release notes for details.

Added

Fixed

  • Don't drop empty query parameters. (#2354)

Removed

  • Upload files must always be opened in binary mode. (#2400)
  • Drop .read/.aread from SyncByteStream/AsyncByteStream. (#2407)
  • Drop RawURL. (#2241)
Commits

Dependabot compatibility score

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 5, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/httpx-0.23.3 branch 6 times, most recently from 91f6653 to 6fe6734 Compare January 5, 2023 13:43
@francoisfreitag francoisfreitag self-assigned this Jan 5, 2023
@@ -150,7 +150,9 @@ def test_offres(self):
json={"resultats": pole_emploi_api_mocks.API_OFFRES},
)
assert self.api_client.offres(natureContrat="FT", range="0-1") == pole_emploi_api_mocks.API_OFFRES
respx.get("https://pe.fake/offresdemploi/v2/offres/search?range=100-140").respond(204)
respx.get("https://pe.fake/offresdemploi/v2/offres/search?typeContrat=&natureContrat=&range=100-140").respond(
Copy link
Contributor

Choose a reason for hiding this comment

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

Tu as regardé pourquoi ça passait avant et plus maintenant ? On est d'accord que ce fix du test marche aussi en httpx 0.23.0 ?

Copy link
Contributor

Choose a reason for hiding this comment

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

C’est lié à encode/httpx@d5900cd.
Auparavant, HTTPX droppait les query params avec des valeurs vides.

Copy link
Contributor

Choose a reason for hiding this comment

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

git tag --contains d5900cd40ec85e47800e21e77bc684b9f65325ed
0.23.1
0.23.2
0.23.3

Copy link
Contributor

Choose a reason for hiding this comment

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

Depuis le changelog : encode/httpx#2354

dependabot bot and others added 2 commits January 5, 2023 17:21
Bumps [httpx](https://github.com/encode/httpx) from 0.23.0 to 0.23.3.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](encode/httpx@0.23.0...0.23.3)

---
updated-dependencies:
- dependency-name: httpx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
The expected querystring was not representative of the call being by the
API client.
@vperron
Copy link
Contributor

vperron commented Jan 5, 2023

Bien vu et merci !

@vperron vperron merged commit f9999d4 into master Jan 5, 2023
@vperron vperron deleted the dependabot/pip/httpx-0.23.3 branch January 5, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants