Skip to content

Commit

Permalink
build!: upgrade edxapp to Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Jun 3, 2024
1 parent b134efa commit 4f86528
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion playbooks/roles/edxapp/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# any secrets or host identifying information.
#

EDXAPP_PYTHON_VERSION: "python3.8"
EDXAPP_PYTHON_VERSION: "python3.11"

# Bucket used for xblock file storage
EDXAPP_XBLOCK_FS_STORAGE_BUCKET: !!null
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/edxapp/tasks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@

- name: Pin pip to a specific version.
# Not pinning to the same version as everything else because sandboxes are still python 2.7
command: "{{ edxapp_sandbox_venv_dir }}/bin/pip install pip==21.2.1"
command: "{{ edxapp_sandbox_venv_dir }}/bin/pip install pip==24.0"
args:
chdir: "{{ edxapp_code_dir }}"
become_user: "{{ edxapp_sandbox_user }}"
Expand Down
6 changes: 3 additions & 3 deletions playbooks/roles/edxapp/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@
- install
- install:base

- name: install python3.8
- name: install python3.11
apt:
pkg:
- python3.8-dev
- python3.8-distutils
- python3.11-dev
- python3.11-distutils
update_cache: yes
register: install_pkgs
until: install_pkgs is success
Expand Down

0 comments on commit 4f86528

Please sign in to comment.