- 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=44
This commit is contained in:
parent
660d2d72dd
commit
3310d0f37d
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 2 10:41:59 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- 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 <steven.kowalik@suse.com>
|
||||
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user