diff mbox series

[meta-python,1/2] python3-django: Upgrade 5.2 -> 5.2.6

Message ID 20251007044608.1006175-1-soumya.sambu@windriver.com
State Under Review
Headers show
Series [meta-python,1/2] python3-django: Upgrade 5.2 -> 5.2.6 | expand

Commit Message

ssambu Oct. 7, 2025, 4:46 a.m. UTC
From: Soumya Sambu <soumya.sambu@windriver.com>

Release notes:
https://docs.djangoproject.com/en/5.2/releases/5.2.6/
https://docs.djangoproject.com/en/5.2/releases/5.2.5/
https://docs.djangoproject.com/en/5.2/releases/5.2.4/
https://docs.djangoproject.com/en/5.2/releases/5.2.3/
https://docs.djangoproject.com/en/5.2/releases/5.2.2/
https://docs.djangoproject.com/en/5.2/releases/5.2.1/

Drop patch 0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch:
already present in the upgraded version.

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
---
 .../python/python3-django.inc                 |  2 +-
 ...ated-setuptools-to-normalize-package.patch | 27 -------------------
 .../python/python3-django_5.2.6.bb            |  9 +++++++
 .../python/python3-django_5.2.bb              | 13 ---------
 4 files changed, 10 insertions(+), 41 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-django/0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-django_5.2.6.bb
 delete mode 100644 meta-python/recipes-devtools/python/python3-django_5.2.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-django.inc b/meta-python/recipes-devtools/python/python3-django.inc
index cde32be477..c6475d2079 100644
--- a/meta-python/recipes-devtools/python/python3-django.inc
+++ b/meta-python/recipes-devtools/python/python3-django.inc
@@ -3,7 +3,7 @@  HOMEPAGE = "https://www.djangoproject.com/"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
 
-PYPI_PACKAGE = "Django"
+PYPI_PACKAGE = "django"
 UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
 
 inherit pypi
diff --git a/meta-python/recipes-devtools/python/python3-django/0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch b/meta-python/recipes-devtools/python/python3-django/0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch
deleted file mode 100644
index 4e28f59d8a..0000000000
--- a/meta-python/recipes-devtools/python/python3-django/0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch
+++ /dev/null
@@ -1,27 +0,0 @@ 
-From 3ae049b26b995c650c41ef918d5f60beed52b4ba Mon Sep 17 00:00:00 2001
-From: Nick Pope <nick@nickpope.me.uk>
-Date: Fri, 6 Dec 2024 18:32:39 +0000
-Subject: [PATCH] Fixed #35980 -- Updated setuptools to normalize package names
- in built artifacts.
-
-Upstream-Status: Backport [https://github.com/django/django/commit/3ae049b26b995c650c41ef918d5f60beed52b4ba]
-
-Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
----
- pyproject.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index f10d15d20d..b9e82334cd 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -1,5 +1,5 @@
- [build-system]
--requires = ["setuptools>=61.0.0,<69.3.0"]
-+requires = ["setuptools>=75.8.1"]
- build-backend = "setuptools.build_meta"
- 
- [project]
--- 
-2.34.1
-
diff --git a/meta-python/recipes-devtools/python/python3-django_5.2.6.bb b/meta-python/recipes-devtools/python/python3-django_5.2.6.bb
new file mode 100644
index 0000000000..644d825705
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-django_5.2.6.bb
@@ -0,0 +1,9 @@ 
+require python3-django.inc
+inherit python_setuptools_build_meta
+
+SRC_URI[sha256sum] = "da5e00372763193d73cecbf71084a3848458cecf4cee36b9a1e8d318d114a87b"
+
+RDEPENDS:${PN} += "\
+    python3-sqlparse \
+    python3-asgiref \
+"
diff --git a/meta-python/recipes-devtools/python/python3-django_5.2.bb b/meta-python/recipes-devtools/python/python3-django_5.2.bb
deleted file mode 100644
index 8a20448e22..0000000000
--- a/meta-python/recipes-devtools/python/python3-django_5.2.bb
+++ /dev/null
@@ -1,13 +0,0 @@ 
-require python3-django.inc
-inherit python_setuptools_build_meta
-
-SRC_URI[sha256sum] = "1a47f7a7a3d43ce64570d350e008d2949abe8c7e21737b351b6a1611277c6d89"
-
-SRC_URI += "\
-           file://0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch \
-"
-
-RDEPENDS:${PN} += "\
-    python3-sqlparse \
-    python3-asgiref \
-"