You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to #39382, which removed local codejail execution from the platform as part of #36639. We landed that PR as is so it wouldn't hold up #39416, and the rest of the cleanup happens here.
Remove:
The debug run_python view: the view in lms/djangoapps/debug/views.py, its URL in lms/urls.py, the lms/templates/debug/run_python_form.html template, the ENABLE_DEBUG_RUN_PYTHON setting in lms/envs/common.py and its entries in both mock.yml files.
The xmodule/capa/safe_exec/remote_exec.py shim, which has been deprecated since Verawood.
Update the docs that still describe local codejail:
xmodule/util/sandboxing.py::can_execute_unsafe_code: the docstring and the comment above the loop say a match lets the course run outside the sandbox. Since xblocks-core 3.0.0 a match makes the course's Python fail with ImproperlyConfigured, so update both to say that and link [DEPR]: Local codejail #36639.
requirements/README.rst: drop the edx-sandbox paragraph.
.github/workflows/check-consistent-dependencies.yml: drop the requirements/edx-sandbox mention from the comment above the requirements/ pattern. The workflow still needs to watch requirements/ for the requirements/edx/*.txt exports.
Activity
feat!: remove the xmodule.capa.safe_exec.remote_exec shim
feat!: stop reading COURSES_WITH_UNSAFE_CODE
docs: drop edx-sandbox from the requirements docs
feat!: stop reading COURSES_WITH_UNSAFE_CODE
docs: drop edx-sandbox from the requirements docs
feat!: stop reading COURSES_WITH_UNSAFE_CODE
docs: drop edx-sandbox from the requirements docs
feat!: remove the debug run_python view
feat!: remove the xmodule.capa.safe_exec.remote_exec shim
feat!: stop reading COURSES_WITH_UNSAFE_CODE
docs: drop edx-sandbox from the requirements docs