Skip to content

Commit 31d4d9f

Browse files
committed
Update pyenv and default python version.
edx-platform is building and running with Python 3.12 so tutor main should follow suit. This change should not be backported to release at this time. Python 3.12 will be the default version of Python for edx-platform in Verawood.
1 parent 7e6741b commit 31d4d9f

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!--
2+
Create a changelog entry for every new user-facing change. Please respect the following instructions:
3+
- Indicate breaking changes by prepending an explosion 💥 character.
4+
- Prefix your changes with either [Bugfix], [Improvement], [Feature], [Security], [Deprecation].
5+
- You may optionally append "(by @<author>)" at the end of the line, where "<author>" is either one (just one)
6+
of your GitHub username, real name or affiliated organization. These affiliations will be displayed in
7+
the release notes for every release.
8+
-->
9+
10+
<!-- - 💥[Feature] Foobarize the blorginator. This breaks plugins by renaming the `FOO_DO` filter to `BAR_DO`. (by @regisb) -->
11+
<!-- - [Improvement] This is a non-breaking change. Life is good. (by @billgates) -->
12+
13+
[Improvement] Update to use Python 3.12 for edx-platform

tutor/templates/build/openedx/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
2929
# Install pyenv
3030
# https://www.python.org/downloads/
3131
# https://github.com/pyenv/pyenv/releases
32-
ARG PYTHON_VERSION=3.11.8
32+
ARG PYTHON_VERSION=3.12.12
3333
ENV PYENV_ROOT=/opt/pyenv
34-
RUN git clone https://github.com/pyenv/pyenv $PYENV_ROOT --branch v2.3.36 --depth 1
34+
RUN git clone https://github.com/pyenv/pyenv $PYENV_ROOT --branch v2.6.18 --depth 1
3535

3636
# Install Python
3737
RUN $PYENV_ROOT/bin/pyenv install $PYTHON_VERSION

0 commit comments

Comments
 (0)