python-w3lib

Edit Package python-w3lib
No description set
Refresh
Refresh
Source Files
Filename Size Changed
python-w3lib.changes 0000007169 7 KB
python-w3lib.spec 0000001942 1.9 KB
w3lib-2.1.2.tar.gz 0000048715 47.6 KB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1138240 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 9)
- 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
Comments 0
openSUSE Build Service is sponsored by