Skip to content

Fix ssl deprecate warn - #283

Merged
auvipy merged 1 commit into
Lawouach:masterfrom
krishnan793:fix_ssl_deprecate_warn
May 12, 2024
Merged

auvipy merged 1 commit into
Lawouach:masterfrom
krishnan793:fix_ssl_deprecate_warn

Conversation

@krishnan793

Copy link
Copy Markdown
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.

@auvipy auvipy left a comment

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Contributor Author

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

All the existing tests are passing.

@Ape

Ape commented May 11, 2024

Copy link
Copy Markdown

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

Johnius commented Jun 24, 2024

Copy link
Copy Markdown

@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