Skip to contentSkip to conversation

python-django: bump version to 2.1.1

PATCH New Adam Duskett 3 participants 3 messages Sep 21, 2018 – Sep 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-django: bump version to 2.1.1

Tested with python3.7
Fixes http://autobuild.buildroot.net/results/7ea/7ea58b0909ea1871b3735f8671686ce0eece2e7c/build-end.log

---
 package/python-django/python-django.hash | 7 ++++---
 package/python-django/python-django.mk   | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)
package/python-django/python-django.hash +4 -3
index bc7aed9479..c472e69500 100644
@@ -1,3 +1,4 @@
-# From https://www.djangoproject.com/m/pgp/Django-1.11.15.checksum.txt
-sha256	b18235d82426f09733d2de9910cee975cf52ff05e5f836681eb957d105a05a40  Django-1.11.15.tar.gz
-sha256	b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669  LICENSE
+# # From https://pypi.org/pypi/Django/json
+md5 06e7c47864e0a38cd99ddabb152b9e9b Django-2.1.1.tar.gz
+sha256  e1cc1cd6b658aa4e052f5f2b148bfda08091d7c3558529708342e37e4e33f72c  Django-2.1.1.tar.gz
+sha256  b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669  LICENSE
package/python-django/python-django.mk +2 -2
index ae604dbc97..151f5d86c2 100644
@@ -4,10 +4,10 @@
 #
 ################################################################################
 
-PYTHON_DJANGO_VERSION = 1.11.15
+PYTHON_DJANGO_VERSION = 2.1.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/43/b5/b44286e56a5211d37b4058dcd5e62835afa5ce5aa6a38b56bd04c0d01cbc
+PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/14/c8/b6f5c67cf34ae7586258af110e53657da671325b146fcc67ac64a4daace5
 PYTHON_DJANGO_LICENSE = BSD-3-Clause
 PYTHON_DJANGO_LICENSE_FILES = LICENSE
 PYTHON_DJANGO_SETUP_TYPE = setuptools
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 python-django: bump version to 2.1.1

Hello,

I don't use django regularly, but it seems django needs pytz (
https://github.com/django/django/blob/2.1.1/setup.py).
Moreover, django has dropped support in python2 since 2.0 (
https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django),
so I guess the definition in Config.in should be changed to depend on BR2_PACKAGE_PYTHON3.

Asaf.

Quoted 51 lines · Adam Duskett

Tested with python3.7
Fixes
http://autobuild.buildroot.net/results/7ea/7ea58b0909ea1871b3735f8671686ce0eece2e7c/build-end.log

---
 package/python-django/python-django.hash | 7 ++++---
 package/python-django/python-django.mk   | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)
package/python-django/python-django.hash +0 -2
index bc7aed9479..c472e69500 100644
@@ -1,3 +1,4 @@
-# From https://www.djangoproject.com/m/pgp/Django-1.11.15.checksum.txt
-sha256 b18235d82426f09733d2de9910cee975cf52ff05e5f836681eb957d105a05a40

Django-1.11.15.tar.gz
-sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE

package/python-django/python-django.hash +3 -0
+# # From https://pypi.org/pypi/Django/json
+md5 06e7c47864e0a38cd99ddabb152b9e9b Django-2.1.1.tar.gz
+sha256  e1cc1cd6b658aa4e052f5f2b148bfda08091d7c3558529708342e37e4e33f72c

Django-2.1.1.tar.gz
+sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE

package/python-django/python-django.mk +1 -2
index ae604dbc97..151f5d86c2 100644
@@ -4,10 +4,10 @@
 #
 
 ################################################################################
 
-PYTHON_DJANGO_VERSION = 1.11.15
+PYTHON_DJANGO_VERSION = 2.1.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/43/b5/b44286e56a5211d37b4058dcd5e62835afa5ce5aa6a38b56bd04c0d01cbc
+PYTHON_DJANGO_SITE =
https://files.pythonhosted.org/packages/14/c8/b6f5c67cf34ae7586258af110e53657da671325b146fcc67ac64a4daace5
PYTHON_DJANGO_LICENSE = BSD-3-Clause
PYTHON_DJANGO_LICENSE_FILES = LICENSE
PYTHON_DJANGO_SETUP_TYPE = setuptools
--
2.17.1

Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180921/8e17de06/attachment.html>

#2 lore raw

PATCH 1/1 python-django: bump version to 2.1.1

Hello,

Quoted 6 lines · Asaf Kahlon

I don't use django regularly, but it seems django needs pytz (
https://github.com/django/django/blob/2.1.1/setup.py).
Moreover, django has dropped support in python2 since 2.0 (
https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django),
so I guess the definition in Config.in should be changed to depend on BR2_PACKAGE_PYTHON3.

Thanks Asaf for this review, much appreciated.

Adam: I have marked your patch as Changes Requested in patchwork. Could you send an updated version that takes into account the comments made by Asaf ?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com