[SERVER-72262] Update minimum python support to python 3.10 (windows to 3.9) Created: 19/Dec/22  Updated: 29/Oct/23  Resolved: 03/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Ryan Egesdahl (Inactive) Assignee: Alex Neben
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before SERVER-76751 Add poetry as a way to pin python dep... Closed
has to be done before SERVER-79559 Add OTEL metrics to resmoke Closed
has to be done before SERVER-79624 Upgrade windows python to 3.10 Closed
Problem/Incident
causes SERVER-79649 Fixed broken version_burn_in_gen Closed
causes SERVER-79663 Remove dependency from server.js on p... Closed
Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 167

 Description   

We need to upgrade python support to >=3.8 for compatibility with poetry.

Additionally,
The type annotations used for the enum.Enum mixins in buildscripts/toolchains.py is incompatible with Python 3.7, which is the version of Python with which we declare compatibility for external builders. We need to adjust these mixins to ensure support for Python 3.8, which is the oldest Python release available on all supported platforms, and update the build documentation accordingly.



 Comments   
Comment by Githook User [ 03/Aug/23 ]

Author:

{'name': 'Alex Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-72262 Bump Python minimum version to 3.9/3.10
Branch: minh.luu-no_compile_sys-perf
https://github.com/mongodb/mongo/commit/209ce30150ea97219b4d0c4e49c2577035a274a8

Comment by Githook User [ 02/Aug/23 ]

Author:

{'name': 'Alex Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}

Message: SERVER-72262 Bump Python minimum version to 3.9/3.10
Branch: master
https://github.com/mongodb/mongo/commit/209ce30150ea97219b4d0c4e49c2577035a274a8

Generated at Thu Feb 08 06:21:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.