Commit Graph

5 Commits

Author SHA1 Message Date
Gyorgy Sarvari
fd9bd9dba2 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>
2025-10-20 12:00:28 +02:00
Oleksandr Kravchuk
22486627a4 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>
2021-10-18 09:49:37 -07:00
Trevor Gamblin
eada1065ae python3-yarl: backport fix for test_url_query test
python3-yarl 1.6.3 still tests semicolons as URL separators, but this
test has been removed in master to avoid failures due to upstream Python
no longer supporting them by default. See:

https://bugs.python.org/issue42967
https://github.com/aio-libs/yarl/issues/563

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-04 07:08:13 -07:00
zangrc
cd5f860d2f python3-yarl: Modify ptest output format
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-27 07:48:46 -07:00
Zang Ruochen
64aa85936b python3-yarl: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-20 07:44:29 -07:00