diff options
| author | Jason M. Bills <jason.m.bills@linux.intel.com> | 2021-05-24 22:35:24 +0300 |
|---|---|---|
| committer | Jason M. Bills <jason.m.bills@linux.intel.com> | 2021-05-24 22:35:24 +0300 |
| commit | 0e0df451ae365f09d5c0c766b253f23de26901f2 (patch) | |
| tree | db4d7d3ce85e02ee01ad58a86ede02ac876aae77 /meta-openembedded/meta-python/recipes-devtools/python/python3-requests | |
| parent | e370fd750e2821620ec427f26f8efab0069824ff (diff) | |
| parent | 7e10dee74964afa47859704886128dd256acf854 (diff) | |
| download | openbmc-0e0df451ae365f09d5c0c766b253f23de26901f2.tar.xz | |
Merge tag '0.52' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into update
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-requests')
| -rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python3-requests/setup.py-Support-idna-version-3.1.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests/setup.py-Support-idna-version-3.1.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests/setup.py-Support-idna-version-3.1.patch new file mode 100644 index 000000000..26332249d --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests/setup.py-Support-idna-version-3.1.patch @@ -0,0 +1,40 @@ +From fc45beed40a86c8fc38fc430765c1c5d2c9961c2 Mon Sep 17 00:00:00 2001 +From: Fabio Berton <fabio.berton@ossystems.com.br> +Date: Thu, 4 Mar 2021 09:26:48 -0300 +Subject: [PATCH] setup.py: Support idna version 3.1 +Organization: O.S. Systems Software LTDA. + +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. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 7ba4b2a2..9d3b973e 100755 +--- a/setup.py ++++ b/setup.py +@@ -43,7 +43,7 @@ packages = ['requests'] + + requires = [ + 'chardet>=3.0.2,<5', +- 'idna>=2.5,<3', ++ 'idna>=2.5,<3.2', + 'urllib3>=1.21.1,<1.27', + 'certifi>=2017.4.17' + +-- +2.30.1 + |
