Mysterious 1.0.dev2 pre-release broke my stuff
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
I left a more detailed comment about this on the discussion thread:
- https://github.com/encode/httpx/discussions/3344#discussioncomment-14170874
Found another relevant discussion here:
- https://github.com/encode/httpx/discussions/3600