diff --git a/Makefile b/Makefile index 0bb53d1119f4..6fc019290088 100644 --- a/Makefile +++ b/Makefile @@ -110,7 +110,7 @@ shell: ## launch a bash shell in a Docker container with all edx-platform depend REQ_FILES = \ requirements/edx/coverage \ requirements/edx/paver \ - requirements/edx-sandbox/py38 \ + requirements/edx-sandbox/base \ requirements/edx/base \ requirements/edx/doc \ requirements/edx/testing \ @@ -130,7 +130,7 @@ endef COMMON_CONSTRAINTS_TXT=requirements/common_constraints.txt .PHONY: $(COMMON_CONSTRAINTS_TXT) $(COMMON_CONSTRAINTS_TXT): - wget -O "$(@)" https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + curl -L https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt > "$(@)" printf "$(COMMON_CONSTRAINTS_TEMP_COMMENT)" | cat - $(@) > temp && mv temp $(@) compile-requirements: export CUSTOM_COMPILE_COMMAND=make upgrade diff --git a/requirements/edx-sandbox/README.rst b/requirements/edx-sandbox/README.rst new file mode 100644 index 000000000000..6129aa865b31 --- /dev/null +++ b/requirements/edx-sandbox/README.rst @@ -0,0 +1,59 @@ +edx-sandbox: a Python environment for sandboxed execution with CodeJail +####################################################################### + +The requirements in this directory describe a Python environment separate from +the general edx-platform environment. When correctly configured with +`CodeJail `_, edx-platform can use +it to execute untrusted code, particularly instructor-authored Python code +within ``