From fa1cf01cae4f4191e5fd9f54215870c39b72fd611632fa683ab2d24a09bb16ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 17 Nov 2018 16:06:52 +0000 Subject: [PATCH] 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 --- python-w3lib.changes | 12 ++++++++++++ python-w3lib.spec | 8 +++++--- w3lib-1.18.0.tar.gz | 3 --- w3lib-1.19.0.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 6 deletions(-) delete mode 100644 w3lib-1.18.0.tar.gz create mode 100644 w3lib-1.19.0.tar.gz diff --git a/python-w3lib.changes b/python-w3lib.changes index 291dfda..cce6350 100644 --- a/python-w3lib.changes +++ b/python-w3lib.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Nov 16 18:49:26 UTC 2018 - Todd R + +- 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. + ------------------------------------------------------------------- Thu Dec 21 22:45:16 UTC 2017 - mpluskal@suse.com diff --git a/python-w3lib.spec b/python-w3lib.spec index 4b55e61..3e3f20d 100644 --- a/python-w3lib.spec +++ b/python-w3lib.spec @@ -1,7 +1,7 @@ # # spec file for package python-w3lib # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-w3lib -Version: 1.18.0 +Version: 1.19.0 Release: 0 Summary: Library of Web-Related Functions License: BSD-3-Clause @@ -31,6 +31,7 @@ BuildRequires: %{python_module six} >= 1.4.1 BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch + %python_subpackages %description @@ -70,7 +71,8 @@ This is a Python library of web-related functions, such as: %python_exec setup.py test %files %{python_files} -%doc README.rst LICENSE +%doc README.rst +%license LICENSE %{python_sitelib}/* %changelog diff --git a/w3lib-1.18.0.tar.gz b/w3lib-1.18.0.tar.gz deleted file mode 100644 index fba9920..0000000 --- a/w3lib-1.18.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c48731d5d73cde86f9c3c2bd6898d165f670120427353a7c8f9d6c685561d3c4 -size 37709 diff --git a/w3lib-1.19.0.tar.gz b/w3lib-1.19.0.tar.gz new file mode 100644 index 0000000..7bcb9f6 --- /dev/null +++ b/w3lib-1.19.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55994787e93b411c2d659068b51b9998d9d0c05e0df188e6daf8f45836e1ea38 +size 37989