Skip to content

Replace asyncio and httpx with urllib3 and ThreadPoolExecutor - #357

Merged
hugovk merged 2 commits into
python:mainfrom
hugovk:rm-httpx
Sep 16, 2026
Merged

hugovk merged 2 commits into
python:mainfrom
hugovk:rm-httpx

Conversation

@hugovk

@hugovk hugovk commented Sep 15, 2026

Copy link
Copy Markdown
Member

Looking for places to replace unmaintained httpx with maintained httpx2:

We don't really need either here, nor async, and can use the existing urllib3 and add ThreadPoolExecutor instead.

Before, it takes 4 seconds to run check_versions.py.

After, it takes 2 seconds, and we've dropped a dependency.

Also update the README tables by running check_versions.py via tox -e cog.

@hugovk
hugovk merged commit c271554 into python:main Sep 16, 2026
14 checks passed
@hugovk
hugovk deleted the rm-httpx branch September 16, 2026 14:49
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