Skip to content

Conversation

@jscheffl
Copy link
Contributor

closes: #27

In Apache Airflow we use retryhttp, especially in Edge Worker (https://airflow.apache.org/docs/apache-airflow-providers-edge3/stable/index.html) to ensure communication in stable for long distance HTTP calls.

We would like to enhance the worker client to use async HTTP (see apache/airflow#56457) but the most common aiohttp library (see https://docs.aiohttp.org/) is not supported - yet.

I propose adding this feature.

@austind austind merged commit 84ca25a into austind:develop Oct 23, 2025
1 check passed
@austind austind mentioned this pull request Oct 23, 2025
austind added a commit that referenced this pull request Oct 23, 2025
* Add Python 3.13 support, drop 3.8 (#29)

* Fix optional dependencies to avoid forcing installation of both httpx and requests (#26)

- Move httpx and requests from core dependencies to optional extras
- Add 'all' extra for users who want both libraries
- Update README to reflect new installation instructions
- Update noxfile to install both extras for testing

Previously, both httpx and requests were always installed even when users
only wanted one library. Now users can install only what they need:
- retryhttp[all] for both libraries
- retryhttp[httpx] for httpx only
- retryhttp[requests] for requests only

* Add support for aiohttp (#28)

Co-authored-by: Austin de Coup-Crank <[email protected]>

* Release v1.4.0

---------

Co-authored-by: Jens Scheffler <[email protected]>
Co-authored-by: Kaxil Naik <[email protected]>
@jscheffl
Copy link
Contributor Author

Cool, thanks for merging and issuing a release!

@amoghrajesh
Copy link

Nice @jscheffl!

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.

Support aiohttp in retryhttp

3 participants