From 30335523547f262e550783ed699c273c916ec2d7 Mon Sep 17 00:00:00 2001 From: Fabio Berton Date: Thu, 4 Mar 2021 17:45:01 -0300 Subject: python3-requests: Support idna version 3.1 Change idna required version to use python3-idna recipe that currently is on version 3.1. Without this change python-request doesn't work as the idna version doesn't match the required versions. When bump python-request recipe, verify if the upstream project bumped the idna version and drop this patch. As this recipe was tested with python3-idna_3.1 don't allow higher versions. Signed-off-by: Fabio Berton Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-requests_2.25.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-python/recipes-devtools/python/python3-requests_2.25.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-requests_2.25.1.bb b/meta-python/recipes-devtools/python/python3-requests_2.25.1.bb index 6af836543b..cea8fd5178 100644 --- a/meta-python/recipes-devtools/python/python3-requests_2.25.1.bb +++ b/meta-python/recipes-devtools/python/python3-requests_2.25.1.bb @@ -3,6 +3,8 @@ HOMEPAGE = "http://python-requests.org" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" +SRC_URI += "file://setup.py-Support-idna-version-3.1.patch" + SRC_URI[sha256sum] = "27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804" inherit pypi setuptools3 -- cgit v1.2.3-54-g00ecf