aws / aws/amazon-redshift-python-driver
ssl.SSLContext() without protocol argument is deprecated.
- Dominant language
- Python
- Stars
- 220
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
even though https://github.com/aws/amazon-redshift-python-driver/issues/196 is closed, I am still seeing this warning in redshift-connector 2.1.5:
C:\.venv\Lib\site-packages\redshift_connector\core.py:654: DeprecationWarning:
ssl.SSLContext() without protocol argument is deprecated.
C:\.venv\Lib\site-packages\redshift_connector\core.py:654: DeprecationWarning:
ssl.PROTOCOL_TLS is deprecated
Contributor guide
Research direction
Open redshift_connector/core.py at line 654 and reproduce the reported warnings in redshift-connector 2.1.5. Inspect the SSL setup associated with that line, then verify that the connector no longer emits either deprecation warning; the issue names no test file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100