-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
[AIRFLOW-6740] Remove Undocumented, Deprecated, Dysfunctional PROXY_FIX_NUM_PROXIES #7359
[AIRFLOW-6740] Remove Undocumented, Deprecated, Dysfunctional PROXY_FIX_NUM_PROXIES #7359
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst)
|
aa992b8
to
a4712a5
Compare
a4712a5
to
bd35e3d
Compare
Change looks good, but this needs a jira ticket please. |
f2f7fad
to
2b66b2a
Compare
…IX_NUM_PROXIES This parameter is deprecated by werkzeug, see: https://github.com/pallets/werkzeug/blob/0.16.1/src/werkzeug/middleware/proxy_fix.py#L113-L120 However, it is also broken. The value is acquired as string from the config, while it should be int like the other `x_*` attributes. Those were fixed in apache#6901, but `num_proxies` was forgotten. I think we can safely remove it because: * There is virtually no possibility that someone is using that parameter in their config without raising an exception. * The configuration variable is not present in Airflow's docs or anywhere else anymore. The removed line is the only trace of it. More details: https://issues.apache.org/jira/browse/AIRFLOW-6740
2b66b2a
to
820b3a8
Compare
@ashb Done. |
@ashb weird. One CI job failed with "fatal: unable to access 'https://github.com/apache/airflow.git/': Failed to connect to github.com port 443: Connection timed out". Looks like it could be a temporary issue. How to retrigger the CI? |
I restarted job. |
Awesome work, congrats on your first merged pull request! |
…IX_NUM_PROXIES (apache#7359) This parameter is deprecated by werkzeug, see: https://github.com/pallets/werkzeug/blob/0.16.1/src/werkzeug/middleware/proxy_fix.py#L113-L120 However, it is also broken. The value is acquired as string from the config, while it should be int like the other `x_*` attributes. Those were fixed in apache#6901, but `num_proxies` was forgotten. I think we can safely remove it because: * There is virtually no possibility that someone is using that parameter in their config without raising an exception. * The configuration variable is not present in Airflow's docs or anywhere else anymore. The removed line is the only trace of it. More details: https://issues.apache.org/jira/browse/AIRFLOW-6740
…IX_NUM_PROXIES (#7359) This parameter is deprecated by werkzeug, see: https://github.com/pallets/werkzeug/blob/0.16.1/src/werkzeug/middleware/proxy_fix.py#L113-L120 However, it is also broken. The value is acquired as string from the config, while it should be int like the other `x_*` attributes. Those were fixed in #6901, but `num_proxies` was forgotten. I think we can safely remove it because: * There is virtually no possibility that someone is using that parameter in their config without raising an exception. * The configuration variable is not present in Airflow's docs or anywhere else anymore. The removed line is the only trace of it. More details: https://issues.apache.org/jira/browse/AIRFLOW-6740 (cherry picked from commit 936f7fe)
…IX_NUM_PROXIES (#7359) This parameter is deprecated by werkzeug, see: https://github.com/pallets/werkzeug/blob/0.16.1/src/werkzeug/middleware/proxy_fix.py#L113-L120 However, it is also broken. The value is acquired as string from the config, while it should be int like the other `x_*` attributes. Those were fixed in #6901, but `num_proxies` was forgotten. I think we can safely remove it because: * There is virtually no possibility that someone is using that parameter in their config without raising an exception. * The configuration variable is not present in Airflow's docs or anywhere else anymore. The removed line is the only trace of it. More details: https://issues.apache.org/jira/browse/AIRFLOW-6740 (cherry picked from commit 936f7fe)
…IX_NUM_PROXIES (apache#7359) This parameter is deprecated by werkzeug, see: https://github.com/pallets/werkzeug/blob/0.16.1/src/werkzeug/middleware/proxy_fix.py#L113-L120 However, it is also broken. The value is acquired as string from the config, while it should be int like the other `x_*` attributes. Those were fixed in apache#6901, but `num_proxies` was forgotten. I think we can safely remove it because: * There is virtually no possibility that someone is using that parameter in their config without raising an exception. * The configuration variable is not present in Airflow's docs or anywhere else anymore. The removed line is the only trace of it. More details: https://issues.apache.org/jira/browse/AIRFLOW-6740 (cherry picked from commit 936f7fe)
This parameter is deprecated by werkzeug, see: https://github.com/pallets/werkzeug/blob/0.16.1/src/werkzeug/middleware/proxy_fix.py#L113-L120
However, it is also broken. The value is acquired as string from the config, while it should be int like the other
x_*
attributes. Those were fixed in #6901, butnum_proxies
was forgotten.I think we can safely remove it because:
https://issues.apache.org/jira/browse/AIRFLOW-6740