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


   This should fix main.
   
   Python's pickle module (or typing?) seems to have a bug when 
`lazy_object_proxy.Proxy` is used in a subscript type (such as Union). `pickle` 
would somehow incorrectly try to look up the Proxy type in
   `builtin` during pickling, causing an exception.
   
   Since this global variable being pickled is only a type alias and not really 
functionally significant, we can work around the bug by simply not introducing 
that alias in the first place.
   
   I’ll try to come up with a more minimal example to reproduce the issue and 
report this to CPython. :)
   


-- 
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-unsubscr...@airflow.apache.org

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


Reply via email to