diff options
author | Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com> | 2022-08-23 17:26:01 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-08-23 19:12:52 -0700 |
commit | dd108b984705fa7e81c301e7d526a95227f757db (patch) | |
tree | dad50bd82e87f287bd69217f983c04437f6895b3 /meta-python | |
parent | a3930e53deb587d506c56c7d52f1ba61255e20d3 (diff) | |
download | meta-openembedded-dd108b984705fa7e81c301e7d526a95227f757db.tar.gz |
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 <workjagadeesh@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-django_3.2.12.bb | 6 |
1 files changed, 1 insertions, 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 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 | |||
5 | 5 | ||
6 | RDEPENDS:${PN} += "\ | 6 | RDEPENDS:${PN} += "\ |
7 | ${PYTHON_PN}-sqlparse \ | 7 | ${PYTHON_PN}-sqlparse \ |
8 | ${PYTHON_PN}-asgiref \ | ||
8 | " | 9 | " |
9 | |||
10 | # Set DEFAULT_PREFERENCE so that the LTS version of django is built by | ||
11 | # default. To build the 3.x branch, | ||
12 | # PREFERRED_VERSION_python3-django = "3.2.2" can be added to local.conf | ||
13 | DEFAULT_PREFERENCE = "-1" | ||