From 2165764f02076793fcbb0345e604695ece6bfa5d Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Fri, 18 Oct 2024 18:27:19 +0500 Subject: [PATCH 1/3] build: update common pip version for pipelines --- playbooks/roles/common_vars/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/common_vars/defaults/main.yml b/playbooks/roles/common_vars/defaults/main.yml index ef2b5be854c..74c4c9200d0 100644 --- a/playbooks/roles/common_vars/defaults/main.yml +++ b/playbooks/roles/common_vars/defaults/main.yml @@ -159,7 +159,7 @@ old_python_debian_pkgs: - "python2.7=2.7.10-0+{{ ansible_distribution_release }}1" -COMMON_PIP_VERSION: '21.2.1' +COMMON_PIP_VERSION: '24.2' common_pip_pkgs: - pip=={{ COMMON_PIP_VERSION }} From fe711af67b878afe45e49903e21acf9be2684b34 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Fri, 18 Oct 2024 19:56:59 +0500 Subject: [PATCH 2/3] fix: update all pip dependencies --- playbooks/roles/common_vars/defaults/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/playbooks/roles/common_vars/defaults/main.yml b/playbooks/roles/common_vars/defaults/main.yml index 74c4c9200d0..8b62a6e38f3 100644 --- a/playbooks/roles/common_vars/defaults/main.yml +++ b/playbooks/roles/common_vars/defaults/main.yml @@ -163,12 +163,12 @@ COMMON_PIP_VERSION: '24.2' common_pip_pkgs: - pip=={{ COMMON_PIP_VERSION }} - - configparser==4.0.2 - - setuptools==44.1.0 + - configparser==7.0.0 + - setuptools==75.0.0 - virtualenv==20.27.0 - - zipp==1.2.0 + - zipp==3.20.2 - boto3 - - importlib-resources==3.2.1 + - importlib-resources==6.4.5 common_web_user: www-data common_web_group: www-data From 39dd2ed68ba0669dafc8e7bff241f170fcfca291 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Thu, 24 Oct 2024 19:07:54 +0500 Subject: [PATCH 3/3] fix: replace deprecated easy_install with pip --- playbooks/roles/edxapp/tasks/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/edxapp/tasks/deploy.yml b/playbooks/roles/edxapp/tasks/deploy.yml index 136a1182e98..ca75c91c3e9 100644 --- a/playbooks/roles/edxapp/tasks/deploy.yml +++ b/playbooks/roles/edxapp/tasks/deploy.yml @@ -308,7 +308,7 @@ - install:app-requirements - name: install node dependencies - shell: "easy_install --version && npm clean-install" + shell: "pip --version && npm clean-install" args: chdir: "{{ edxapp_code_dir }}" environment: "{{ edxapp_environment | combine(git_ssh_environment_mixin) }}"