{"slug": "httpx2", "name": "httpx2", "category": "dev-libs", "category_name": "Libraries and frameworks", "description": "", "recommenders": 3, "commenters": 7, "warners": 0, "score": 3.782, "rising": 1.67, "first": "2026-05-14", "latest": "2026-09-11", "why": "which makes it a more stable dependency to build against.", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 3, "neutral": 2, "compare": 2, "warn": 0}, "spark": [0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "which makes it a more stable dependency to build against.", "kind": "", "icon": true, "domain": null, "github_repo": "github.com/pydantic/httpx2", "official_url": "https://github.com/pydantic/httpx2", "pricing": "", "aliases": ["httpx2", "HTTPX2"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 791656000, "item_id": 49478500, "url": "https://news.ycombinator.com/item?id=49478500", "by": "kelvinjps10", "date": "2026-08-28", "stance": "recommend", "quote": "We decided to embrace this and support HTTPX2", "excerpt": "in their README >Important We started this fork because there was no activity on HTTPX, a very popular Python HTTP library. A few weeks later, Pydantic started their own fork called HTTPX2. We decided to embrace this and support HTTPX2. We're upstreaming our fixes to HTTPX2 and in our opinion it should be the \"blessed\" fork. Pydantic can make this more successful than we ever can. See also https://tildeweb.nl/~michie", "context": "", "use_case": "", "switched_from": "", "story": "Migrating to HTTPX2"}, {"id": 791640128, "item_id": 49477508, "url": "https://news.ycombinator.com/item?id=49477508", "by": "simonw", "date": "2026-08-28", "stance": "recommend", "quote": "which makes it a more stable dependency to build against.", "excerpt": "Anthropic made the same change a few weeks after OpenAI did: https://github.com/anthropics/anthropic-sdk-python/releases/tag/v1.0.0 The problem with httpx as a dependency is that it's currently working towards a 1.0 release which will be full of breaking changes. The httpx2 project is essentially a fork that promises not to break the existing API, which makes it a more stable dependency to build against. I wrote a pr", "context": "", "use_case": "HTTP client dependency", "switched_from": "httpx", "story": "Migrating to HTTPX2"}, {"id": 770125474, "item_id": 48132842, "url": "https://news.ycombinator.com/item?id=48132842", "by": "gorkaerana", "date": "2026-05-14", "stance": "recommend", "quote": "which makes me hopeful and confident about the work they will do with httpx2.", "excerpt": "I have only had positive experiences using pydantic tools. They keep iterating on the pydantic validation tool and are planning on a v3 at some point, and pydantic-ai has been a superb addition to the AI engineering toolkit; which makes me hopeful and confident about the work they will do with httpx2. I look forward to explore their eval and observability tools. I do wonder about pydantic being a VC-backed company an", "context": "", "use_case": "", "switched_from": "", "story": "Pythons new httpx fork: httpx2"}]}], "caveats": [], "who": [], "tags": [], "use_cases": ["http client", "http client dependency"], "compared": [{"slug": "httpx", "name": "httpx", "co": 3, "switched_from": 1, "switched_to": 0}], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=49477212", "title": "Migrating to HTTPX2", "mentions": 5}, {"url": "https://news.ycombinator.com/item?id=49662767", "title": "Litelm: LiteLLM Without the Bloat", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=48127570", "title": "Pythons new httpx fork: httpx2", "mentions": 1}], "sentiment_by_month": {"2025-11": {}, "2025-12": {}, "2026-01": {}, "2026-02": {}, "2026-03": {}, "2026-04": {}, "2026-05": {"recommend": 1}, "2026-06": {}, "2026-07": {}, "2026-08": {"recommend": 2, "compare": 2, "neutral": 1}, "2026-09": {"neutral": 1}, "2026-10": {}}, "quotes": [{"id": 794628753, "item_id": 49664297, "url": "https://news.ycombinator.com/item?id=49664297", "by": "clickety_clack", "date": "2026-09-11", "stance": "neutral", "quote": "Pydantic picked it up as httpx2", "excerpt": "One of the 2 dependencies, httpx, isn't really maintained anymore. Pydantic picked it up as httpx2: https://pydantic.dev/docs/httpx2", "context": "", "use_case": "", "switched_from": "", "story": "Litelm: LiteLLM Without the Bloat"}, {"id": 791706960, "item_id": 49481685, "url": "https://news.ycombinator.com/item?id=49481685", "by": "tredre3", "date": "2026-08-28", "stance": "neutral", "quote": "it's the name of a python library to make http requests", "excerpt": "HTTPX2 isn't about the protocol version, it's the name of a python library to make http requests. But yes, it doesn't support HTTP3. Here's the related issue: https://github.com/pydantic/httpx2/issues/92", "context": "", "use_case": "", "switched_from": "", "story": "Migrating to HTTPX2"}, {"id": 791666737, "item_id": 49479171, "url": "https://news.ycombinator.com/item?id=49479171", "by": "jklehm", "date": "2026-08-28", "stance": "compare", "quote": "Wonder if they evaluated httpx2 vs niquests", "excerpt": "Wonder if they evaluated httpx2 vs niquests: https://github.com/jawah/niquests", "context": "", "use_case": "HTTP client", "switched_from": "", "story": "Migrating to HTTPX2"}, {"id": 791656000, "item_id": 49478500, "url": "https://news.ycombinator.com/item?id=49478500", "by": "kelvinjps10", "date": "2026-08-28", "stance": "recommend", "quote": "We decided to embrace this and support HTTPX2", "excerpt": "in their README >Important We started this fork because there was no activity on HTTPX, a very popular Python HTTP library. A few weeks later, Pydantic started their own fork called HTTPX2. We decided to embrace this and support HTTPX2. We're upstreaming our fixes to HTTPX2 and in our opinion it should be the \"blessed\" fork. Pydantic can make this more successful than we ever can. See also https://tildeweb.nl/~michie", "context": "", "use_case": "", "switched_from": "", "story": "Migrating to HTTPX2"}, {"id": 791644480, "item_id": 49477780, "url": "https://news.ycombinator.com/item?id=49477780", "by": "networked", "date": "2026-08-28", "stance": "compare", "quote": "So I guess HTTPX2 (https://github.com/pydantic/httpx2) is winning out over HTTPXYZ", "excerpt": "So I guess HTTPX2 (https://github.com/pydantic/httpx2) is winning out over HTTPXYZ (https://codeberg.org/httpxyz/httpxyz)? I didn't switch to HTTPXYZ after the fork but have been watching it. (What I did was use urllib.request more and bite the Rust bullet with wreq, https://github.com/0x676e67/wreq-python, where it wasn't enough.)", "context": "", "use_case": "", "switched_from": "", "story": "Migrating to HTTPX2"}, {"id": 791640128, "item_id": 49477508, "url": "https://news.ycombinator.com/item?id=49477508", "by": "simonw", "date": "2026-08-28", "stance": "recommend", "quote": "which makes it a more stable dependency to build against.", "excerpt": "Anthropic made the same change a few weeks after OpenAI did: https://github.com/anthropics/anthropic-sdk-python/releases/tag/v1.0.0 The problem with httpx as a dependency is that it's currently working towards a 1.0 release which will be full of breaking changes. The httpx2 project is essentially a fork that promises not to break the existing API, which makes it a more stable dependency to build against. I wrote a pr", "context": "", "use_case": "HTTP client dependency", "switched_from": "httpx", "story": "Migrating to HTTPX2"}, {"id": 770125474, "item_id": 48132842, "url": "https://news.ycombinator.com/item?id=48132842", "by": "gorkaerana", "date": "2026-05-14", "stance": "recommend", "quote": "which makes me hopeful and confident about the work they will do with httpx2.", "excerpt": "I have only had positive experiences using pydantic tools. They keep iterating on the pydantic validation tool and are planning on a v3 at some point, and pydantic-ai has been a superb addition to the AI engineering toolkit; which makes me hopeful and confident about the work they will do with httpx2. I look forward to explore their eval and observability tools. I do wonder about pydantic being a VC-backed company an", "context": "", "use_case": "", "switched_from": "", "story": "Pythons new httpx fork: httpx2"}]}