Skip to content

fix: unify reqwest Client for self_update when downloading archives #3346

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

Merged
merged 11 commits into from
May 28, 2025

Conversation

gzm55
Copy link
Contributor

@gzm55 gzm55 commented Mar 13, 2025

  1. add reqwest_client_builder function, the proxies config is applied here.
  2. let self_update subcommand download the pixi pre-built binary archives with project unified reqwest Client.
  3. when resolving the latest version, self_update build reqwest Client with a builder from reqwest_client_builder

@gzm55 gzm55 force-pushed the work/reqwest-self-update branch 2 times, most recently from f8ce0c7 to 26d6c72 Compare March 15, 2025 04:59
@gzm55 gzm55 force-pushed the work/reqwest-self-update branch from 26d6c72 to 586abe3 Compare March 22, 2025 05:29
@gzm55 gzm55 force-pushed the work/reqwest-self-update branch from 586abe3 to ab44506 Compare March 28, 2025 10:04
@baszalmstra
Copy link
Contributor

Sorry for the delay! I feel uncomfortable reviewing this code, and I'd rather leave that to @ruben-arts. He is currently on a holiday and will be back next week!

@baszalmstra baszalmstra requested a review from ruben-arts April 11, 2025 08:59
@gzm55
Copy link
Contributor Author

gzm55 commented May 9, 2025

@ruben-arts any suggestion about this pr?

Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

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

If you split the PR into two where one adds the reqwest handler it might be easier to review and merge them.

Sorry for the late response, it got lost in my notifications.

@gzm55
Copy link
Contributor Author

gzm55 commented May 12, 2025

@ruben-arts any suggestion about this pr?

ok i will split this pr

@gzm55
Copy link
Contributor Author

gzm55 commented May 13, 2025

@ruben-arts the --force-releas part is reverted and will moved to another pr. this one is forced on the reqwest handling.

@gzm55
Copy link
Contributor Author

gzm55 commented May 28, 2025

@ruben-arts @baszalmstra any suggestion about the current patch?

Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

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

Sorry for the long wait, this work great!

@ruben-arts ruben-arts merged commit 7f1ecf6 into prefix-dev:main May 28, 2025
36 checks passed
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.

3 participants