diff --git a/python-yarl.changes b/python-yarl.changes index 1661bd5..1326de8 100644 --- a/python-yarl.changes +++ b/python-yarl.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 2 10:41:59 UTC 2023 - Matej Cepl + +- Refreshed support-python-311.patch: with fix + of CVE-2023-24329 (bsc#1208471), the test + test_url_parsing.TestScheme.test_not_a_scheme2 fails on all + openSUSE/SLE Python interpreters. + ------------------------------------------------------------------- Mon Jan 9 04:17:48 UTC 2023 - Steve Kowalik diff --git a/support-python-311.patch b/support-python-311.patch index ddd3c0c..99e605c 100644 --- a/support-python-311.patch +++ b/support-python-311.patch @@ -1,14 +1,17 @@ +--- + tests/test_url_parsing.py | 3 +++ + 1 file changed, 3 insertions(+) + Index: yarl-1.8.2/tests/test_url_parsing.py =================================================================== --- yarl-1.8.2.orig/tests/test_url_parsing.py +++ yarl-1.8.2/tests/test_url_parsing.py -@@ -72,6 +72,10 @@ class TestScheme: +@@ -72,6 +72,9 @@ class TestScheme: assert u.query_string == "" assert u.fragment == "" -+ @pytest.mark.skipif( -+ sys.version_info >= (3, 11), -+ reason="Fails with Python 3.11+" ++ @pytest.mark.skip( ++ reason="Fails on Pythons with fixed CVE-2023-24329" + ) def test_not_a_scheme2(self): u = URL("37signals:book")