Skip to contentSkip to conversation

python3-requests: upgrade to 2.25.0

PATCH In review Chen Qi 2 participants 2 messages Dec 14, 2020 – Dec 15, 2020

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 python3-requests: upgrade to 2.25.0

The License checksum changes but the license remains the same, as the change is only about copying apache2 license contents there.

This upgrade also solves the following issue on target.

root@qemux86-64:~# python3 -c 'import requests'
/usr/lib64/python3.9/site-packages/requests/_init_.py:89: RequestsDependencyWarning: urllib3 (1.26.2) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
---
 ...thon3-requests_2.24.0.bb => python3-requests_2.25.0.bb} | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-requests_2.24.0.bb => python3-requests_2.25.0.bb} (64%)
meta-python/recipes-devtools/python/python3-requests_2.25.0.bb renamed from meta-python/recipes-devtools/python/python3-requests_2.24.0.bb +2 -5
similarity index 64%
rename from meta-python/recipes-devtools/python/python3-requests_2.24.0.bb
rename to meta-python/recipes-devtools/python/python3-requests_2.25.0.bb
index de9a53584..5284f9598 100644
@@ -1,12 +1,9 @@
 DESCRIPTION = "Python HTTP for Humans."
 HOMEPAGE = "http://python-requests.org"
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=19b6be66ed463d93fa88c29f7860bcd7"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
 
-FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:"
-
-SRC_URI[md5sum] = "b54bff26a389e5932e8b1c4983a99ce7"
-SRC_URI[sha256sum] = "b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b"
+SRC_URI[sha256sum] = "7f1a0b932f4a60a1a65caa4263921bb7d9ee911957e0ae4a23a6dd08185ad5f8"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Chen Qi

The License checksum changes but the license remains the same, as the change is only about copying apache2 license contents there.

This upgrade also solves the following issue on target.

root@qemux86-64:~# python3 -c 'import requests'
/usr/lib64/python3.9/site-packages/requests/_init_.py:89: RequestsDependencyWarning: urllib3 (1.26.2) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Quoted 30 lines
---
  ...thon3-requests_2.24.0.bb => python3-requests_2.25.0.bb} | 7 ++-----
  1 file changed, 2 insertions(+), 5 deletions(-)

rename meta-python/recipes-devtools/python/{python3-requests_2.24.0.bb => python3-requests_2.25.0.bb} (64%)

meta-python/recipes-devtools/python/python3-requests_2.25.0.bb renamed from meta-python/recipes-devtools/python/python3-requests_2.24.0.bb +2 -5
similarity index 64%
rename from meta-python/recipes-devtools/python/python3-requests_2.24.0.bb
rename to meta-python/recipes-devtools/python/python3-requests_2.25.0.bb
index de9a53584..5284f9598 100644
@@ -1,12 +1,9 @@
  DESCRIPTION = "Python HTTP for Humans."
  HOMEPAGE = "http://python-requests.org"
  LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=19b6be66ed463d93fa88c29f7860bcd7"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
 
-FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:"
-
-SRC_URI[md5sum] = "b54bff26a389e5932e8b1c4983a99ce7"
-SRC_URI[sha256sum] = "b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b"
+SRC_URI[sha256sum] = "7f1a0b932f4a60a1a65caa4263921bb7d9ee911957e0ae4a23a6dd08185ad5f8"
 
  inherit pypi setuptools3