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-01-12 23:46:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-w3lib (Old) and /work/SRC/openSUSE:Factory/.python-w3lib.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-w3lib" Fri Jan 12 23:46:10 2024 rev:9 rq:1138240 version:2.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-w3lib/python-w3lib.changes 2022-10-18 12:45:21.269772176 +0200 +++ /work/SRC/openSUSE:Factory/.python-w3lib.new.21961/python-w3lib.changes 2024-01-12 23:46:32.629050952 +0100 @@ -1,0 +2,42 @@ +Fri Jan 12 08:28:28 UTC 2024 - Dirk Müller <dmuel...@suse.com> + +- update to 2.1.2: + * Fix test failures on Python 3.11.4+ (#212, #213). + * Fix an incorrect type hint (#211). + * Add project URLs to setup.py (#215). + * Dropped Python 3.6 support, and made Python 3.11 support + official. + * :func:`~w3lib.url.safe_url_string` now generates safer + URLs. + * :func:`~w3lib.url.canonicalize_url` now strips spaces from + the input URL, to be more in line with the `URL living standard`_. + * :func:`~w3lib.html.get_base_url` now ignores HTML comments. + * Fixed :func:`~w3lib.url.safe_url_string` re-encoding + percent signs on the URL username and password even when + they were being used as part of an escape sequence. (#187, #196) + * Fixed :func:`~w3lib.http.basic_auth_header` using the wrong + flavor of base64 encoding, which could prevent authentication + in rare cases. + * Python 2 is no longer supported; + * The ``w3lib.form`` module is removed. + * The ``w3lib.html.remove_entities`` function is removed. + * The ``w3lib.url.urljoin_rfc`` function is removed. + * The following functions are deprecated, and will be removed + in future releases + * Type annotations are added (#172, #184). + * Added support for Python 3.9 and 3.10 (#168, #176). + * Fixed :func:`w3lib.html.get_meta_refresh` for ``<meta>`` tags + where ``http-equiv`` is written after ``content`` (#179). + * Fixed :func:`w3lib.url.safe_url_string` for IDNA domains with + ports (#174). + * :func:`w3lib.url.url_query_cleaner` no longer adds an + unneeded ``#`` when ``keep_fragments=True`` is passed, and + the URL doesn't have a fragment + * Removed a workaround for an ancient pathname2url bug (#142) + * CI is migrated to GitHub Actions (#166, #177); other CI + improvements + * The code is formatted using black (#173). +- drop 166-add-xfail-test_add_or_replace_parameter_fail.patch, + python-w3lib-no-six.patch: upstream + +------------------------------------------------------------------- Old: ---- 166-add-xfail-test_add_or_replace_parameter_fail.patch python-w3lib-no-six.patch w3lib-1.22.0.tar.gz New: ---- w3lib-2.1.2.tar.gz BETA DEBUG BEGIN: Old: * The code is formatted using black (#173). - drop 166-add-xfail-test_add_or_replace_parameter_fail.patch, python-w3lib-no-six.patch: upstream Old:- drop 166-add-xfail-test_add_or_replace_parameter_fail.patch, python-w3lib-no-six.patch: upstream BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-w3lib.spec ++++++ --- /var/tmp/diff_new_pack.wAI3Dm/_old 2024-01-12 23:46:33.233073060 +0100 +++ /var/tmp/diff_new_pack.wAI3Dm/_new 2024-01-12 23:46:33.233073060 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-w3lib # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,15 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-w3lib -Version: 1.22.0 +Version: 2.1.2 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-UPSTREAM 166-add-xfail-test_add_or_replace_parameter_fail.patch mc...@suse.com -# Allow working with Python fixed CVE-2021-23336 -Patch0: 166-add-xfail-test_add_or_replace_parameter_fail.patch -# https://github.com/scrapy/w3lib/commit/c16d7bac3af3148b7018c67ef7922a5da6b3e640 -Patch1: python-w3lib-no-six.patch BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes ++++++ w3lib-1.22.0.tar.gz -> w3lib-2.1.2.tar.gz ++++++ ++++ 6159 lines of diff (skipped)