Accepting request 1082498 from system:homeautomation:home-assistant:unstable

- update to version 1.9.1
  * Marked tests that fail on older Python patch releases 
   (< 3.7.10, < 3.8.8 and < 3.9.2) as expected to fail due to missing
    a security fix for CVE-2021-23336. ((#850)_)

OBS-URL: https://build.opensuse.org/request/show/1082498
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=48
This commit is contained in:
Daniel Garcia 2023-04-25 11:40:43 +00:00 committed by Git OBS Bridge
parent e2b2c90226
commit d57000bafb
5 changed files with 12 additions and 24 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Apr 24 09:13:21 UTC 2023 - Adrian Schröter <adrian@suse.de>
- update to version 1.9.1
* Marked tests that fail on older Python patch releases
(< 3.7.10, < 3.8.8 and < 3.9.2) as expected to fail due to missing
a security fix for CVE-2021-23336. ((#850)_)
-------------------------------------------------------------------
Fri Apr 21 12:39:08 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -18,14 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-yarl
Version: 1.8.2
Version: 1.9.1
Release: 0
Summary: Yet another URL library
License: Apache-2.0
URL: https://github.com/aio-libs/yarl/
Source: https://files.pythonhosted.org/packages/source/y/yarl/yarl-%{version}.tar.gz
# PATCH-FIX-OPENSUSE Workaround until gh#aio-libs/yarl#803 is fixed
Patch0: support-python-311.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module idna >= 2.0}

View File

@ -1,18 +0,0 @@
---
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,9 @@ class TestScheme:
assert u.query_string == ""
assert u.fragment == ""
+ @pytest.mark.skip(
+ reason="Fails on Pythons with fixed CVE-2023-24329"
+ )
def test_not_a_scheme2(self):
u = URL("37signals:book")
assert u.scheme == "37signals"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49d43402c6e3013ad0978602bf6bf5328535c48d192304b91b97a3c6790b1562
size 172341

3
yarl-1.9.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ce0bcab7ec759062c818d73837644cde567ab8aa1e0d6c45db38dfb7c284441
size 184455