News for hackers. Stuff that matters.
Re:OpenAI: Migrating to HTTPX2 by simonw on Friday August 28, 2026 @08:24AM (#49477508)
Anthropic made the same change a few weeks after OpenAI did: https://github.com/anthropics/anthropic-sdk-python/releases/...

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 pretty long comment about my concerns for the breaking 1.0 version last year - https://github.com/encode/httpx/discussions/3344#discussionc... - in that comment I recommended the HTTPX project release their 1.0 as a package called httpx2 instead, but a year later we now have an httpx2 (released by a different maintainer) that keeps the old API.

Re:OpenAI: Migrating to HTTPX2 by Aurornis on Friday August 28, 2026 @09:47AM (#49478408)
> 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 httpx maintainer closed off access to issues and discussions on the repo, has been ignoring PRs, and hasn’t updated it in a half a year.

I don’t think there is any reason to consider httpx as a viable project any more. The Pydantic httpx fork has taken its place.

Re:OpenAI: Migrating to HTTPX2 by simonw on Friday August 28, 2026 @09:53AM (#49478512)
HTTPX stable hasn't had a release since December 2024, but there have been two dev releases of the 1.0 branch this month (after a gap since September 2025.)

Unfortunately that 1.0 work is happening in a private repository.

https://pypi.org/project/httpx/#history

Re:OpenAI: Migrating to HTTPX2 by Aurornis on Friday August 28, 2026 @09:55AM (#49478539)
> Unfortunately that 1.0 work is happening in a private repository.

That’s even more reason to consider it non-viable.

There is no reason to encourage or support this type of behavior in a project. It is their right to do with it as they please, but I’m not interested in a project that functions like this. The forks are continuing to operate like true community projects.

Re:OpenAI: Migrating to HTTPX2 by jgalt212 on Friday August 28, 2026 @11:32AM (#49480065)
Maybe they don't feel like sharing their work with the AI bot scrapers until the work is complete.
Re:OpenAI: Migrating to HTTPX2 by tredre3 on Friday August 28, 2026 @01:06PM (#49481538)
That is a legitimate feeling, but to spite the trillion dollars company he also hurts thousands of regular developers.

He doesn't owe those developers anything, of course, but likewise they do not owe him loyalty and thus since an open fork exists, his project will die.

Killing the project is also his right, but people also have a right to be upset by his passive aggressive behavior. Just announce that you're shutting down the project and move on, don't waste our time.

Re:OpenAI: Migrating to HTTPX2 by Aurornis on Friday August 28, 2026 @01:37PM (#49481923)
For the users of the project, the reasons don’t matter. They’re free to do as they want for any reason they choose.

Users of the project can (and have been) moving to forks that are operated as open, community projects in the continued spirit of the project’s original intention.

For what it’s worth, the maintainer has stated their reasons and they are not related to AI or scraper bots.

Re:OpenAI: Migrating to HTTPX2 by jgalt212 on Friday August 28, 2026 @02:02PM (#49482243)
> I don't want to continue allowing an online environment with such an absurdly skewed gender representation. I find it intensely unwelcoming, and it's not reflective of the type of working environments I value.

I have no idea what that means other this person might not be the easier to work with, or get along with.

Re:OpenAI: Migrating to HTTPX2 by shakna on Saturday August 29, 2026 @12:06AM (#49486775)
Probably means the attacks on them, mentioning gender, were increasing.

Some people get spam. Some people get spam about vulnerabilities that don't exist. And some people get threats.

Re:OpenAI: Migrating to HTTPX2 by giov4 on Friday August 28, 2026 @02:01PM (#49482240)
unbelievable, how can a single person affect negatively FOSS so much?

I mean really, closing repos? excluding maintainers? committing only on private repos?

This type of behavior should be moderated and banned from any FOSS activity to avoid exactly this situation of becoming a liability.

I've never seen a open source project page without a github link or a git clone ref like this https://www.encode.io/hx/ it is so ridiculous, wasn't that stuff on github? and isn't it anyway there due to over 1k forks?

what's the advantage of having this behavior? I see it only damaging towards the person, the project and the community.

Re:OpenAI: Migrating to HTTPX2 by trallnag on Friday August 28, 2026 @03:11PM (#49483009)
Maybe mental health issues? We aren't entitled to indefinite maintenance of free software
Re:OpenAI: Migrating to HTTPX2 by giov4 on Saturday August 29, 2026 @04:39AM (#49488097)
yes I believe we are, and such indefinite maintenance is the result of FOSS and open repos and open collaboration that can re-iterate and keep a strong and decent level of maintenance.

maintainers are very important to me because i know the effort behind and the backbone of passion that holds them alive, and I would do the same, I would do it for passion and ask nothing back, especially topics like Credits and Copyrights (go check the related history, a shame)

Re:OpenAI: Migrating to HTTPX2 by mmerickel on Friday August 28, 2026 @05:16PM (#49484339)
This level of entitlement is the reason that FOSS has a maintenance / support epidemic. Maintainers don't owe you anything. They put the work in, not you.
Re:OpenAI: Migrating to HTTPX2 by giov4 on Saturday August 29, 2026 @04:37AM (#49488086)
they owe us the responsibility of having created, released and maintained something that they created and they are responsible for.

If you cannot handle or take this responsibility towards the community you cannot do opensource. just do a company and try to profit, but don't interfere with FOSS and impact FOSS in general if you cannot handle it.

Re:OpenAI: Migrating to HTTPX2 by duskdozer on Saturday August 29, 2026 @05:04AM (#49488220)
From the software license:

>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

https://github.com/encode/httpx/blob/master/LICENSE.md

The contributors provided the source of the project under these terms, which are stated up front. Any responsibility to you beyond this is imagined.

Re:OpenAI: Migrating to HTTPX2 by prmoustache on Saturday August 29, 2026 @02:20AM (#49487426)
> how can a single person affect negatively FOSS so much?

FOSS is not affected negatively.

First because FOSS is not en entity in the first place. There is no "community" per se but a muriad of softwares choosing open source licences for various reasons.

Second because the choices of one project maintainer is negligible.

> This type of behavior should be moderated and banned from any FOSS activity

Banned by who and where?

> I've never seen a open source project page without a github link or a git clone ref

Now I understand. You must be new. How old are you? 10? FOSS has existed way before github and will probably still exist when github will be forgotten. There are still many open source projects not using github, some do not even use git.

> what's the advantage of having this behavior?

Not having to deal with external input, PRs, bug reports seems to be a good example.

> I see it only damaging towards the person

Which person? The maintainer? I highly doubt so.

> the project

The project will be fine as long as the maintainer wants it to be active. This is the only thing that counts.

> and the community.

Which community? Other devs? They can (and do) fork when they wish to do so.

Re:OpenAI: Migrating to HTTPX2 by giov4 on Saturday August 29, 2026 @04:35AM (#49488080)
>FOSS is not affected negatively. First because FOSS is not en entity in the first place. There is no "community" per se but a muriad of softwares choosing open source licences for various reasons. Second because the choices of one project maintainer is negligible.

Yes it is, this was a major component.

>This type of behavior should be moderated and banned from any FOSS activity

By moderators that are not existing but should actually moderate human mental issues affecting FOSS

>Now I understand. You must be new. How old are you? 10? FOSS has existed way before github and will probably still exist when github will be forgotten. There are still many open source projects not using github, some do not even use git.

Nope, is just that a useful open source project for me has always public report and that's the basis to start collaborating.

>Not having to deal with external input, PRs, bug reports seems to be a good example.

That's normal in open source, should be taken into account and managed like everybody else does in open source projects. Just go look at sftpgo, as an example.

>Which person? The maintainer? I highly doubt so.

Yes clearly, the community easily realizes this behavior and now I see a private path of commits in private reps of somebody working alone.

>The project will be fine as long as the maintainer wants it to be active. This is the only thing that counts.

Nope, forked, hated and closed are not fine for an open source project.

>Which community? Other devs? They can (and do) fork when they wish to do so.

All of it, anybody using the open source, should be free to use, modify and collaborate on a project independently from the mental issues of the one that started it. closing repos just goes against all of this and should be a shame.

Re:OpenAI: Migrating to HTTPX2 by prmoustache on Saturday August 29, 2026 @12:18PM (#49491133)
> Nope, is just that a useful open source project for me has always public report and that's the basis to start collaborating.

> All of it, anybody using the open source, should be free to use, modify and collaborate on a project independently from the mental issues of the one that started it. closing repos just goes against all of this and should be a shame.

You are making a false assumption that open source software is about the author surrendering is rights and forced collaboration. It is not.

Open source software is about the use of a license that grants the end user rights to study, modify and publish modifications (basically giving rights to fork) under the same or compatible license, often with mandory author attribution. There is nothing in these licenses about original author duties on maintaining a project open to collaboration, it is only about user rights.

Re:OpenAI: Migrating to HTTPX2 by superze on Friday August 28, 2026 @09:30AM (#49478201)
The issue with httpx is that it has an obnoxious and toxic maintainer.
Re:OpenAI: Migrating to HTTPX2 by portly on Friday August 28, 2026 @09:33AM (#49478230)
What happened?
Re:OpenAI: Migrating to HTTPX2 by t098i3 on Friday August 28, 2026 @10:43AM (#49479280)
Re:OpenAI: Migrating to HTTPX2 by tescreal on Friday August 28, 2026 @11:46AM (#49480305)
That's easily the strangest self-destruction I've ever seen. "Skewed gender representation"? Not sure how that matters or what the intended effect of salting the earth here was.
Re:OpenAI: Migrating to HTTPX2 by mock-possum on Friday August 28, 2026 @12:15PM (#49480696)
I feel like that hardly answers anything
[dead]
Re:OpenAI: Migrating to HTTPX2 by isgb on Friday August 28, 2026 @03:07PM (#49482975)
It’s a complex topic that’s usually treated with a lot of bias and very little nuance. Most mental health issues tend to be treated as something to be removed whereas in the case of gender dysphoria, the empirically proven treatment is (of course treated case-by-case) to transition. Similarly, dysphoria (when being trans, most commonly) is often treated as some form of perversion or threat. It’s complicated.
Re:OpenAI: Migrating to HTTPX2 by beanjuiceII on Friday August 28, 2026 @09:43AM (#49478358)
was probably chewing bubble gum on the wrong sidewalk
Re:OpenAI: Migrating to HTTPX2 by jatora on Friday August 28, 2026 @09:48AM (#49478441)
this made me laugh even though i dont think i even get it. can you explain this please lol
Re:OpenAI: Migrating to HTTPX2 by beanjuiceII on Friday August 28, 2026 @10:06AM (#49478705)
people think other people are 'toxic' for the silliest of things most times; and this person is saying some maintainer is toxic to put it out there but provides no information as to why.. so i figured my context is as good as theirs
Re:OpenAI: Migrating to HTTPX2 by nozzlegear on Friday August 28, 2026 @01:06PM (#49481537)
> people think other people are 'toxic' for the silliest of things most times

Do they?

Re:OpenAI: Migrating to HTTPX2 by networked on Friday August 28, 2026 @08:49AM (#49477780)
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.)
Re:OpenAI: Migrating to HTTPX2 by kelvinjps10 on Friday August 28, 2026 @09:52AM (#49478500)
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/~michiel/httpx2.html

Thanks for all your support!

Sander & Michiel

Re:OpenAI: Migrating to HTTPX2 by NewJazz on Friday August 28, 2026 @10:41AM (#49479251)
It is too bad because httpxyz is absolutely the better name.
Re:OpenAI: Migrating to HTTPX2 by simonw on Friday August 28, 2026 @09:09AM (#49477963)
httpx2 is sponsored by Pydantic and has involvement from the new maintainer of Starlette, so it's off to a very strong start.
Re:OpenAI: Migrating to HTTPX2 by fnord123 on Friday August 28, 2026 @12:16PM (#49480713)
Kludex is a really good dev
Re:OpenAI: Migrating to HTTPX2 by glitch253 on Friday August 28, 2026 @12:50PM (#49481260)
He's a freaking GOD
Re:OpenAI: Migrating to HTTPX2 by tonyhart7 on Friday August 28, 2026 @09:39AM (#49478304)
"I recommended the HTTPX project release their 1.0 as a package called httpx2 instead, but a year later we now have an httpx2 (released by a different maintainer) that keeps the old API"

wtf is going on

Re:OpenAI: Migrating to HTTPX2 by ClikeX on Friday August 28, 2026 @09:48AM (#49478435)
Open Source disputes.
Re:OpenAI: Migrating to HTTPX2 by krzyk on Friday August 28, 2026 @09:45AM (#49478377)
A bit strange considering "coding is solved".

But seriously, migrating between different libs should be ~free for both Anthropic and OpenAI.

Re:OpenAI: Migrating to HTTPX2 by simonw on Friday August 28, 2026 @09:55AM (#49478533)
A migration document like this one is how you get that ~free upgrade - it's something you can point an agent at.
Re:OpenAI: Migrating to HTTPX2 by rolymath on Friday August 28, 2026 @08:49AM (#49477776)
The Python community loves confusing versioning.

I mean, obviously Python 2.7 is newer than Python 3.1

I remember swearing I would never migrate to python3 but here we are, I migrated without even feeling it or realizing when (But I do remember django played a big role).

Re:OpenAI: Migrating to HTTPX2 by chme on Friday August 28, 2026 @09:01AM (#49477874)
That isn't confusing at all, if you know how maintained stable releases work.

Happens with the Linux kernel as well.

Re:OpenAI: Migrating to HTTPX2 by jubilanti on Friday August 28, 2026 @10:41AM (#49479249)
Re:OpenAI: Migrating to HTTPX2 by hk__2 on Friday August 28, 2026 @09:43AM (#49478345)
There are a lot of large projects where X.1 is newer than Y.0. You release a new major version for breaking changes, but you backport security changes to previous major releases as well.
Re:OpenAI: Migrating to HTTPX2 by Longwelwind on Friday August 28, 2026 @09:00AM (#49477868)
Isn't that whole point of semantic release?

Minors and hotfixes allow you to release a new version for an older release (like if you released 3.7 but you found a bug present in 3.4, you can release 3.4.1 which would be newer than 3.7), making it possible to have multiple supported versions at the same time.

Re:OpenAI: Migrating to HTTPX2 by yard2010 on Friday August 28, 2026 @09:29AM (#49478187)
Tangibly related, did you know that odd versions of node don't get LTS, I found it odd at first
Re:OpenAI: Migrating to HTTPX2 by paulddraper on Friday August 28, 2026 @09:54AM (#49478521)
That’s probably the worst example you could have chosen.

You shouldn’t assume anything about relative date of 2.7 and 3.1.