uranusjr opened a new pull request #22677:
URL: https://github.com/apache/airflow/pull/22677


   First part of #22665.
   
   Since our custom showwarning hook lazy-imports Rich, it may not be able to 
execute correctly if a warning is emitted after the interpreter has already 
cleaned up the import system. This adds an atexit hook to restore the original 
showwarning hook, so that warnings emitted after the clean-up phase are logged 
plainly without using additional modules.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to