Openai cannot import name 'DEFAULT_CIPHERS' problem (Breaking changes with the latest version of requests)

If you built the openai recently in python, you will receive the following error

{"errorMessage": "Unable to import module 'prompt_runner': cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (/var/task/urllib3/util/ssl_.py)", "errorType": "Runtime.ImportModuleError", "requestId": "5700983c-a460-4e87-bef6-6cbb309d1659", "stackTrace": []}

Because, Openai uses latest version of requests. And requests with the latest version (2.30) started supporting urllib3.2.0 which breaks the import (on AWS)

openAI should consider pinning the urllib3<2 for wider support. I’ll post when I figure a fix for this.