From 73dd8a4c83decd475e4c775f8f2b9b2224f17fa0 Mon Sep 17 00:00:00 2001 From: "Qi.Chen@windriver.com" Date: Mon, 14 Dec 2020 09:40:26 +0800 Subject: 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 " Signed-off-by: Chen Qi Signed-off-by: Khem Raj --- .../python/python3-requests_2.24.0.bb | 28 ---------------------- .../python/python3-requests_2.25.0.bb | 25 +++++++++++++++++++ 2 files changed, 25 insertions(+), 28 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-requests_2.24.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-requests_2.25.0.bb diff --git a/meta-python/recipes-devtools/python/python3-requests_2.24.0.bb b/meta-python/recipes-devtools/python/python3-requests_2.24.0.bb deleted file mode 100644 index de9a53584b..0000000000 --- a/meta-python/recipes-devtools/python/python3-requests_2.24.0.bb +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION = "Python HTTP for Humans." -HOMEPAGE = "http://python-requests.org" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=19b6be66ed463d93fa88c29f7860bcd7" - -FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:" - -SRC_URI[md5sum] = "b54bff26a389e5932e8b1c4983a99ce7" -SRC_URI[sha256sum] = "b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b" - -inherit pypi setuptools3 - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-email \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-ndg-httpsclient \ - ${PYTHON_PN}-netserver \ - ${PYTHON_PN}-pyasn1 \ - ${PYTHON_PN}-pyopenssl \ - ${PYTHON_PN}-pysocks \ - ${PYTHON_PN}-urllib3 \ - ${PYTHON_PN}-chardet \ - ${PYTHON_PN}-idna \ -" - -CVE_PRODUCT = "requests" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-requests_2.25.0.bb b/meta-python/recipes-devtools/python/python3-requests_2.25.0.bb new file mode 100644 index 0000000000..5284f95982 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-requests_2.25.0.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Python HTTP for Humans." +HOMEPAGE = "http://python-requests.org" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" + +SRC_URI[sha256sum] = "7f1a0b932f4a60a1a65caa4263921bb7d9ee911957e0ae4a23a6dd08185ad5f8" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-email \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-ndg-httpsclient \ + ${PYTHON_PN}-netserver \ + ${PYTHON_PN}-pyasn1 \ + ${PYTHON_PN}-pyopenssl \ + ${PYTHON_PN}-pysocks \ + ${PYTHON_PN}-urllib3 \ + ${PYTHON_PN}-chardet \ + ${PYTHON_PN}-idna \ +" + +CVE_PRODUCT = "requests" + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg