Skip to content

Commit

Permalink
build: analytics-data-api Python 3.11 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Nov 11, 2024
1 parent 15f0088 commit c217c91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions playbooks/roles/analytics_api/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: False

ANALYTICS_API_VERSION: "master"
ANALYTICS_API_NGINX_PORT: '1{{ 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: '{{ 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 }}'
Expand Down

0 comments on commit c217c91

Please sign in to comment.