-
Notifications
You must be signed in to change notification settings - Fork 85
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
Unnecessary tight version constraint limits FastAPI versions #136
Comments
Yeah, i have the same problem with current version of library - FastAPI and all dependent libraries have rolled back to the Stone Age. I have to manually specify the versions of the required libraries, but then prometheus-fastapi-instrumentator rolls back to the previous version, because they are "too new" for it... |
I hot-fixed it by requiring |
### [5.8.1](v5.8.0...v5.8.1) (2022-05-03) ### Bug Fixes * **deps:** regression too strict version requirements [#136](#136) ([36bc045](36bc045))
Thanks for raising the issue |
Due to this line in the
pyproject.toml
file:FastAPI versions newer than 0.38 cannot be used with this (current version of FastAPI is 0.75.2). When explicitly requesting a higher version the version solving fails (using poetry):
One solution would be relaxing the requirements:
or
The text was updated successfully, but these errors were encountered: