Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install in projects using httpx 0.24.1 #389

Closed
codenaz opened this issue Sep 15, 2023 · 1 comment · Fixed by #371
Closed

Cannot install in projects using httpx 0.24.1 #389

codenaz opened this issue Sep 15, 2023 · 1 comment · Fixed by #371

Comments

@codenaz
Copy link

codenaz commented Sep 15, 2023

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

@codenaz
Copy link
Author

codenaz commented Sep 20, 2023

I closed #388. #371 will address this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging a pull request may close this issue.

1 participant