-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
httpx breaking API change for redirect parameter causes crash #20088
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
@philipherrmann Assigned |
Note that when you fix this, you’ll need to also change |
Really "nice" from httpx POV to make this breaking change here :(. httpx >=0.20 in this case is a good idea. |
This is what one of the nice properties of the constraint mechanism of ours, that we can fix such problems. |
Following apache#20088 we are downgrading httpx to be 0.19.0 as 0.20.0 introduced a breaking change.
Following #20088 we are downgrading httpx to be 0.19.0 as 0.20.0 introduced a breaking change.
Ok. It was only for 2.2.2, The 2.2.1 version already had httpx == 0.19.0. I fixed the constraints now, so anyone installing airfllow in the "constraint" way will not have the problem. I am also building and pushing the images for 2.2.2 to include that. |
So the quick fix is in place for the current version (2.2.2) of airflow. Would you still like me to create a PR for use in future versions of airflow, which
No worries if you'd prefer to do that yourself, I have a bunch things to do :) Otherwise, I would give it a try next weekend probably. |
If you change the parameter name, you must change the constraint. Otherwise sure, give it a go. |
This one limits httpx to <0.20.0 in order to handle breaaking change for CloudSQL provider. apache#20088 We do not add it in main /2.3 because we will fix the problem in main and release new provider then.
This one limits httpx to <0.20.0 in order to handle breaaking change for CloudSQL provider. apache#20088 We do not add it in main /2.3 because we will fix the problem in main and release new provider then.
This one limits httpx to <0.20.0 in order to handle breaaking change for CloudSQL provider. #20088 We do not add it in main /2.3 because we will fix the problem in main and release new provider then.
|
It's OK what you did - changing setup.* is the right way to go. Constraints will update automatically |
fixed by #20239 |
This one limits httpx to <0.20.0 in order to handle breaaking change for CloudSQL provider. apache/airflow#20088 We do not add it in main /2.3 because we will fix the problem in main and release new provider then. GitOrigin-RevId: 1d9f2aa42e982bfbe8d1bc5227c984f4aa5d6277
This one limits httpx to <0.20.0 in order to handle breaaking change for CloudSQL provider. apache/airflow#20088 We do not add it in main /2.3 because we will fix the problem in main and release new provider then. GitOrigin-RevId: 1d9f2aa42e982bfbe8d1bc5227c984f4aa5d6277
Apache Airflow Provider(s)
google
Versions of Apache Airflow Providers
apache-airflow-providers-google==6.1.0
Apache Airflow version
2.2.2 (latest released)
Operating System
Debian GNU/Linux 10 (buster)
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
What happened
When using the CloudSQLExecuteQueryOperator the Cloud SQL Proxy Download fails due to a breaking API change in the httpx dependency, logging the following traceback:
The keyword allow_redirects has been renamed to follow_redirects in this PR encode/httpx#1808. One should probably fix either of those options and pin a suitable version of httpx.
What you expected to happen
No response
How to reproduce
No response
Anything else
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: