ssl.SSLContext() without protocol argument is deprecated.

Open
#260 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
databases

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.

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

Dominant language
Python
Stars
220
Forks
86
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/amazon-redshift-python-driver

All issues in aws/amazon-redshift-python-driver

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.