From 67a8fe4a1a3652f930784b2a4f71405b217cf460 Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Thu, 5 Mar 2026 15:51:44 +0100 Subject: python3-django: upgrade 4.2.28 -> 4.2.29 Contains fiuxes for CVE-2026-25673 and CVE-2026-25674. Signed-off-by: Gyorgy Sarvari Signed-off-by: Anuj Mittal --- .../0001-lower-setuptools-requirements.patch | 25 ---------------------- .../0001-lower-setuptools-requirements.patch | 25 ++++++++++++++++++++++ .../python/python3-django_4.2.28.bb | 17 --------------- .../python/python3-django_4.2.29.bb | 17 +++++++++++++++ 4 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-django-4.2.28/0001-lower-setuptools-requirements.patch create mode 100644 meta-python/recipes-devtools/python/python3-django-4.2.29/0001-lower-setuptools-requirements.patch delete mode 100644 meta-python/recipes-devtools/python/python3-django_4.2.28.bb create mode 100644 meta-python/recipes-devtools/python/python3-django_4.2.29.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-django-4.2.28/0001-lower-setuptools-requirements.patch b/meta-python/recipes-devtools/python/python3-django-4.2.28/0001-lower-setuptools-requirements.patch deleted file mode 100644 index 5f6707467b..0000000000 --- a/meta-python/recipes-devtools/python/python3-django-4.2.28/0001-lower-setuptools-requirements.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 10ddc1ee660ed5ee4d9aa21f751eb07a1b260b6c Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari -Date: Fri, 23 Jan 2026 13:49:53 +0100 -Subject: [PATCH] lower setuptools requirements - -Scarthgap ships with version 69.1.1 - adjust the requirements for that. - -Upstream-Status: Inappropriate [specific to OE LTS versions] -Signed-off-by: Gyorgy Sarvari ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 4635d0e..319b261 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,6 +1,6 @@ - [build-system] - requires = [ -- "setuptools>=75.8.1; python_version >= '3.9'", -+ "setuptools>=69.0.0; python_version >= '3.9'", - "setuptools<75.4.0; python_version < '3.9'", - ] - build-backend = "setuptools.build_meta" diff --git a/meta-python/recipes-devtools/python/python3-django-4.2.29/0001-lower-setuptools-requirements.patch b/meta-python/recipes-devtools/python/python3-django-4.2.29/0001-lower-setuptools-requirements.patch new file mode 100644 index 0000000000..5f6707467b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django-4.2.29/0001-lower-setuptools-requirements.patch @@ -0,0 +1,25 @@ +From 10ddc1ee660ed5ee4d9aa21f751eb07a1b260b6c Mon Sep 17 00:00:00 2001 +From: Gyorgy Sarvari +Date: Fri, 23 Jan 2026 13:49:53 +0100 +Subject: [PATCH] lower setuptools requirements + +Scarthgap ships with version 69.1.1 - adjust the requirements for that. + +Upstream-Status: Inappropriate [specific to OE LTS versions] +Signed-off-by: Gyorgy Sarvari +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 4635d0e..319b261 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,6 +1,6 @@ + [build-system] + requires = [ +- "setuptools>=75.8.1; python_version >= '3.9'", ++ "setuptools>=69.0.0; python_version >= '3.9'", + "setuptools<75.4.0; python_version < '3.9'", + ] + build-backend = "setuptools.build_meta" diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.28.bb b/meta-python/recipes-devtools/python/python3-django_4.2.28.bb deleted file mode 100644 index 694a0144a7..0000000000 --- a/meta-python/recipes-devtools/python/python3-django_4.2.28.bb +++ /dev/null @@ -1,17 +0,0 @@ -require python-django.inc -inherit python_setuptools_build_meta - -SRC_URI += "file://0001-lower-setuptools-requirements.patch" -SRC_URI[sha256sum] = "a4b9cd881991add394cafa8bb3b11ad1742d1e1470ba99c3ef53dc540316ccfe" - -RDEPENDS:${PN} += "\ - python3-sqlparse \ - python3-asgiref \ -" - -PYPI_PACKAGE = "django" - -# 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.%" can be added to local.conf -DEFAULT_PREFERENCE = "-1" diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.29.bb b/meta-python/recipes-devtools/python/python3-django_4.2.29.bb new file mode 100644 index 0000000000..c8d2c17589 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django_4.2.29.bb @@ -0,0 +1,17 @@ +require python-django.inc +inherit python_setuptools_build_meta + +SRC_URI += "file://0001-lower-setuptools-requirements.patch" +SRC_URI[sha256sum] = "86d91bc8086569c8d08f9c55888b583a921ac1f95ed3bdc7d5659d4709542014" + +RDEPENDS:${PN} += "\ + python3-sqlparse \ + python3-asgiref \ +" + +PYPI_PACKAGE = "django" + +# 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.%" can be added to local.conf +DEFAULT_PREFERENCE = "-1" -- cgit v1.2.3-54-g00ecf