tooptoop4 opened a new issue #8164: Monkey-patching may also silently lead to 
incorrect behaviour on Python 3.7
URL: https://github.com/apache/airflow/issues/8164
 
 
   
   
   [2020-04-06 08:58:58 +0000] [4986] [INFO] Booting worker with pid: 4986 
/home/ec2-user/venv/local/lib/python3.6/site-packages/gunicorn/workers/ggevent.py:65:
 MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported 
may lead to errors, including RecursionError on Python 3.6. It may also 
silently lead to incorrect behaviour on Python 3.7. Please monkey-patch 
earlier. See https://github.com/gevent/gevent/issues/1016. Modules that had 
direct imports (NOT patched): ['urllib3.util 
(/home/ec2-user/venv/local/lib/python3.6/site-packages/urllib3/util/__init__.py)',
 'urllib3.util.ssl_ 
(/home/ec2-user/venv/local/lib/python3.6/site-packages/urllib3/util/ssl_.py)']. 
monkey.patch_all(subprocess=True) 
/home/ec2-user/venv/local/lib/python3.6/site-packages/gunicorn/workers/ggevent.py:65:
 MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported 
may lead to errors, including RecursionError on Python 3.6. It may also 
silently lead to incorrect behaviour on Python 3.7. Please monkey-patch 
earlier. See https://github.com/gevent/gevent/issues/1016. Modules that had 
direct imports (NOT patched): ['urllib3.util 
(/home/ec2-user/venv/local/lib/python3.6/site-packages/urllib3/util/__init__.py)',
 'urllib3.util.ssl_ 
(/home/ec2-user/venv/local/lib/python3.6/site-packages/urllib3/util/ssl_.py)']. 
monkey.patch_all(subprocess=True) [2020-04-06 08:58:58,803] {__init__.py:51} 
INFO - Using executor LocalExecutor [2020-04-06 08:58:58,805] {dagbag.py:403} 
INFO - Filling up the DagBag from /home/ec2-user/airflow/dags
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to