Skip to content

Commit

Permalink
chore: changelog entry, deps upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
DawoudSheraz committed May 2, 2024
1 parent 76862fa commit f9c003a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog.d/20240502_200434_dawoud.sheraz_py311.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [Feature] Upgrade Open edX Dockerfile to use Python 3.11 (by @dawoudsheraz)
5 changes: 2 additions & 3 deletions tutor/templates/build/openedx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ ENV PATH /openedx/nodeenv/bin:/openedx/venv/bin:${PATH}

# Install nodeenv with the version provided by edx-platform
# https://github.com/openedx/edx-platform/blob/master/requirements/edx/base.txt
# https://github.com/pyenv/pyenv/releases
RUN pip install nodeenv==1.8.0
RUN nodeenv /openedx/nodeenv --node=18.20.1 --prebuilt

Expand Down Expand Up @@ -260,9 +259,9 @@ USER app
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \
pip install -r requirements/edx/development.txt
# https://pypi.org/project/ipdb/
# https://pypi.org/project/ipython (8.12.x for Python 3.8)
# https://pypi.org/project/ipython (>=Python 3.10 started with 8.20)
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \
pip install ipdb==0.13.13 ipython==8.12.3
pip install ipdb==0.13.13 ipython==8.24.0

{# Re-install mounted requirements, otherwise they will be superseded by upstream reqs #}
{% for name in iter_mounted_directories(MOUNTS, "openedx") %}
Expand Down

0 comments on commit f9c003a

Please sign in to comment.