encode / httpx

A next generation HTTP client for Python. 🦋

Home Page:https://www.python-httpx.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support httpcore >= 1.0.0

paulschreiber opened this issue · comments

Please add support for httpcore >= 1.0.0, which was released last week.

Currently, installs fail like so:

The conflict is caused by:
    The user requested httpcore==1.0.0
    httpx 0.25.0 depends on httpcore<0.19.0 and >=0.18.0

Thanks @paulschreiber - I'd just like to clarify if this is causing any immediate issues for you right now?

Currently you should be installing the latest version of httpx, and allowing it's existing dependency on httpcore, rather than forcing an httpcore==1.0 dependency.

It causes issues on build some other modules. Below is from openapi-core build log:

Error:
 Problem: conflicting requests
  - nothing provides (python3.8dist(httpcore) < 0.19 with python3.8dist(httpcore) >= 0.18) needed by python-httpx-0.25.0-2.noarch from g2v

@tomchristie it's not causing any problems right now. dependabot tried to upgrade httpcore, but failed because of the httpx version restriction.

Whilst it's not causing a problem it would be nice to test the package with httpcore 1.0.0 and to increase the version restriction as 1.0.0 made async support optional as well as adding in support for Python 3.12