Skip to content

Commit

Permalink
build: update deps for analytics-api Python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Oct 28, 2024
1 parent bd2b1d9 commit 94e6987
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions playbooks/roles/analytics_api/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 94e6987

Please sign in to comment.