From 857671263adf920aabe9c9aa6a81db57b2ddd840 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Wed, 13 Nov 2024 18:57:29 +0500 Subject: [PATCH] build: update services to Python 3.11 environment --- playbooks/roles/analytics_api/defaults/main.yml | 4 ---- playbooks/roles/analytics_api/meta/main.yml | 3 +-- playbooks/roles/credentials/meta/main.yml | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/playbooks/roles/analytics_api/defaults/main.yml b/playbooks/roles/analytics_api/defaults/main.yml index f22d32ce2ab..a74b184a134 100644 --- a/playbooks/roles/analytics_api/defaults/main.yml +++ b/playbooks/roles/analytics_api/defaults/main.yml @@ -42,10 +42,6 @@ analytics_api_newrelic_appname: 'analytics-api' analytics_api_debian_pkgs: - 'libmysqlclient-dev' -ANALYTICS_API_USE_PYTHON12: False - -ANALYTICS_API_USE_PYTHON38: True - ANALYTICS_API_VERSION: "master" ANALYTICS_API_NGINX_PORT: '1{{ analytics_api_gunicorn_port }}' ANALYTICS_API_SSL_NGINX_PORT: '4{{ analytics_api_gunicorn_port }}' diff --git a/playbooks/roles/analytics_api/meta/main.yml b/playbooks/roles/analytics_api/meta/main.yml index 967a14c4082..9133a082491 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: true edx_django_service_repos: '{{ ANALYTICS_API_REPOS }}' edx_django_service_name: '{{ analytics_api_service_name }}' edx_django_service_user: '{{ analytics_api_user }}' diff --git a/playbooks/roles/credentials/meta/main.yml b/playbooks/roles/credentials/meta/main.yml index 26436591839..46d2c432a5c 100644 --- a/playbooks/roles/credentials/meta/main.yml +++ b/playbooks/roles/credentials/meta/main.yml @@ -12,7 +12,7 @@ # dependencies: - role: edx_django_service - edx_django_service_use_python38: true + edx_django_service_use_python311: true edx_django_service_version: '{{ CREDENTIALS_VERSION }}' edx_django_service_name: '{{ credentials_service_name }}' edx_django_service_config_overrides: '{{ credentials_service_config_overrides }}'