aws / aws/amazon-redshift-python-driver

ssl.SSLContext() without protocol argument is deprecated.

Đang mở
#260 5 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
220
Fork
86
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
databases
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.