From cd3ac33a6c189c0142f2b7aff0bcb18e4148097a Mon Sep 17 00:00:00 2001 From: Lars Beckers <lars.beckers@rwth-aachen.de> Date: Mon, 15 Mar 2021 14:56:15 +0100 Subject: [PATCH] uwsgi-python: add bullseye's python version to uwsgi config --- uwsgi-python/templates/uwsgi.ini.j2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/uwsgi-python/templates/uwsgi.ini.j2 b/uwsgi-python/templates/uwsgi.ini.j2 index 8686c8d..646e3e7 100644 --- a/uwsgi-python/templates/uwsgi.ini.j2 +++ b/uwsgi-python/templates/uwsgi.ini.j2 @@ -44,10 +44,12 @@ log-x-forwarded-for = {% if app_python_version == 2 %} plugin = python27 {% elif app_python_version == 3 %} -{% if debian_version == "stretch" %} +{% if ansible_distribution_release == "stretch" %} plugin = python35 -{% elif debian_version == "buster" %} +{% elif ansible_distribution_release == "buster" %} plugin = python37 +{% elif ansible_distribution_release == "bullseye" %} +plugin = python39 {% endif %} {% endif %} {% if app_venv != '' %} -- GitLab