diff --git a/playbooks/roles/analytics_api/tasks/main.yml b/playbooks/roles/analytics_api/tasks/main.yml index 4f460d56d8f..cd6f962bf20 100644 --- a/playbooks/roles/analytics_api/tasks/main.yml +++ b/playbooks/roles/analytics_api/tasks/main.yml @@ -15,6 +15,21 @@ # Dependencies: # +- name: Update pip for Python 3.12 Support + pip: + name: pip==24.2 + state: present + +- name: Update common deps for Python 3.12 Support + pip: + name: + - configparser==7.0.0 + - setuptools==75.0.0 + - virtualenv==20.27.0 + - zipp==3.20.2 + - importlib-resources==6.4.5 + state: present + - name: create api users shell: "{{ analytics_api_home }}/venvs/{{ analytics_api_service_name }}/bin/python manage.py set_api_key {{ item.key }} {{ item.value }}" args: