Commit Graph

2 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
Leon Anavi
3053ff7624 python3-yarl: Upgrade 1.7.0 -> 1.7.2
Upgrade to release 1.7.2:

- Changed call in with_port() to stop reencoding parts of the URL
  that were already encoded.
- Fix 1.7.0 build error

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-11-16 08:25:15 -08:00