Merge "Remove workaround for eventlet <0.22.0"

This commit is contained in:
Zuul 2024-09-24 18:38:24 +00:00 committed by Gerrit Code Review
commit 1c4aa9d31f
3 changed files with 0 additions and 18 deletions

View File

@ -25,12 +25,6 @@ import os
import sys
import eventlet
# NOTE(jokke): As per the eventlet commit
# b756447bab51046dfc6f1e0e299cc997ab343701 there's circular import happening
# which can be solved making sure the hubs are properly and fully imported
# before calling monkey_patch(). This is solved in eventlet 0.22.0 but we
# need to address it before that is widely used around.
eventlet.hubs.get_hub()
if os.name == 'nt':
# eventlet monkey patching the os module causes subprocess.Popen to fail

View File

@ -23,12 +23,6 @@ import os
import sys
import eventlet
# NOTE(jokke): As per the eventlet commit
# b756447bab51046dfc6f1e0e299cc997ab343701 there's circular import happening
# which can be solved making sure the hubs are properly and fully imported
# before calling monkey_patch(). This is solved in eventlet 0.22.0 but we
# need to address it before that is widely used around.
eventlet.hubs.get_hub()
if os.name == 'nt':
# eventlet monkey patching the os module causes subprocess.Popen to fail

View File

@ -17,12 +17,6 @@ import builtins
import os
import eventlet
# NOTE(jokke): As per the eventlet commit
# b756447bab51046dfc6f1e0e299cc997ab343701 there's circular import happening
# which can be solved making sure the hubs are properly and fully imported
# before calling monkey_patch(). This is solved in eventlet 0.22.0 but we
# need to address it before that is widely used around.
eventlet.hubs.get_hub()
if os.name == 'nt':
# eventlet monkey patching the os module causes subprocess.Popen to fail