Why I forked httpx

tildeweb.nl

221 points by roywashere 11 hours ago


zahlman - 2 hours ago

> The fix was ignored and there was never any release since November 2024. Me, and others, asked repeatedly for a release containing my fix. I sent email to the author personally. I got response when I added that I was considering forking. The author replied “1.0 development is on course”.... I do understand about maintainer burnout, and preferring to work on ‘next’, and that there is life outside of Python, but I think not doing anything for maintenance and also not letting other people help out in maintaining, for such a high profile module, is problematic.

I feel like it's counterproductive in situations like this to mention forking. It will come across like a threat, when there isn't really anything intrinsically aggressive about it. So just do it; and when you have a decent amount of separate development, you can decide whether to make PRs back, advertise your fork, etc.

mesahm - 11 hours ago

the http landscape is rather scary lately in Python. instead of forking join forces... See Niquests https://github.com/jawah/niquests

I am trying to resolve what you've seen. For years of hard work.

Kwpolska - 10 hours ago

What is it about Python that makes developers love fragmentation so much? Sending HTTP requests is a basic capability in the modern world, the standard library should include a friendly, fully-featured, battle-tested, async-ready client. But not in Python, stdlib only has the ugly urllib.request, and everyone is using third party stuff like requests or httpx, which aren't always well maintained. (See also: packaging)

ayhanfuat - 11 hours ago

More related drama: The Slow Collapse of MkDocs (https://fpgmaas.com/blog/collapse-of-mkdocs/)

swiftcoder - 11 hours ago

Somehow I confused httpx with htmlx

joouha - 7 hours ago

This sounds like an ideal use case for modshim [0]

One of its intended use cases is bridging contribution gaps: while contributing upstream is ideal, maintainers may be slow to merge contributions for various reasons. Forking in response creates a permanent schism and a significant maintenance burden for what might be a small change. Modshim would allow you to create a new Python package containing only the fixes for your bugbears, while automatically inheriting the rest from upstream httpx.

[0] https://github.com/joouha/modshim

nathell - 10 hours ago

Congratulations on forking!

Always remember that open-source is an author’s gift to the world, and the author doesn’t owe anything to anyone. Thus, if you need a feature that for whatever reason can’t or won’t go upstream, forking is just about the only viable option. Fingers crossed!

sdovan1 - 11 hours ago

I guess the Discussion on Hacker News href should be "https://news.ycombinator.com/item?id=47514603" instead of "news.ycombinator.com/item?id=47514603"

glaucon - 10 hours ago

Good line from the blog post ...

"So what is the plan now?" - "Move a little faster and not break things"

mettamage - 10 hours ago

> Visitor 4209 since we started counting

Loved that little detail, reminds me of the old interwebs :)

zeeshana07x - 10 hours ago

The lack of a well-maintained async HTTP client in Python's stdlib has been a pain point for a while. Makes sense someone eventually took it into their own hands

localuser13 - 10 hours ago

I'm not a lawyer, but are there any potential trademark issues? AFAIK in general you HAVE to change the name to something clearly different. I consider it morally OK, and it's probably fine, but HTTPXYZ is cutting it close. It's too late for a rebrand, but IMO open-source people often ignore this topic a bit too much.

- 10 hours ago
[deleted]
cachius - 9 hours ago

Another abandoned project hurting users: https://github.com/benweet/stackedit

Spivak - 9 hours ago

Do you see yourself taking over httpcore as well as it's likely to have the same maintainership problem? It would certainly instill more confidence that this is a serious fork.

This certainly wouldn't be the first time an author of a popular library got a little too distracted on the sequel to their library that the current users are left to languish a bit.

cies - 11 hours ago

Hi Michiel!

Just a small headsup: clicking on the Leiden Python link in your About Me page give not the expected results.

And a small nitpick: it's "Michiel's" in English (where it's "Michiels" in Dutch).

Thanks for devoting time to opensource... <3

globular-toast - 11 hours ago

It's a shame, httpx has so much potential to be the default Python http library. It's crazy that there isn't one really. I contributed some patches to the project some years ago now and it was a nice and friendly process. I was expecting a v1 release imminently. It looks like the author is having some issues which seem to afflict so many in this field for some reason. I notice they've changed their name since I last interacted with the project...

leontloveless - 7 hours ago

[dead]

maltyxxx - 8 hours ago

[dead]

federicodeponte - 9 hours ago

[dead]

paseante - 10 hours ago

[dead]

bustah - 7 hours ago

[dead]

eats_indigo - 10 hours ago

smells like supply chain attack