Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-yarl for openSUSE:Factory 
checked in at 2023-01-10 14:58:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-yarl (Old)
 and      /work/SRC/openSUSE:Factory/.python-yarl.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-yarl"

Tue Jan 10 14:58:57 2023 rev:21 rq:1056959 version:1.8.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-yarl/python-yarl.changes  2022-12-09 
13:16:50.046699881 +0100
+++ /work/SRC/openSUSE:Factory/.python-yarl.new.32243/python-yarl.changes       
2023-01-10 14:59:00.176947038 +0100
@@ -1,0 +2,6 @@
+Mon Jan  9 04:17:48 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Add patch support-python-311.patch:
+  * Skip a test under Python 3.11. 
+
+-------------------------------------------------------------------

New:
----
  support-python-311.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-yarl.spec ++++++
--- /var/tmp/diff_new_pack.IZLHaC/_old  2023-01-10 14:59:00.684949757 +0100
+++ /var/tmp/diff_new_pack.IZLHaC/_new  2023-01-10 14:59:00.688949778 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-yarl
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,9 +21,10 @@
 Release:        0
 Summary:        Yet another URL library
 License:        Apache-2.0
-Group:          Development/Languages/Python
 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}

++++++ support-python-311.patch ++++++
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:
         assert u.query_string == ""
         assert u.fragment == ""
 
+    @pytest.mark.skipif(
+        sys.version_info >= (3, 11),
+        reason="Fails with Python 3.11+"
+    )
     def test_not_a_scheme2(self):
         u = URL("37signals:book")
         assert u.scheme == "37signals"

Reply via email to