Skip to content

refactor!: Replace httpx HTTP client with impit #456

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 19 commits into from
Aug 13, 2025

Conversation

Mantisus
Copy link
Collaborator

@Mantisus Mantisus commented Aug 7, 2025

  • Replace httpx http-clients with impit

@Mantisus Mantisus self-assigned this Aug 7, 2025
@Mantisus
Copy link
Collaborator Author

Mantisus commented Aug 7, 2025

The errors in the tests are caused by issues with impit.Client, Response, and multithreading.

I expect them to be resolved with apify/impit#234

When testing locally on a build with this fix, the errors do not reproduce.

@vdusek vdusek changed the title feat: Replace httpx http-clients with impit feat!: Replace httpx http-clients with impit Aug 11, 2025
@vdusek vdusek changed the title feat!: Replace httpx http-clients with impit refactor!: Replace httpx http-clients with impit Aug 11, 2025
@vdusek
Copy link
Contributor

vdusek commented Aug 11, 2025

We consider this as BC, and I don't think it is a feature, so I updated the title type to refactor!.

@Mantisus Mantisus had a problem deploying to fork-pr-integration-tests August 11, 2025 16:34 — with GitHub Actions Failure
@Mantisus Mantisus marked this pull request as ready for review August 11, 2025 16:34
@Mantisus Mantisus requested review from Pijukatel and vdusek and removed request for Pijukatel August 11, 2025 16:35
Copy link
Contributor

@vdusek vdusek left a comment

Choose a reason for hiding this comment

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

Could you also please describe the BCs in the upgrading guide? Similar to what we have in Crawlee and SDK, see e.g. https://crawlee.dev/python/docs/upgrading/upgrading-to-v1.

Otherwise it looks great!

@vdusek vdusek changed the title refactor!: Replace httpx http-clients with impit refactor!: Replace httpx HTTP client with impit Aug 12, 2025
@Mantisus Mantisus requested a review from vdusek August 12, 2025 17:04
@Mantisus Mantisus had a problem deploying to fork-pr-integration-tests August 12, 2025 17:04 — with GitHub Actions Failure
@Mantisus Mantisus had a problem deploying to fork-pr-integration-tests August 12, 2025 17:21 — with GitHub Actions Failure
@Mantisus Mantisus had a problem deploying to fork-pr-integration-tests August 12, 2025 20:11 — with GitHub Actions Failure
Copy link
Contributor

@vdusek vdusek left a comment

Choose a reason for hiding this comment

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

LGTM!

@vdusek vdusek merged commit 1df6792 into apify:master Aug 13, 2025
26 of 27 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