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

Support httpx 0.28 #695

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Support httpx 0.28 #695

merged 1 commit into from
Dec 20, 2024

Conversation

MeggyCal
Copy link
Contributor

@MeggyCal MeggyCal commented Dec 19, 2024

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

(If no, please delete the above question and this text message.)


  • You consent that the copyright of your pull request source code belongs to Authlib's author.

Description

httpx 0.28.0 proceeded with some pending deprecations, one of them was dropping the app keyword argument. In this PR I implemented a thin compatibility layer. Tests pass with this change.

@MeggyCal
Copy link
Contributor Author

The tests should be modernized at some point, but this was less code 🙂 . Also, with just this change we will keep supporting also the applications which haven't migrated to the new httpx yet.

@lepture lepture merged commit bc55003 into lepture:master Dec 20, 2024
10 checks passed
@lepture
Copy link
Owner

lepture commented Dec 20, 2024

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants