@@ -27,23 +27,21 @@ COPY ./common/lib/ /openedx/edx-platform/common/lib/
2727
2828ENV PATH /opt/pyenv/versions/3.5.9/bin:${PATH}
2929
30- # Your existing (very old) pip/setuptools; OK for Py3.5.9
31- RUN pip install --trusted-host pypi.python.org setuptools==39.0.1 pip==9.0.3
32-
33- RUN pip install --trusted-host pypi.python.org "edx-toggles==1.2.2"
30+ RUN pip install --trusted-host pypi.python.org "pip==20.3.4" "setuptools<52" "wheel<0.37"
3431
32+ RUN pip install --trusted-host pypi.python.org --retries 5 --timeout 120 "edx-toggles==1.2.2"
3533RUN printf "edx-toggles==1.2.2\n " > /tmp/pins.txt
3634
37- # Install patched version of ora2 (apply pin constraints just in case)
38- RUN pip install --trusted-host pypi.python.org -c /tmp/pins.txt \
35+ RUN pip install --trusted-host pypi.python.org --retries 5 --timeout 120 -c /tmp/pins.txt \
36+ "https://github.com/edx/RateXBlock/archive/refs/tags/2.0.tar.gz"
37+
38+ RUN pip install --trusted-host pypi.python.org --retries 5 --timeout 120 -c /tmp/pins.txt \
3939 https://github.com/overhangio/edx-ora2/archive/overhangio/boto2to3.zip
4040
41- # Install ironwood-compatible scorm xblock (also with the pin constraints)
42- RUN pip install --trusted-host pypi.python.org -c /tmp/pins.txt \
41+ RUN pip install --trusted-host pypi.python.org --retries 5 --timeout 120 -c /tmp/pins.txt \
4342 "openedx-scorm-xblock<11.0.0,>=10.0.0"
4443
45- # Install development libraries (ensure they don't yank a newer edx-toggles)
46- RUN pip install --trusted-host pypi.python.org -c /tmp/pins.txt \
44+ RUN pip install --trusted-host pypi.python.org --retries 5 --timeout 120 -c /tmp/pins.txt \
4745 -r /openedx/edx-platform/requirements/edx/ci-dev.txt
4846
4947# Using local version
@@ -94,7 +92,8 @@ COPY ./config /openedx/config
9492
9593# Install edx local
9694RUN pip install --trusted-host pypi.python.org setuptools_scm==5.0.2
97- RUN pip install --trusted-host pypi.python.org -r requirements/edx/base.txt
95+ RUN pip install --trusted-host pypi.python.org --retries 5 --timeout 120 -c /tmp/pins.txt \
96+ -r /openedx/edx-platform/requirements/edx/base.txt
9897RUN pip install --trusted-host pypi.python.org -r requirements/constraints.txt
9998
10099
0 commit comments