From dd108b984705fa7e81c301e7d526a95227f757db Mon Sep 17 00:00:00 2001 From: Jagadeesh Krishnanjanappa Date: Tue, 23 Aug 2022 17:26:01 +0000 Subject: python3-django: make 3.2.x as default version According to https://www.djangoproject.com/download/ python3-django 3.2.x has LTS support upto 2024, hence make it as default version to build. Also, add runtime dependency on python3-asgiref as the "django-admin" script needs asgiref module. More info: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14888 Signed-off-by: Jagadeesh Krishnanjanappa Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-django_3.2.12.bb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-django_3.2.12.bb b/meta-python/recipes-devtools/python/python3-django_3.2.12.bb index adbc498bdf..17d402d652 100644 --- a/meta-python/recipes-devtools/python/python3-django_3.2.12.bb +++ b/meta-python/recipes-devtools/python/python3-django_3.2.12.bb @@ -5,9 +5,5 @@ SRC_URI[sha256sum] = "9772e6935703e59e993960832d66a614cf0233a1c5123bc6224ecc6ad6 RDEPENDS:${PN} += "\ ${PYTHON_PN}-sqlparse \ + ${PYTHON_PN}-asgiref \ " - -# Set DEFAULT_PREFERENCE so that the LTS version of django is built by -# default. To build the 3.x branch, -# PREFERRED_VERSION_python3-django = "3.2.2" can be added to local.conf -DEFAULT_PREFERENCE = "-1" -- cgit v1.2.3-54-g00ecf