[DRIVERS-2743] Resolve errors starting mock KMS servers with Python 3.12 Created: 04/Oct/23 Updated: 04/Oct/23 |
|
| Status: | Needs Triage |
| Project: | Drivers |
| Component/s: | Evergreen Tools |
| Fix Version/s: | None |
| Type: | Task | Priority: | Unknown |
| Reporter: | Kevin Albertson | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Driver Changes: | Not Needed |
| Description |
SummaryResolve failures to start mock KMS servers with Python 3.12 MotivationTest failures are reported by multiple driver teams starting the mock KMIP server. Example failures in Node and Java include the tracebacks:
Python 3.12 removed ssl.wrap_socket: > Remove the ssl.wrap_socket() function PyKMIP uses ssl.wrap_socket(). kms_http_common.py uses ssl.wrap_socket() Who is the affected end user?DBX engineers. How does this affect the end user?Causes test failures. How likely is it that this problem or use case will occur?Certain. If the problem does occur, what are the consequences and how severe are they?Tests fail. Is this issue urgent?Somewhat. A workaround was applied to skip Python 3.12. But I expect future Python version updates will cause the failures again. Is this ticket required by a downstream team?No, Is this ticket only for tests?Yes. Acceptance CriteriaRemove the skip of Python 3.12 added in https://github.com/mongodb-labs/drivers-evergreen-tools/pull/359 |
| Comments |
| Comment by Githook User [ 04/Oct/23 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: DRIVERS-2743 skip Python 3.12 (#359) |
| Comment by Steve Silvester [ 04/Oct/23 ] |
|
I created a draft PR to PyKMIP: https://github.com/OpenKMIP/PyKMIP/pull/707 |