edx-platform
edx-platform copied to clipboard
[edx-platform codejail sandbox] Update to Python 3.11, 3.12
## Tasks (incomplete list)
- [ ] Add a py311.in file to https://github.com/openedx/edx-platform/tree/master/requirements/edx-sandbox, and ensure it is compiled using Python 3.11 into py311.txt in the same directory.
- [ ] Add a py312.in file to https://github.com/openedx/edx-platform/tree/master/requirements/edx-sandbox, and ensure it is compiled using Python 3.12 into py312.txt in the same directory.
- [ ] ...
- [ ] Communicate in the Redwood notes that operators can and should test edx-sandbox with python3.11 ASAP
Notes
- The last release with 2 codejail requirements files was Maple: https://github.com/openedx/edx-platform/tree/open-release/maple.3/requirements/edx-sandbox
- We will need to coordinate testing with tutor-contrib-codejail maintainers
@feanil @awais-ansari I'll be using this ticket to work on the edx-sandbox/codejail environment upgrade.
Do we want a new requirements file for 3.11, 3.12, or both?
EDIT: we decided to have release-based pin files, explained by these new docs: https://github.com/openedx/edx-platform/pull/34632
@feanil , I updated the task list for this ticket. Can you review the docs PR linked in the description? Once that merges, I can handle the remaining items as part of the Redwood cut+release process.
Done, that PR is reviewed and approved with some suggestions.