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

Dependencies conflict with prometheus_client #44

Closed
alexdel2399 opened this issue Apr 4, 2023 · 2 comments
Closed

Dependencies conflict with prometheus_client #44

alexdel2399 opened this issue Apr 4, 2023 · 2 comments

Comments

@alexdel2399
Copy link

Hello!
I've tried to use starlette_prometheus with prometheus-client==0.16.0, but there is a Dependencies conflict


ERROR: Cannot install -r requirements.txt (line 20) and prometheus-client==0.16.0 because these package versions have conflicting dependencies.

 

The conflict is caused by:
    The user requested prometheus-client==0.16.0
    starlette-prometheus 0.9.0 depends on prometheus_client<0.13 and >=0.12

 

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

Are there any reasons to install starlette_prometheus only with prometheus-client==0.12.0?

@sumankn314e
Copy link

@perdy I'm also facing the same issue can we get this fixed?

@perdy
Copy link
Owner

perdy commented Feb 5, 2024

Thanks for raising this. It should be fixed with version 0.10

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

No branches or pull requests

3 participants