Message ID | 20251007095900.57445-1-skandigraun@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe,1/2] python3-django: upgrade 4.2.20 -> 4.2.25 | expand |
Ooops, I just noticed that django update was sent by someone else too just a few hours ago. Feel free to ignore mine. On 10/7/25 11:58, Gyorgy Sarvari wrote: > The pypi package was renamed from Django to django, so the custom name > is not required anymore. > > This upgrade contains fix for CVE-2025-32873, CVE-2025-48432 and CVE-2025-59682. > > Changelog: > https://github.com/django/django/blob/main/docs/releases/4.2.21.txt > https://github.com/django/django/blob/main/docs/releases/4.2.22.txt > https://github.com/django/django/blob/main/docs/releases/4.2.23.txt > https://github.com/django/django/blob/main/docs/releases/4.2.24.txt > https://github.com/django/django/blob/main/docs/releases/4.2.25.txt > > Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> > --- > meta-python/recipes-devtools/python/python3-django.inc | 3 --- > .../{python3-django_4.2.20.bb => python3-django_4.2.25.bb} | 4 ++-- > 2 files changed, 2 insertions(+), 5 deletions(-) > rename meta-python/recipes-devtools/python/{python3-django_4.2.20.bb => python3-django_4.2.25.bb} (64%) > > diff --git a/meta-python/recipes-devtools/python/python3-django.inc b/meta-python/recipes-devtools/python/python3-django.inc > index cde32be477..57756024fe 100644 > --- a/meta-python/recipes-devtools/python/python3-django.inc > +++ b/meta-python/recipes-devtools/python/python3-django.inc > @@ -3,9 +3,6 @@ HOMEPAGE = "https://www.djangoproject.com/" > LICENSE = "BSD-3-Clause" > LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" > > -PYPI_PACKAGE = "Django" > -UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" > - > inherit pypi > > FILES:${PN} += "${datadir}/django" > diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.20.bb b/meta-python/recipes-devtools/python/python3-django_4.2.25.bb > similarity index 64% > rename from meta-python/recipes-devtools/python/python3-django_4.2.20.bb > rename to meta-python/recipes-devtools/python/python3-django_4.2.25.bb > index 8644b282c6..a6bdc26336 100644 > --- a/meta-python/recipes-devtools/python/python3-django_4.2.20.bb > +++ b/meta-python/recipes-devtools/python/python3-django_4.2.25.bb > @@ -1,7 +1,7 @@ > require python3-django.inc > inherit python_setuptools_build_meta > > -SRC_URI[sha256sum] = "92bac5b4432a64532abb73b2ac27203f485e40225d2640a7fbef2b62b876e789" > +SRC_URI[sha256sum] = "2391ab3d78191caaae2c963c19fd70b99e9751008da22a0adcc667c5a4f8d311" > > RDEPENDS:${PN} += "\ > python3-sqlparse \ > @@ -10,5 +10,5 @@ RDEPENDS:${PN} += "\ > > # Set DEFAULT_PREFERENCE so that the LTS version of django is built by > # default. To build the 4.x branch, > -# PREFERRED_VERSION_python3-django = "4.2.20" can be added to local.conf > +# PREFERRED_VERSION_python3-django = "4.2.25" can be added to local.conf > DEFAULT_PREFERENCE = "-1"
diff --git a/meta-python/recipes-devtools/python/python3-django.inc b/meta-python/recipes-devtools/python/python3-django.inc index cde32be477..57756024fe 100644 --- a/meta-python/recipes-devtools/python/python3-django.inc +++ b/meta-python/recipes-devtools/python/python3-django.inc @@ -3,9 +3,6 @@ HOMEPAGE = "https://www.djangoproject.com/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" -PYPI_PACKAGE = "Django" -UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" - inherit pypi FILES:${PN} += "${datadir}/django" diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.20.bb b/meta-python/recipes-devtools/python/python3-django_4.2.25.bb similarity index 64% rename from meta-python/recipes-devtools/python/python3-django_4.2.20.bb rename to meta-python/recipes-devtools/python/python3-django_4.2.25.bb index 8644b282c6..a6bdc26336 100644 --- a/meta-python/recipes-devtools/python/python3-django_4.2.20.bb +++ b/meta-python/recipes-devtools/python/python3-django_4.2.25.bb @@ -1,7 +1,7 @@ require python3-django.inc inherit python_setuptools_build_meta -SRC_URI[sha256sum] = "92bac5b4432a64532abb73b2ac27203f485e40225d2640a7fbef2b62b876e789" +SRC_URI[sha256sum] = "2391ab3d78191caaae2c963c19fd70b99e9751008da22a0adcc667c5a4f8d311" RDEPENDS:${PN} += "\ python3-sqlparse \ @@ -10,5 +10,5 @@ RDEPENDS:${PN} += "\ # Set DEFAULT_PREFERENCE so that the LTS version of django is built by # default. To build the 4.x branch, -# PREFERRED_VERSION_python3-django = "4.2.20" can be added to local.conf +# PREFERRED_VERSION_python3-django = "4.2.25" can be added to local.conf DEFAULT_PREFERENCE = "-1"
The pypi package was renamed from Django to django, so the custom name is not required anymore. This upgrade contains fix for CVE-2025-32873, CVE-2025-48432 and CVE-2025-59682. Changelog: https://github.com/django/django/blob/main/docs/releases/4.2.21.txt https://github.com/django/django/blob/main/docs/releases/4.2.22.txt https://github.com/django/django/blob/main/docs/releases/4.2.23.txt https://github.com/django/django/blob/main/docs/releases/4.2.24.txt https://github.com/django/django/blob/main/docs/releases/4.2.25.txt Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> --- meta-python/recipes-devtools/python/python3-django.inc | 3 --- .../{python3-django_4.2.20.bb => python3-django_4.2.25.bb} | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) rename meta-python/recipes-devtools/python/{python3-django_4.2.20.bb => python3-django_4.2.25.bb} (64%)