NewsLab
Aug 28 12:57 UTC

OpenAI: Migrating to HTTPX2 (github.com)

31 points|by tosh||13 comments|Read full story on github.com

Comments (13)

13 shown
  1. 1. tosh||context
    nb: operating system TLS trust store is used now (instead of certifi)
  2. 2. hmokiguess||context
    what's `nb` ?
  3. 3. tosh||context
  4. 4. hmokiguess||context
    Thank you! :)
  5. 5. zx8080||context
    This could be a breaking change (for some corporate network environments).
  6. 6. londons_explore||context
    There seems to be a bunch of downsides mentioned...

    But what are the upsides of this change?

  7. 7. ddorian43||context
    https://github.com/encode/httpx/discussions/3784

    > I've closed off access to issues and discussions.

    > 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.

    https://www.reddit.com/r/Python/comments/1rl5kuq/anyone_know...

  8. 8. philipallstar||context
    It's like that time I started a primary school and then closed it because I hated that the overwhelming majority of employees were women.
  9. 9. porridgeraisin||context
    This has happened in many packages contributed to by this person. Mkdocs e.g
  10. 10. ledoncool||context
    Wow, finally...
  11. 11. simonw||context
    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 instead.

  12. 12. rolymath||context
    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).

  13. 13. networked||context
    So I guess HTTPX2 (https://github.com/pydantic/httpx2) is wining the popularity contest over HTTPXYZ (https://codeberg.org/httpxyz/httpxyz)? I didn't actively adopt either but have been watching the latter.