summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2021-10-16 00:55:36 +0200
committerKhem Raj <raj.khem@gmail.com>2021-10-18 09:49:37 -0700
commit22486627a4b016cfcbcf7f02b694a58eb0760505 (patch)
tree93b55a7481c9e2e710c496e229ecd8dcfd8bb3b0 /meta-python/recipes-devtools/python
parentf5335a452714ed90cd1e52a79a961dd60e0ed42a (diff)
downloadmeta-openembedded-22486627a4b016cfcbcf7f02b694a58eb0760505.tar.gz
python3-yarl: update to 1.7.0
License-Update: copyright years updated. Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-yarl/0001-Drop-tests-for-semicolon-as-a-separator.patch45
-rw-r--r--meta-python/recipes-devtools/python/python3-yarl_1.7.0.bb (renamed from meta-python/recipes-devtools/python/python3-yarl_1.6.3.bb)9
2 files changed, 3 insertions, 51 deletions
diff --git a/meta-python/recipes-devtools/python/python3-yarl/0001-Drop-tests-for-semicolon-as-a-separator.patch b/meta-python/recipes-devtools/python/python3-yarl/0001-Drop-tests-for-semicolon-as-a-separator.patch
deleted file mode 100644
index 1a9d5d02d8..0000000000
--- a/meta-python/recipes-devtools/python/python3-yarl/0001-Drop-tests-for-semicolon-as-a-separator.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 47eabc562a8883d757e3cff487c6c6e98def5a21 Mon Sep 17 00:00:00 2001
2From: Andrew Svetlov <andrew.svetlov@gmail.com>
3Date: Fri, 28 May 2021 12:42:17 +0300
4Subject: [PATCH] Drop tests for semicolon as a separator
5
6yarl 1.6.3 ptests check the use of semicolons as separators in URLs,
7which are no longer valid by default in newer versions of Python. This
8patch is in python3-yarl master, but there is no release with it yet, so
9backport it until there is a new release.
10
11For more info, see:
12https://bugs.python.org/issue42967
13https://github.com/aio-libs/yarl/issues/563
14
15Upstream-Status: Backport
16(https://github.com/aio-libs/yarl/commit/47eabc562a8883d757e3cff487c6c6e98def5a21)
17
18Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
19
20---
21 tests/test_url_query.py | 11 -----------
22 1 file changed, 11 deletions(-)
23
24diff --git a/tests/test_url_query.py b/tests/test_url_query.py
25index d2ca640..07f858b 100644
26--- a/tests/test_url_query.py
27+++ b/tests/test_url_query.py
28@@ -60,14 +60,3 @@ def test_ampersand_as_value():
29 u = URL("http://127.0.0.1/?a=1%26b=2")
30 assert len(u.query) == 1
31 assert u.query["a"] == "1&b=2"
32-
33-
34-def test_semicolon_as_separator():
35- u = URL("http://127.0.0.1/?a=1;b=2")
36- assert len(u.query) == 2
37-
38-
39-def test_semicolon_as_value():
40- u = URL("http://127.0.0.1/?a=1%3Bb=2")
41- assert len(u.query) == 1
42- assert u.query["a"] == "1;b=2"
43--
442.31.1
45
diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.6.3.bb b/meta-python/recipes-devtools/python/python3-yarl_1.7.0.bb
index 7bab771f7f..acb4b4ac20 100644
--- a/meta-python/recipes-devtools/python/python3-yarl_1.6.3.bb
+++ b/meta-python/recipes-devtools/python/python3-yarl_1.7.0.bb
@@ -1,14 +1,11 @@
1SUMMARY = "The module provides handy URL class for url parsing and changing" 1SUMMARY = "The module provides handy URL class for url parsing and changing"
2HOMEPAGE = "https://github.com/aio-libs/yarl/" 2HOMEPAGE = "https://github.com/aio-libs/yarl/"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=b334fc90d45983db318f54fd5bf6c90b" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=e581798a7b985311f29fa3e163ea27ae"
5 5
6SRC_URI[sha256sum] = "8a9066529240171b68893d60dca86a763eae2139dd42f42106b03cf4b426bf10" 6SRC_URI[sha256sum] = "8e7ebaf62e19c2feb097ffb7c94deb0f0c9fab52590784c8cd679d30ab009162"
7 7
8SRC_URI += " \ 8SRC_URI += "file://run-ptest"
9 file://run-ptest \
10 file://0001-Drop-tests-for-semicolon-as-a-separator.patch \
11"
12 9
13PYPI_PACKAGE = "yarl" 10PYPI_PACKAGE = "yarl"
14 11