diff --git a/Makefile b/Makefile index 5226631..b816885 100644 --- a/Makefile +++ b/Makefile @@ -91,6 +91,8 @@ compile-requirements: ## Re-compile *.in requirements to *.txt $(PIP_COMPILE) -o requirements/validation.txt requirements/validation.in $(PIP_COMPILE) -o requirements/ci.txt requirements/ci.in $(PIP_COMPILE) -o requirements/dev.txt requirements/dev.in + # Sandbox + $(PIP_COMPILE) -o requirements/sandbox/base.txt requirements/sandbox/base.in # Let tox control the Django version for tests grep -e "^django==" requirements/base.txt > requirements/django.txt sed '/^[dD]jango==/d' requirements/test.txt > requirements/test.tmp diff --git a/requirements/pip.txt b/requirements/pip.txt index a4078fa..2d3ba73 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -9,8 +9,6 @@ wheel==0.45.1 # The following packages are considered to be unsafe in a requirements file: pip==24.2 - # via - # -c https:/raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # -r requirements/pip.in + # via -r requirements/pip.in setuptools==80.9.0 # via -r requirements/pip.in diff --git a/requirements/sandbox/README.rst b/requirements/sandbox/README.rst new file mode 100644 index 0000000..29fd00e --- /dev/null +++ b/requirements/sandbox/README.rst @@ -0,0 +1,25 @@ +============================ +CodeJail Sandbox environment +============================ + +The requirements in this directory describe all the dependencies and libraries +available in the Sandbox runtime used to execute instructor-authored code by +openedx-platform. + +Files in this directory +======================= + +base.in +******* + +This is the current set of requirements or the sandbox environment, and it +is used to generate the ``.txt``, described below. + +Installing the openedx-sandbox environment from this file is **unsupported** and +**unstable**, because the packages are not pinned. + +base.txt +******** + +These are the latest requirement pins for openedx-sandbox. They are regularly +updated with the latest compatible versions of each package. diff --git a/requirements/sandbox/base.in b/requirements/sandbox/base.in new file mode 100644 index 0000000..e146c5c --- /dev/null +++ b/requirements/sandbox/base.in @@ -0,0 +1,12 @@ +chem # A helper library for chemistry calculations +cryptography # Implementations of assorted cryptography algorithms +lxml[html_clean] # XML parser +matplotlib # 2D plotting library +networkx # Utilities for creating, manipulating, and studying network graphs +nltk # Natural language processing; used by the chem package +openedx-calc +pyparsing # Python Parsing module +random2 # Implementation of random module that works identically under Python 2 and 3 +scipy # Math, science, and engineering library +sympy # Symbolic math library +codejail-includes # Checkers, verifiers, etc. available for course authors to use diff --git a/requirements/sandbox/base.txt b/requirements/sandbox/base.txt new file mode 100644 index 0000000..e5953a3 --- /dev/null +++ b/requirements/sandbox/base.txt @@ -0,0 +1,86 @@ +# +# This file is autogenerated by pip-compile with Python 3.12 +# by the following command: +# +# make upgrade +# +cffi==2.0.0 + # via cryptography +chem==2.0.0 + # via -r requirements/sandbox/base.in +click==8.3.1 + # via nltk +codejail-includes==2.0.0 + # via -r requirements/sandbox/base.in +contourpy==1.3.3 + # via matplotlib +cryptography==45.0.7 + # via -r requirements/sandbox/base.in +cycler==0.12.1 + # via matplotlib +fonttools==4.62.1 + # via matplotlib +joblib==1.5.3 + # via nltk +kiwisolver==1.5.0 + # via matplotlib +lxml[html-clean]==5.3.2 + # via + # -r requirements/sandbox/base.in + # lxml-html-clean + # openedx-calc +lxml-html-clean==0.4.4 + # via lxml +markupsafe==3.0.3 + # via + # chem + # openedx-calc +matplotlib==3.10.8 + # via -r requirements/sandbox/base.in +mpmath==1.3.0 + # via sympy +networkx==3.6.1 + # via -r requirements/sandbox/base.in +nltk==3.9.3 + # via + # -r requirements/sandbox/base.in + # chem +numpy==1.26.4 + # via + # chem + # contourpy + # matplotlib + # openedx-calc + # scipy +openedx-calc==5.0.0 + # via -r requirements/sandbox/base.in +packaging==26.0 + # via matplotlib +pillow==12.1.1 + # via matplotlib +pycparser==3.0 + # via cffi +pyparsing==3.3.2 + # via + # -r requirements/sandbox/base.in + # chem + # matplotlib + # openedx-calc +python-dateutil==2.9.0.post0 + # via matplotlib +random2==1.0.2 + # via -r requirements/sandbox/base.in +regex==2026.2.28 + # via nltk +scipy==1.17.1 + # via + # -r requirements/sandbox/base.in + # chem +six==1.17.0 + # via python-dateutil +sympy==1.14.0 + # via + # -r requirements/sandbox/base.in + # openedx-calc +tqdm==4.67.3 + # via nltk