* [Buildroot] [PATCH] package/python-django: bump to 5.1
@ 2024-08-22 11:33 Marcus Hoffmann via buildroot
2024-08-23 17:32 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Marcus Hoffmann via buildroot @ 2024-08-22 11:33 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Oli Vogt, Asaf Kahlon
Release notes: https://docs.djangoproject.com/en/5.1/releases/5.1/
We need to add --skip-dependency-check to build options as django
currently pins setuptools <69.3 [1] and buildroot uses a newer version.
The Django pin is likely to not be affected by PEP-625 [2] handling,
which was added to setuptools 69.3 [3][4]. We don't really care about
the sdist name changing for django though, so we can use a newer version
of setuptools as well.
Django has been confirmed to still install and work correctly by running
the runtime test.
[1] https://github.com/django/django/commit/4686541691dbe986f58ac87630c3b7a04db4ff93
[2] https://peps.python.org/pep-0625/
[3] https://github.com/pypa/setuptools/issues/3593
[4] https://github.com/pypa/setuptools/blob/main/NEWS.rst#v6930
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
---
package/python-django/python-django.hash | 4 ++--
package/python-django/python-django.mk | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/package/python-django/python-django.hash b/package/python-django/python-django.hash
index a5a8c7426d..8ddc221973 100644
--- a/package/python-django/python-django.hash
+++ b/package/python-django/python-django.hash
@@ -1,5 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/django/json
-md5 fb167eef987a98421cad62036868a1ca Django-5.0.8.tar.gz
-sha256 ebe859c9da6fead9c9ee6dbfa4943b04f41342f4cea2c4d8c978ef0d10694f2b Django-5.0.8.tar.gz
+md5 77f44885427c09458e1abd0b48e09517 Django-5.1.tar.gz
+sha256 848a5980e8efb76eea70872fb0e4bc5e371619c70fffbe48e3e1b50b2c09455d Django-5.1.tar.gz
# Locally computed sha256 checksums
sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE
diff --git a/package/python-django/python-django.mk b/package/python-django/python-django.mk
index 2c5c20ee4d..de5d2a9d06 100644
--- a/package/python-django/python-django.mk
+++ b/package/python-django/python-django.mk
@@ -4,14 +4,15 @@
#
################################################################################
-PYTHON_DJANGO_VERSION = 5.0.8
+PYTHON_DJANGO_VERSION = 5.1
PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz
# The official Django site has an unpractical URL
-PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/79/1c/55733805bb735e26fee0430045efdb61df6fd704b6aebf2154875ef9e6a9
+PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/1e/0c/d854d25bb74a8a3b41e642bbd27fe6af12fadd0edfd07d487809cf0ef719
PYTHON_DJANGO_LICENSE = BSD-3-Clause
PYTHON_DJANGO_LICENSE_FILES = LICENSE
PYTHON_DJANGO_CPE_ID_VENDOR = djangoproject
PYTHON_DJANGO_CPE_ID_PRODUCT = django
PYTHON_DJANGO_SETUP_TYPE = setuptools
+PYTHON_DJANGO_BUILD_OPTS = --skip-dependency-check
$(eval $(python-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] package/python-django: bump to 5.1
2024-08-22 11:33 [Buildroot] [PATCH] package/python-django: bump to 5.1 Marcus Hoffmann via buildroot
@ 2024-08-23 17:32 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-23 17:32 UTC (permalink / raw)
To: Marcus Hoffmann via buildroot
Cc: James Hilliard, Marcus Hoffmann, Asaf Kahlon, Oli Vogt
On Thu, 22 Aug 2024 13:33:29 +0200
Marcus Hoffmann via buildroot <buildroot@buildroot.org> wrote:
> Release notes: https://docs.djangoproject.com/en/5.1/releases/5.1/
>
> We need to add --skip-dependency-check to build options as django
> currently pins setuptools <69.3 [1] and buildroot uses a newer version.
>
> The Django pin is likely to not be affected by PEP-625 [2] handling,
> which was added to setuptools 69.3 [3][4]. We don't really care about
> the sdist name changing for django though, so we can use a newer version
> of setuptools as well.
>
> Django has been confirmed to still install and work correctly by running
> the runtime test.
>
> [1] https://github.com/django/django/commit/4686541691dbe986f58ac87630c3b7a04db4ff93
> [2] https://peps.python.org/pep-0625/
> [3] https://github.com/pypa/setuptools/issues/3593
> [4] https://github.com/pypa/setuptools/blob/main/NEWS.rst#v6930
>
> Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
> ---
> package/python-django/python-django.hash | 4 ++--
> package/python-django/python-django.mk | 5 +++--
> 2 files changed, 5 insertions(+), 4 deletions(-)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-23 17:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-22 11:33 [Buildroot] [PATCH] package/python-django: bump to 5.1 Marcus Hoffmann via buildroot
2024-08-23 17:32 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.