edx-platform icon indicating copy to clipboard operation
edx-platform copied to clipboard

[edx-platform codejail sandbox] Update to Python 3.11, 3.12

Open kdmccormick opened this issue 1 year ago • 1 comments

## 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

kdmccormick avatar Apr 03 '24 19:04 kdmccormick

@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

kdmccormick avatar Apr 03 '24 19:04 kdmccormick

@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.

kdmccormick avatar Apr 29 '24 14:04 kdmccormick

Done, that PR is reviewed and approved with some suggestions.

feanil avatar Apr 30 '24 15:04 feanil