Accepting request 1082898 from devel:languages:python

- Update to version 1.9.2
  Fix regression with truediv and absolute URLs with empty paths
  causing the raw path to lack the leading /. ((#854)_)
- 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)_)
- Delete support-python-311.patch, not needed anymore

OBS-URL: https://build.opensuse.org/request/show/1082898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2023-04-27 17:59:04 +00:00 committed by Git OBS Bridge
commit 4972eb7aab
5 changed files with 20 additions and 24 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Apr 26 07:02:00 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Update to version 1.9.2
Fix regression with truediv and absolute URLs with empty paths
causing the raw path to lack the leading /. ((#854)_)
-------------------------------------------------------------------
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)_)
- Delete support-python-311.patch, not needed anymore
-------------------------------------------------------------------
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.2
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

BIN
yarl-1.9.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.