RikHeijdens commented on a change in pull request #12788:
URL: https://github.com/apache/airflow/pull/12788#discussion_r537357119
##########
File path: airflow/utils/python_virtualenv_script.jinja2
##########
@@ -20,6 +20,18 @@
import {{ pickling_library }}
import sys
+# Check whether Airflow is available in the environment.
+# If it is, we'll want to ensure that we integrate any macros that are being
provided
+# by plugins prior to unpickling the task context.
+if int(sys.version[0]) >= 3:
Review comment:
I'll make the check a bit more strict, just in case :-)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]