Skip to content

Commit

Permalink
build: update services to Python 3.11 environment
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Nov 13, 2024
1 parent 3c8c668 commit 8576712
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions playbooks/roles/analytics_api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down
3 changes: 1 addition & 2 deletions playbooks/roles/analytics_api/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/credentials/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down

0 comments on commit 8576712

Please sign in to comment.