From 334cc6439ddc736906a83bdb42a45e25ce9f8f9b Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Wed, 13 Nov 2024 16:29:44 +0500 Subject: [PATCH] Revert "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, 5 insertions(+), 2 deletions(-) diff --git a/playbooks/roles/analytics_api/defaults/main.yml b/playbooks/roles/analytics_api/defaults/main.yml index b59ae881b30..f22d32ce2ab 100644 --- a/playbooks/roles/analytics_api/defaults/main.yml +++ b/playbooks/roles/analytics_api/defaults/main.yml @@ -42,7 +42,9 @@ analytics_api_newrelic_appname: 'analytics-api' analytics_api_debian_pkgs: - 'libmysqlclient-dev' -ANALYTICS_API_USE_PYTHON311: True +ANALYTICS_API_USE_PYTHON12: False + +ANALYTICS_API_USE_PYTHON38: 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 b3aefea0257..967a14c4082 100644 --- a/playbooks/roles/analytics_api/meta/main.yml +++ b/playbooks/roles/analytics_api/meta/main.yml @@ -21,7 +21,8 @@ dependencies: - role: edx_django_service - edx_django_service_use_python311: '{{ ANALYTICS_API_USE_PYTHON311 }}' + 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 }}'