From 0bc41141d6a07bf2a2098556f75ed04d221047f6 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Fri, 18 Oct 2024 15:49:05 +0500 Subject: [PATCH 1/2] build: upgrade analytics data api pipeline to use Python 3.12 --- playbooks/roles/analytics_api/defaults/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/playbooks/roles/analytics_api/defaults/main.yml b/playbooks/roles/analytics_api/defaults/main.yml index f22d32ce2ab..b8a785ff966 100644 --- a/playbooks/roles/analytics_api/defaults/main.yml +++ b/playbooks/roles/analytics_api/defaults/main.yml @@ -42,9 +42,7 @@ analytics_api_newrelic_appname: 'analytics-api' analytics_api_debian_pkgs: - 'libmysqlclient-dev' -ANALYTICS_API_USE_PYTHON12: False - -ANALYTICS_API_USE_PYTHON38: True +ANALYTICS_API_USE_PYTHON12: True ANALYTICS_API_VERSION: "master" ANALYTICS_API_NGINX_PORT: '1{{ analytics_api_gunicorn_port }}' From 87624d9312609c6dceb49be8f15d992853d979e3 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Fri, 18 Oct 2024 16:18:19 +0500 Subject: [PATCH 2/2] build: remove python 3.8 flag from meta --- playbooks/roles/analytics_api/meta/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/playbooks/roles/analytics_api/meta/main.yml b/playbooks/roles/analytics_api/meta/main.yml index 967a14c4082..223d5fb8db5 100644 --- a/playbooks/roles/analytics_api/meta/main.yml +++ b/playbooks/roles/analytics_api/meta/main.yml @@ -22,7 +22,6 @@ dependencies: - role: edx_django_service edx_django_service_use_python312: '{{ ANALYTICS_API_USE_PYTHON12 }}' - edx_django_service_use_python38: '{{ ANALYTICS_API_USE_PYTHON38 }}' edx_django_service_repos: '{{ ANALYTICS_API_REPOS }}' edx_django_service_name: '{{ analytics_api_service_name }}' edx_django_service_user: '{{ analytics_api_user }}'