14
0
forked from pool/python-w3lib
Commit Graph

15 Commits

Author SHA256 Message Date
7c6964ae99 - update to 2.2.1:
* :func:`~w3lib.url.canonicalize_url` no longer applies
    lowercase to the userinfo URL component. (#229, #230)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=26
2024-06-13 15:37:05 +00:00
f349430ee6 - update to 2.2.0:
* Dropped Python 3.7 support (#214).
  * Added Python 3.12 and PyPy 3.10 support (#218).
  * Added the description to the package metadata (#227).
  * Improved type hints (#226).
  * Added the ``pre-commit`` configuration, code reformatted with
    ``black``
  * Updated CI configuration (#217, #227).
- use PEP517 build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=24
2024-06-10 09:27:02 +00:00
75982c34f4 - 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
2024-01-12 08:31:14 +00:00
7702237bf2 Accepting request 1011020 from home:pgajdos:python
- do not require six
- added patches
  c16d7bac3a
  + python-w3lib-no-six.patch

OBS-URL: https://build.opensuse.org/request/show/1011020
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=20
2022-10-17 13:09:22 +00:00
19d9cd9aac - Add 166-add-xfail-test_add_or_replace_parameter_fail.patch,
which makes tests working with CVE-2021-23336.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=17
2021-03-19 14:30:08 +00:00
Tomáš Chvátal
d2df848287 Accepting request 822218 from home:mcalabkova:branches:devel:languages:python
- update to 1.22.0
  * Python 3.4 is no longer supported (issue #156)
  * :func:`w3lib.url.safe_url_string` now supports an optional ``quote_path``
    parameter to disable the percent-encoding of the URL path
  * more small fixes and improvements

- update to 1.21.0

OBS-URL: https://build.opensuse.org/request/show/822218
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=15
2020-07-22 12:39:43 +00:00
Tomáš Chvátal
232d884616 Accepting request 727016 from home:mcalabkova:branches:devel:languages:python
- update to 1.21.1
  * Add the "encoding" and "path_encoding" parameters to
    w3lib.url.safe_download_url (issue #118)
  * w3lib.url.safe_url_string now also removes tabs and new lines
    (issue #133)
  * w3lib.html.remove_comments now also removes truncated comments
    (issue #129)
  * w3lib.html.remove_tags_with_content no longer removes tags which
    start with the same text as one of the specified tags (issue #114)

OBS-URL: https://build.opensuse.org/request/show/727016
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=13
2019-08-30 00:49:02 +00:00
Tomáš Chvátal
ae90c90b7d Accepting request 689776 from home:pgajdos
- version update to 1.20.0
  * 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)
  * Documentation fixes (issue #115)

OBS-URL: https://build.opensuse.org/request/show/689776
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=11
2019-03-29 10:15:50 +00:00
2bbdb143a5 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=9
2018-12-04 14:15:20 +00:00
Tomáš Chvátal
fa1cf01cae Accepting request 649793 from home:TheBlackCat:branches:devel:languages:python
- Update to version 1.19.0
  * Add a workaround for CPython segfault (https://bugs.python.org/issue32583)
    which affect w3lib.encoding functions. This is technically **backwards
    incompatible** because it changes the way non-decodable bytes are replaced
    (in some cases instead of two ``\ufffd`` chars you can get one).
    As a side effect, the fix speeds up decoding in Python 3.4+.
  * Add 'encoding' parameter for w3lib.http.basic_auth_header.
  * Fix pypy testing setup, add pypy3 to CI.

OBS-URL: https://build.opensuse.org/request/show/649793
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=7
2018-11-17 16:06:52 +00:00
c5c286b91b Accepting request 559193 from home:pluskalm:branches:devel:languages:python
add me as maintainer, dependency of scrapy used for internal search

OBS-URL: https://build.opensuse.org/request/show/559193
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=5
2017-12-21 23:26:39 +00:00
5d7d31d4f2 Accepting request 399873 from home:winski:python
update to newest version, bugfixes & new features - fully backwards compatible

OBS-URL: https://build.opensuse.org/request/show/399873
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=4
2016-06-03 06:49:28 +00:00
Todd R
2300cde67f Accepting request 247672 from home:TheBlackCat:branches:devel:languages:python
Update to version 1.10.0

OBS-URL: https://build.opensuse.org/request/show/247672
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=3
2014-09-05 10:17:18 +00:00
Denisart Benjamin
cfaa842571 Accepting request 207078 from home:posophe:branches:devel:languages:python
Update

OBS-URL: https://build.opensuse.org/request/show/207078
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=2
2013-11-15 20:40:49 +00:00
Sascha Peilicke
0403ee44ab Accepting request 122003 from home:jimfunk:python
Web page parsing utilities. Required by Scrapy

OBS-URL: https://build.opensuse.org/request/show/122003
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=1
2012-05-24 07:56:13 +00:00