14
0
forked from pool/python-w3lib

- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=22
This commit is contained in:
2024-01-12 08:31:14 +00:00
committed by Git OBS Bridge
parent 7702237bf2
commit 75982c34f4
6 changed files with 50 additions and 734 deletions

View File

@@ -1,3 +1,45 @@
-------------------------------------------------------------------
Fri Jan 12 08:28:28 UTC 2024 - Dirk Müller <dmueller@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
-------------------------------------------------------------------
Fri Oct 14 19:10:33 UTC 2022 - pgajdos@suse.com
@@ -38,7 +80,7 @@ Thu Aug 29 13:15:56 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
Fri Mar 29 09:53:27 UTC 2019 - pgajdos@suse.com
- version update to 1.20.0
* Fix url_query_cleaner to do not append "?" to urls without a
* Fix url_query_cleaner to do not append "?" to urls without a
query string (issue #109)
* Add support for Python 3.7 and drop Python 3.3 (issue #113)
* Add `w3lib.url.add_or_replace_parameters` helper (issue #117)
@@ -113,7 +155,7 @@ Fri Nov 15 20:36:22 UTC 2013 - p.drouand@gmail.com
- Update to version 1.5
+ No changelog available
- Add python-setuptools BuildRequires; new dependency
- Add python-setuptools BuildRequires; new dependency
-------------------------------------------------------------------
Wed May 23 21:43:14 UTC 2012 - jfunk@funktronics.ca