hazelcast / hazelcast/hazelcast-python-client
Some SSL options are deprecated, prints warnings to user
Open
Estimation: M
Priority: Medium
Source: Internal
Type: Cleanup
- Dominant language
- Python
- Stars
- 116
- Forks
- 78
- Avg merge
- 10d 22h
- Merged PRs (30d)
- 1
Description
See the following warnings while connecting to Hazelcast Viridian via Python client. The `reactor.py` file should be refactored to prevent these deprecated messages.
```
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hazelcast/reactor.py:543: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
ssl_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/hazelcast/reactor.py:554: DeprecationWarning: ssl.OP_NO_SSL*/ssl.OP_NO_TLS* options are deprecated
ssl_context.options |= ssl.OP_NO_TLSv1
```
Contributor guide
Assessment
This issue has not been assessed yet.