-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Remove FastAPI upper constraint #58524
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
Remove FastAPI upper constraint #58524
Conversation
|
Marked for |
Good idea. |
|
Good idea to have a newsfragment about it |
amoghrajesh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good.
|
This PR makes any task taking more than |
|
@vincbeck That's.... super odd. The way the token renewal was working is that when the token was checked in the dep, if it was found to have less than 20% of the total validity left, a new one was generated and put in a specially named header airflow/airflow-core/src/airflow/api_fastapi/execution_api/deps.py Lines 146 to 148 in cc16dd6
Perhaps that "Defined as a "mapping type", but 99.9% of the time it's a mutable dict" is no longer true. Oh, it should hit
Either way, do you see anything in your logs about "Error refreshing Task JWT"? |
Nop, I only see Given the significant written by Pierre: I would say it is probably due to the fastapi upgrade because I can see in |
|
Created an issue: #58775 |
* Remove fastapi upper constraint * Fix CI * Fix CI * Add newsfragment
* Remove fastapi upper constraint * Fix CI * Fix CI * Add newsfragment
Cadwyn was fixed (zmievsa/cadwyn#305) and doesn't prevent us from upgrading to
fastapi >= 0.121.0anymore to benefit from the recently addedscopefeature for dependencies. (fastapi/fastapi#14262)