Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-w3lib for openSUSE:Factory checked in at 2024-12-02 16:59:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-w3lib (Old) and /work/SRC/openSUSE:Factory/.python-w3lib.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-w3lib" Mon Dec 2 16:59:23 2024 rev:12 rq:1227705 version:2.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-w3lib/python-w3lib.changes 2024-06-21 16:05:05.634221875 +0200 +++ /work/SRC/openSUSE:Factory/.python-w3lib.new.28523/python-w3lib.changes 2024-12-02 16:59:58.931336597 +0100 @@ -1,0 +2,6 @@ +Tue Nov 26 03:01:17 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Add patch do-not-add-invalid-ipv6.patch: + * Do not check invalid IPv6 addresses. + +------------------------------------------------------------------- New: ---- do-not-add-invalid-ipv6.patch BETA DEBUG BEGIN: New: - Add patch do-not-add-invalid-ipv6.patch: * Do not check invalid IPv6 addresses. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-w3lib.spec ++++++ --- /var/tmp/diff_new_pack.rZtUqn/_old 2024-12-02 16:59:59.399356398 +0100 +++ /var/tmp/diff_new_pack.rZtUqn/_new 2024-12-02 16:59:59.403356568 +0100 @@ -22,9 +22,10 @@ Release: 0 Summary: Library of Web-Related Functions License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/scrapy/w3lib Source: https://files.pythonhosted.org/packages/source/w/w3lib/w3lib-%{version}.tar.gz +# PATCH-FIX-OPENSUSE Do not check invalid IPv6 addresses +Patch0: do-not-add-invalid-ipv6.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} ++++++ do-not-add-invalid-ipv6.patch ++++++ Index: w3lib-2.2.1/tests/test_url.py =================================================================== --- w3lib-2.2.1.orig/tests/test_url.py +++ w3lib-2.2.1/tests/test_url.py @@ -420,8 +420,9 @@ KNOWN_SAFE_URL_STRING_URL_ISSUES = { # (%) are not escaped. f"a://example.com#{FRAGMENT_TO_ENCODE}", } -if sys.version_info < (3, 11, 4): - KNOWN_SAFE_URL_STRING_URL_ISSUES.add("http://[2a01:5cc0:1:2:3:4]") # Invalid IPv6 +# openSUSE: All of our Python 3.10+ interpreters will fail this +#if sys.version_info < (3, 11, 4): +# KNOWN_SAFE_URL_STRING_URL_ISSUES.add("http://[2a01:5cc0:1:2:3:4]") # Invalid IPv6 @pytest.mark.parametrize(