Python 3.12: microserver.test.ext wrap_socket update#10247
Merged
bneradt merged 1 commit intoapache:masterfrom Aug 18, 2023
Merged
Python 3.12: microserver.test.ext wrap_socket update#10247bneradt merged 1 commit intoapache:masterfrom
bneradt merged 1 commit intoapache:masterfrom
Conversation
ssl.wrap_socket was deprecated in Python 3.6 and is removed in Python 3.12. This patch replaces it with the recommended SSLContext.wrap_socket method instead. This fixes the extension for Python 3.12.
maskit
approved these changes
Aug 17, 2023
Member
maskit
left a comment
There was a problem hiding this comment.
Looks good, though I don't know Python very much.
Should we back port this to 9.2.x? The new way has been there for years so it should be possible.
Contributor
Author
Yes, this is wise. We'll want to run CI on 9.2.x branch releases not infrequently. |
zwoop
pushed a commit
that referenced
this pull request
Aug 28, 2023
ssl.wrap_socket was deprecated in Python 3.6 and is removed in Python 3.12. This patch replaces it with the recommended SSLContext.wrap_socket method instead. This fixes the extension for Python 3.12. (cherry picked from commit 5d4f975)
Contributor
|
Cherry-picked to v9.2.x |
cmcfarlen
pushed a commit
to cmcfarlen/trafficserver
that referenced
this pull request
Jun 3, 2024
* asf/master: Upgrade yaml-cpp version to 0.8.0 (apache#10249) This dependency is not needed, cmake did it right (apache#10250) Revert "Make OSX and FreeBSD not required temporarily (apache#10237)" (apache#10248) Python 3.12: microserver.test.ext wrap_socket update (apache#10247) Coverity 1508984: Dereference null return value (apache#10245) fall back to configure file for older cmake versions (apache#10236) TLS early data: logging updates (apache#10115) Fixing TSHttpTxnServerAddrSet (apache#10189) Make OSX and FreeBSD not required temporarily (apache#10237) Fixes a problem which can decrement milestone metrics unintentionally (apache#10188) Fix editor config for makefiles. (apache#10190) Correctly handle encoding for cache hash generation (apache#10126)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ssl.wrap_socket was deprecated in Python 3.6 and is removed in Python 3.12. This patch replaces it with the recommended SSLContext.wrap_socket method instead. This fixes the extension for Python 3.12.