summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-10-19 15:10:46 +0200
committerGyorgy Sarvari <skandigraun@gmail.com>2025-10-20 12:00:28 +0200
commitfd9bd9dba21fd16cc8073288532d4c183c64ffb4 (patch)
tree1eb87fa2d9b25561d10b964f6fb79e16bdf933d8 /meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb
parent6c8ae54fc345fb6249f1cc92ed769d451ddc12b5 (diff)
downloadmeta-openembedded-fd9bd9dba21fd16cc8073288532d4c183c64ffb4.tar.gz
python3-yarl: fix ptests (and make it compatible with current python)
oe-core currently ships with Python 3.10.18. Python 3.10.17 has introduced a change in urlparse library, regarding how brackets are handled by urllib.parse.urlsplit() and urlparse() functions (which makes it more conformant to the specification). This has caused a regression in yarl: some tests have failed, and it also revealed a bug in how yarl treates brackets. This backported patch corrects this behavior, making it compatible once again with the current Python version - and it also allows the the ptests to pass once again. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb b/meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb
index 0867d1cb53..902cace048 100644
--- a/meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb
+++ b/meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e581798a7b985311f29fa3e163ea27ae"
5 5
6SRC_URI[sha256sum] = "45399b46d60c253327a460e99856752009fcee5f5d3c80b2f7c0cae1c38d56dd" 6SRC_URI[sha256sum] = "45399b46d60c253327a460e99856752009fcee5f5d3c80b2f7c0cae1c38d56dd"
7 7
8SRC_URI += "file://run-ptest" 8SRC_URI += "file://run-ptest \
9 file://0001-Correct-square-bracket-handling-in-URL-netloc-882.patch"
9 10
10PYPI_PACKAGE = "yarl" 11PYPI_PACKAGE = "yarl"
11 12