From 57848b46bb8e8f936990f93beaf938a98ec017db Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Mon, 11 Nov 2024 23:09:57 +0500 Subject: [PATCH] build: analytics-data-api Python 3.11 upgrade --- playbooks/roles/analytics_api/defaults/main.yml | 4 +--- playbooks/roles/analytics_api/meta/main.yml | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/playbooks/roles/analytics_api/defaults/main.yml b/playbooks/roles/analytics_api/defaults/main.yml index f22d32ce2ab..b59ae881b30 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_PYTHON311: True ANALYTICS_API_VERSION: "master" ANALYTICS_API_NGINX_PORT: '1{{ analytics_api_gunicorn_port }}' diff --git a/playbooks/roles/analytics_api/meta/main.yml b/playbooks/roles/analytics_api/meta/main.yml index 967a14c4082..b3aefea0257 100644 --- a/playbooks/roles/analytics_api/meta/main.yml +++ b/playbooks/roles/analytics_api/meta/main.yml @@ -21,8 +21,7 @@ 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_use_python311: '{{ ANALYTICS_API_USE_PYTHON311 }}' edx_django_service_repos: '{{ ANALYTICS_API_REPOS }}' edx_django_service_name: '{{ analytics_api_service_name }}' edx_django_service_user: '{{ analytics_api_user }}'