aws / aws/amazon-redshift-python-driver

ssl.SSLContext() without protocol argument is deprecated.

Ouverte
#260 5 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
220
Forks
86
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
databases
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
48/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.