You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/23 14:45:00 UTC

[GitHub] [airflow] tirkarthi opened a new issue, #25909: DeprecationWarning due to json_encode in Flask 2.2

tirkarthi opened a new issue, #25909:
URL: https://github.com/apache/airflow/issues/25909

   ### Apache Airflow version
   
   main (development)
   
   ### What happened
   
   On Flask 2.2 starting webserver emits the following deprecation warnings : 
   
   ```
   /home/karthikeyan/stuff/python/airflow/airflow/www/app.py:111 DeprecationWarning: 'app.json_encoder' is deprecated 
   and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead.
   ```
   
   The warning was added in https://github.com/pallets/flask/pull/4735
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   _No response_
   
   ### Operating System
   
   Ubuntu 20.04
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] josh-fell commented on issue #25909: DeprecationWarning due to json_encoder in Flask 2.2

Posted by GitBox <gi...@apache.org>.
josh-fell commented on issue #25909:
URL: https://github.com/apache/airflow/issues/25909#issuecomment-1224218346

   I believe #25753 fixes this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] potiuk closed issue #25909: DeprecationWarning due to json_encoder in Flask 2.2

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #25909: DeprecationWarning due to json_encoder in Flask 2.2
URL: https://github.com/apache/airflow/issues/25909


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] tirkarthi commented on issue #25909: DeprecationWarning due to json_encoder in Flask 2.2

Posted by GitBox <gi...@apache.org>.
tirkarthi commented on issue #25909:
URL: https://github.com/apache/airflow/issues/25909#issuecomment-1224241702

   Thanks @josh-fell , I searched for "json_encoder" in GitHub before opening the issue but for some reason https://github.com/apache/airflow/pull/25753 was not in the result.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org