httpx icon indicating copy to clipboard operation
httpx copied to clipboard

Mysterious 1.0.dev2 pre-release broke my stuff

Open simonw opened this issue 4 months ago • 2 comments

I just managed to get myself httpx==1.0.dev2 entirely by mistake - I was messing around with uv run --prerelease=allow - and I started getting errors about httpx.AsyncClient not being available.

It turns out there is a pre-release package on PyPI now for 1.0.dev2 - https://pypi.org/project/httpx/1.0.dev2/ - which has an entirely different API from the 0.x releases and is undocumented and not covered by any open source license.

I downloaded the .tar.gz directly and found references to https://www.encode.io/httpnext/ in the README - which confirms that this is a project from a private repository with a new design.

I'd prefer it if this new pre-release design preview didn't occupy space on PyPI in the existing httpx namespace such that careless use of flags like --prerelease=allow can trigger a great deal of confusion over what's going on! It took me quite a while to figure out why everything had broken for me, mainly because the httpnext project hasn't been announced anywhere other than this Discussion post (which I just found via GitHub search): https://github.com/encode/httpx/discussions/3344#discussioncomment-13652872

simonw avatar Aug 20 '25 22:08 simonw

I left a more detailed comment about this on the discussion thread:

  • https://github.com/encode/httpx/discussions/3344#discussioncomment-14170874

simonw avatar Aug 20 '25 22:08 simonw

Found another relevant discussion here:

  • https://github.com/encode/httpx/discussions/3600

simonw avatar Aug 20 '25 23:08 simonw