Skip to content

Cannot install in projects using httpx 0.24.1 #389

@codenaz

Description

@codenaz

This library requires you to use httpx 0.23.3 in your project. Installing a project that already has a higher version (in my case 0.24.1) will result in the following error.

Dependency manager: poetry 1.6.1
Python version: 3.11.0
Framework/Library: Fast API 0.101.1

Because no versions of pact-python match >2.0.1,<3.0.0
 and pact-python (2.0.1) depends on httpx (0.23.3), pact-python (>=2.0.1,<3.0.0) requires httpx (0.23.3).
So, because `project_name` depends on both httpx (^0.24.1) and pact-python (^2.0.1), version solving failed.

To reproduce:

in pyproject.toml

httpx = "^0.24.1"

poetry install
poetry add pact-python

This addresses it
#388

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions