Skip to contentSkip to conversation

python-django: update package to 1.8.9

PATCH In review Armin Kuster 2 participants 4 messages Feb 4, 2016 – Feb 5, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-django: update package to 1.8.9

Update to a LTS version which might EOL in April 2018

The following security fixes are included;
CVE-2015-8213
CVE-2015-5964
CVE-2015-5963
CVE-2015-5145
CVE-2015-5144
CVE-2015-5143
CVE-2015-3982
CVE-2015-2317
CVE-2015-2316
CVE-2015-2241

LIC_FILES_CHKSUM changed do to:
https://github.com/django/django/commit/1dae4ac1778f04805c0ed62c8debb13b281ba02b
* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.

---
 .../python/{python-django_1.6.10.bb => python-django_1.8.8.bb}    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python-django_1.6.10.bb => python-django_1.8.8.bb} (60%)
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +4 -4
similarity index 60%
rename from meta-python/recipes-devtools/python/python-django_1.6.10.bb
rename to meta-python/recipes-devtools/python/python-django_1.8.8.bb
index a7ca803..5e4c435 100644
@@ -2,18 +2,18 @@ SUMMARY = "A high-level Python Web framework"
 HOMEPAGE = "http://www.djangoproject.com/"
 SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=fa8608154dcdd4029ae653131d4b7365"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
 
 SRCNAME = "Django"
 
 SRC_URI = "https://pypi.python.org/packages/source/D/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "d7123f14ac19ae001be02ed841937b91"
-SRC_URI[sha256sum] = "54eb59ce785401c7d1fdeed245efce597e90f811d6a20f6b5c6931c0049d63a6"
+SRC_URI[md5sum] = "08ecf83b7e9d064ed7e3981ddc3a8a15"
+SRC_URI[sha256sum] = "8255242fa0d9e0bf331259a6bdb81364933acbe8863291661558ffdb2fc9ed70"
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit distutils
+inherit setuptools
 
 FILES_${PN} += "${datadir}/django"
 
Signature · 1 line
2.3.5
#1 lore raw
Quoted 15 lines · Armin Kuster

Update to a LTS version which might EOL in April 2018

The following security fixes are included;
CVE-2015-8213
CVE-2015-5964
CVE-2015-5963
CVE-2015-5145
CVE-2015-5144
CVE-2015-5143
CVE-2015-3982
CVE-2015-2317
CVE-2015-2316
CVE-2015-2241

Quoted 2 lines

LIC_FILES_CHKSUM changed do to:

https://github.com/django/django/commit/1dae4ac1778f04805c0ed62c8debb13b281ba02b

Quoted 6 lines

* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.

Looks good, but can we also keep 1.6? Bitbake uses 1.6 for toaster. Alternatively is updating bitbake's dependencies on the roadmap?

Quoted 2 lines
---
 .../python/{python-django_1.6.10.bb => python-django_1.8.8.bb}    | 8

++++----

Quoted 2 lines
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python-django_1.6.10.bb =>

python-django_1.8.8.bb} (60%)

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-django_1.8.8.bb

Quoted 7 lines

similarity index 60%
rename from meta-python/recipes-devtools/python/python-django_1.6.10.bb rename to meta-python/recipes-devtools/python/python-django_1.8.8.bb index a7ca803..5e4c435 100644

meta-python/recipes-devtools/python/python-django_1.8.8.bb SUMMARY = "A high-level Python Web framework" · line 9

Quoted 9 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +1 -1
@@ -2,18 +2,18 @@ SUMMARY = "A high-level Python Web framework"
 HOMEPAGE = "http://www.djangoproject.com/"
 SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=fa8608154dcdd4029ae653131d4b7365"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
 
 SRCNAME = "Django"
 
 SRC_URI = "

https://pypi.python.org/packages/source/D/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
"

meta-python/recipes-devtools/python/python-django_1.8.8.bb SUMMARY = "A high-level Python Web framework" · line 11

Quoted 3 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +0 -2
-SRC_URI[md5sum] = "d7123f14ac19ae001be02ed841937b91"
-SRC_URI[sha256sum] =

"54eb59ce785401c7d1fdeed245efce597e90f811d6a20f6b5c6931c0049d63a6"

meta-python/recipes-devtools/python/python-django_1.8.8.bb SUMMARY = "A high-level Python Web framework" · line 11

Quoted 2 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +2 -0
+SRC_URI[md5sum] = "08ecf83b7e9d064ed7e3981ddc3a8a15"
+SRC_URI[sha256sum] =

"8255242fa0d9e0bf331259a6bdb81364933acbe8863291661558ffdb2fc9ed70"

Quoted 16 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +1 -2
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit distutils
+inherit setuptools
 
 FILES_${PN} += "${datadir}/django"
 
--

2.3.5

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

author
#2 lore raw
Quoted 24 lines · Dan McGregor
Quoted 15 lines · Armin Kuster

Update to a LTS version which might EOL in April 2018

The following security fixes are included;
CVE-2015-8213
CVE-2015-5964
CVE-2015-5963
CVE-2015-5145
CVE-2015-5144
CVE-2015-5143
CVE-2015-3982
CVE-2015-2317
CVE-2015-2316
CVE-2015-2241

Quoted 2 lines

LIC_FILES_CHKSUM changed do to:

https://github.com/django/django/commit/1dae4ac1778f04805c0ed62c8debb13b281ba02b

Quoted 5 lines

* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.

Quoted 4 lines
Quoted 1 line

Looks good, but can we also keep 1.6? Bitbake uses 1.6 for toaster. Alternatively is updating bitbake's dependencies on the roadmap?

That would mean oe-core has a dependency on meta-openembedded. This seems wrong. BTW the requirements.txt for toaster says "Django>1.8,<1.9" maybe that is a host requirement?

- armin

Quoted 50 lines
Quoted 2 lines
---
 .../python/{python-django_1.6.10.bb => python-django_1.8.8.bb}    | 8

++++----

Quoted 2 lines
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python-django_1.6.10.bb =>

python-django_1.8.8.bb} (60%)

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-python/recipes-devtools/python/python-django_1.8.8.bb

Quoted 7 lines

similarity index 60%
rename from meta-python/recipes-devtools/python/python-django_1.6.10.bb rename to meta-python/recipes-devtools/python/python-django_1.8.8.bb index a7ca803..5e4c435 100644

meta-python/recipes-devtools/python/python-django_1.8.8.bb SUMMARY = "A high-level Python Web framework" · line 9

Quoted 9 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +1 -1
@@ -2,18 +2,18 @@ SUMMARY = "A high-level Python Web framework"
 HOMEPAGE = "http://www.djangoproject.com/"
 SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=fa8608154dcdd4029ae653131d4b7365"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
 
 SRCNAME = "Django"
 
 SRC_URI = "

https://pypi.python.org/packages/source/D/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
"

meta-python/recipes-devtools/python/python-django_1.8.8.bb SUMMARY = "A high-level Python Web framework" · line 11

Quoted 3 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +0 -2
-SRC_URI[md5sum] = "d7123f14ac19ae001be02ed841937b91"
-SRC_URI[sha256sum] =

"54eb59ce785401c7d1fdeed245efce597e90f811d6a20f6b5c6931c0049d63a6"

meta-python/recipes-devtools/python/python-django_1.8.8.bb SUMMARY = "A high-level Python Web framework" · line 11

Quoted 2 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +2 -0
+SRC_URI[md5sum] = "08ecf83b7e9d064ed7e3981ddc3a8a15"
+SRC_URI[sha256sum] =

"8255242fa0d9e0bf331259a6bdb81364933acbe8863291661558ffdb2fc9ed70"

Quoted 16 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +1 -2
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit distutils
+inherit setuptools
 
 FILES_${PN} += "${datadir}/django"
 
--

2.3.5

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 20 lines · On 5 Feb 2016 5:29 a.m., "akuster808" <[email protected]> wrote:
Quoted 16 lines · Dan McGregor
Quoted 15 lines · Armin Kuster

Update to a LTS version which might EOL in April 2018

The following security fixes are included;
CVE-2015-8213
CVE-2015-5964
CVE-2015-5963
CVE-2015-5145
CVE-2015-5144
CVE-2015-5143
CVE-2015-3982
CVE-2015-2317
CVE-2015-2316
CVE-2015-2241

Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

LIC_FILES_CHKSUM changed do to:

https://github.com/django/django/commit/1dae4ac1778f04805c0ed62c8debb13b281ba02b

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

* Removed trailing whitespace.
* Added newline to EOF if missing.
* Removed blank lines at EOF.
* Removed some stray tabs.

Quoted 9 lines
Quoted 4 lines
Quoted 1 line

Looks good, but can we also keep 1.6? Bitbake uses 1.6 for toaster. Alternatively is updating bitbake's dependencies on the roadmap?

That would mean oe-core has a dependency on meta-openembedded. This seems wrong. BTW the requirements.txt for toaster says "Django>1.8,<1.9" maybe that is a host requirement?

Indeed you are correct. I only looked at jethro. Master this is good.

OE-core still wouldn't have a dependency on meta-openembedded because toaster is optional. As it stands to make toaster work on jethro one needs pip.

This is of course talking about a self-hosted openembedded build machine. (oe-core's build appliance for example)

Quoted 10 lines

- armin

Quoted 8 lines
Quoted 2 lines
---
 .../python/{python-django_1.6.10.bb => python-django_1.8.8.bb}    | 8

++++----

Quoted 2 lines
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python-django_1.6.10.bb =>

python-django_1.8.8.bb} (60%)

Review

Quoted 2 lines
(quoted diff) +0 -0

python-django_1.6.10.bb

Quoted 12 lines
Quoted 12 lines

b/meta-python/recipes-devtools/python/python-django_1.8.8.bb

meta-python/recipes-devtools/python/python-django_1.8.8.bb SUMMARY = "A high-level Python Web framework" · line 5

Quoted 11 lines

similarity index 60%
rename from meta-python/recipes-devtools/python/python-django_1.6.10.bb rename to meta-python/recipes-devtools/python/python-django_1.8.8.bb index a7ca803..5e4c435 100644

meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +0 -1
@@ -2,18 +2,18 @@ SUMMARY = "A high-level Python Web framework"
 HOMEPAGE = "http://www.djangoproject.com/"
 SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM =

"file://LICENSE;md5=fa8608154dcdd4029ae653131d4b7365"

Quoted 1 line
Quoted 1 line

meta-python/recipes-devtools/python/python-django_1.8.8.bb SUMMARY = "A high-level Python Web framework" · line 5

Quoted 1 line
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +1 -0
+LIC_FILES_CHKSUM =

"file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"

Quoted 5 lines
Quoted 5 lines

meta-python/recipes-devtools/python/python-django_1.8.8.bb SUMMARY = "A high-level Python Web framework"

Quoted 4 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +0 -0
 SRCNAME = "Django"
 
 SRC_URI = "

https://pypi.python.org/packages/source/D/${SRCNAME}/${SRCNAME}-${PV}.tar.gz

Quoted 29 lines
Quoted 16 lines

"

meta-python/recipes-devtools/python/python-django_1.8.8.bb SUMMARY = "A high-level Python Web framework" · line 10

Quoted 3 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +0 -2
-SRC_URI[md5sum] = "d7123f14ac19ae001be02ed841937b91"
-SRC_URI[sha256sum] =

"54eb59ce785401c7d1fdeed245efce597e90f811d6a20f6b5c6931c0049d63a6"

meta-python/recipes-devtools/python/python-django_1.8.8.bb SUMMARY = "A high-level Python Web framework" · line 10

Quoted 2 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +2 -0
+SRC_URI[md5sum] = "08ecf83b7e9d064ed7e3981ddc3a8a15"
+SRC_URI[sha256sum] =

"8255242fa0d9e0bf331259a6bdb81364933acbe8863291661558ffdb2fc9ed70"

Quoted 8 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +1 -1
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit distutils
+inherit setuptools
 
 FILES_${PN} += "${datadir}/django"
 
Quoted 8 lines
Quoted 8 lines
meta-python/recipes-devtools/python/python-django_1.8.8.bb renamed from meta-python/recipes-devtools/python/python-django_1.6.10.bb +0 -1
--

2.3.5

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel