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

ci(httpx): pin tested version to v0.22.0 [backport 1.5] #4768

Closed
wants to merge 4 commits into from

Conversation

mabdinur
Copy link
Contributor

@mabdinur mabdinur commented Dec 9, 2022

Description

CI mitigation for issue addressed in this PR #4595.

Reviewer Checklist

  • Title is accurate.
  • Description motivates each change.
  • No unnecessary changes were introduced in this PR.
  • Avoid breaking API changes unless absolutely necessary.
  • Tests provided or description of manual testing performed is included in the code or PR.
  • Release note has been added and follows the library release note guidelines, or else changelog/no-changelog label added.
  • All relevant GitHub issues are correctly linked.
  • Backports are identified and tagged with Mergifyio.

## Description
[As of `httpx==0.23.1`](encode/httpx#2241), the `URL.raw` property was removed, which broke our `_url_to_str()` helper that uses that property to construct the raw URL.

However, the removed property was simply a combination of already existing (and still existing) properties in the `URL` object, which we can use to manually consturct the raw URL. I've version gated it such that nothing's changed for previous versions of `httpx`, but moving forward we'll manually construct the raw URL.



## Checklist
- [x] Add additional sections for `feat` and `fix` pull requests.
- [x] [Library documentation](https://github.com/DataDog/dd-trace-py/tree/1.x/docs) and/or [Datadog's documentation site](https://github.com/DataDog/documentation/) is updated. Link to doc PR in description.





## Motivation


## Design 


## Testing strategy




## Relevant issue(s)


## Testing strategy




## Reviewer Checklist
- [ ] Title is accurate.
- [ ] Description motivates each change.
- [ ] No unnecessary changes were introduced in this PR.
- [ ] Avoid breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes unless absolutely necessary.
- [ ] Tests provided or description of manual testing performed is included in the code or PR.
- [ ] Release note has been added for fixes and features, or else `changelog/no-changelog` label added.
- [ ] All relevant GitHub issues are correctly linked.
- [ ] Backports are identified and tagged with Mergifyio.
@mabdinur mabdinur marked this pull request as ready for review December 9, 2022 20:45
@mabdinur mabdinur requested a review from a team as a code owner December 9, 2022 20:45
@mabdinur mabdinur added the changelog/no-changelog A changelog entry is not required for this PR. label Dec 9, 2022
riotfile.py Outdated Show resolved Hide resolved
@mabdinur mabdinur changed the title fix(httpx): manually construct removed URL.raw property [backport #4595 to 1.5] ci(httpx): pin tested version to v0.22.0 Dec 12, 2022
@mabdinur mabdinur changed the title ci(httpx): pin tested version to v0.22.0 ci(httpx): pin tested version to v0.22.0 [backport 1.5] Dec 13, 2022
@mabdinur mabdinur closed this Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog A changelog entry is not required for this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants