[meta-python][PATCH 2/3] python3-django: make 3.2.x as default version
Jagadeesh Krishnanjanappa <workjagadeesh@...>
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 <workjagadeesh@...> --- .../recipes-devtools/python/python3-django_3.2.12.bb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 adbc498bd..17d402d65 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" -- 2.17.1 |
|