-
Notifications
You must be signed in to change notification settings - Fork 134
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
FastAPI version validation needs improvements #432
Comments
This is impacting us as well. Thanks @ayharano for reporting it. |
I can confirm this does manifest itself with FastAPI v0.100.0. Using the "add_to" method the following error is thrown:
Downgrading to FastAPI 0.99.1 resolves the error. |
Thanks @danielmorell for looking into this! This continues to block our upgrade path for fast-api 0.100+ versions. |
In
A robust quick fix is to use
Or, since we know FastAPI uses PyPA-compatible versioning, we can be hacky:
|
Any news on this? It is blocking all our projects from updating properly. |
This was released in the v1.0.0 beta. |
Any word when 1.0.0 will be released (non-beta)? |
Hey @josephgruber, 1.0.0 is planned to be released in 1-2 weeks at latest. |
Version 1.0.0 is out now! |
I was testing FastAPI
0.100.0-beta2
with Pydantic 2.0 released today and after a few adjustments, when I ran my test suite, it triggered an error due topyrollbar/rollbar/contrib/fastapi/utils.py
Line 31 in e3e1595
I triggered
ipdb
just before that line and it failed because the displayed line does a string-based comparison, not a proper SemVer comparisonThis issue will be perceived as soon as FastAPI
0.100.0
version is released and projects with pyrollbar use an unpinned version of FastAPI.The text was updated successfully, but these errors were encountered: