Skip to content

Conversation

@aphedges
Copy link
Contributor

An import of ssl.OP_ENABLE_MIDDLEBOX_COMPAT was added in commit 9caa74e, even though it is never used in the file. Although I can't tell why it was added originally, it does not seem to serve any purpose now.

The constant was not introduced until Python 3.8, and it is "only available with OpenSSL 1.1.1 and later". I am running a version of Python 3.9 on CentOS 7, which has OpenSSL 1.0.2 by default, so just having this import causes deepspeed to crash on import.

Copy link
Collaborator

@jeffra jeffra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aphedges, this seems to (somehow) be an accidental import. Still not entirely sure how it got there, but should definitely be removed.

@jeffra jeffra merged commit 9aa288d into deepspeedai:master Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants