Skip to content

Support httpcore >= 1.0.0 #2884

Closed
Closed

Description

@paulschreiber

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

Activity

  1. kloczek commented on Oct 11, 2023

    @kloczek

    +1

  2. lovelydinosaur commented on Oct 11, 2023

    @lovelydinosaur
    Member

    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.

  3. kloczek commented on Oct 11, 2023

    @kloczek

    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
  4. paulschreiber commented on Oct 11, 2023

    @paulschreiber
    ContributorAuthor

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

  5. StevenMapes commented on Oct 20, 2023

    @StevenMapes

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions