You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2021/06/29 21:38:52 UTC

[airavata] branch develop updated: Ansible: update pip, setuptools and wheel to latest in Django venv

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new 453194f  Ansible: update pip, setuptools and wheel to latest in Django venv
     new 297c834  Merge branch 'ansible-update-pip-setuptools-wheel' into develop
453194f is described below

commit 453194f18e13fa88fd05ba8c32370ab94e643eda
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Tue Jun 29 17:36:51 2021 -0400

    Ansible: update pip, setuptools and wheel to latest in Django venv
---
 dev-tools/ansible/roles/django/tasks/main.yml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/dev-tools/ansible/roles/django/tasks/main.yml b/dev-tools/ansible/roles/django/tasks/main.yml
index 935b973..021f4b5 100644
--- a/dev-tools/ansible/roles/django/tasks/main.yml
+++ b/dev-tools/ansible/roles/django/tasks/main.yml
@@ -148,7 +148,21 @@
     - delete older files
   with_items: "{{ django_portal_js_build_dirs }}"
 
-- name: Create virtual environment for Django portal and install dependencies
+- name: Create virtual environment for Django portal and update pip, setuptools and wheel
+  pip:
+    name: "{{ item }}"
+    virtualenv: "{{ django_venv_dir }}"
+    virtualenv_command: "{{ python_virtualenv_command }}"
+    chdir: "{{ airavata_django_checkout }}"
+    state: latest
+  become: yes
+  become_user: "{{user}}"
+  with_list:
+    - pip
+    - setuptools
+    - wheel
+
+- name: Install dependencies in virtual environment for Django portal
   pip:
     requirements: "{{ item }}"
     virtualenv: "{{ django_venv_dir }}"