Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ssl deprecate warn #283

Merged
merged 1 commit into from
May 12, 2024
Merged

Conversation

krishnan793
Copy link
Contributor

ssl.wrap_socket() is deprecated from python 3.7 (see https://docs.python.org/3/library/ssl.html#ssl.SSLSocket). Based on documentation SSLContext.wrap_socket() should be used instead.

Copy link
Collaborator

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to add / update relevant tests as well?

@krishnan793 krishnan793 force-pushed the fix_ssl_deprecate_warn branch from 15a2d87 to e57e07a Compare January 11, 2024 17:22
self signed certificate; no need to verify

signed commit

final commit
@krishnan793 krishnan793 force-pushed the fix_ssl_deprecate_warn branch from e57e07a to 1d9ffff Compare January 11, 2024 17:36
@krishnan793 krishnan793 requested a review from auvipy January 11, 2024 17:39
@krishnan793
Copy link
Contributor Author

is it possible to add / update relevant tests as well?

All the existing tests are passing.

@Ape
Copy link

Ape commented May 11, 2024

This needs to be released. It's not only deprecated, as of Python 3.12 the feature has been removed.

@auvipy auvipy merged commit 9ffee99 into Lawouach:master May 12, 2024
@Johnius
Copy link

Johnius commented Jun 24, 2024

@auvipy Hey! Can we by chance bump the version to release this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants