14
0
forked from pool/python-w3lib

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
This commit is contained in:
Tomáš Chvátal
2018-11-17 16:06:52 +00:00
committed by Git OBS Bridge
parent eeedbd59d8
commit fa1cf01cae
4 changed files with 20 additions and 6 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Nov 16 18:49:26 UTC 2018 - Todd R <toddrme2178@gmail.com>
- 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 Thu Dec 21 22:45:16 UTC 2017 - mpluskal@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-w3lib # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-w3lib Name: python-w3lib
Version: 1.18.0 Version: 1.19.0
Release: 0 Release: 0
Summary: Library of Web-Related Functions Summary: Library of Web-Related Functions
License: BSD-3-Clause License: BSD-3-Clause
@@ -31,6 +31,7 @@ BuildRequires: %{python_module six} >= 1.4.1
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -70,7 +71,8 @@ This is a Python library of web-related functions, such as:
%python_exec setup.py test %python_exec setup.py test
%files %{python_files} %files %{python_files}
%doc README.rst LICENSE %doc README.rst
%license LICENSE
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c48731d5d73cde86f9c3c2bd6898d165f670120427353a7c8f9d6c685561d3c4
size 37709

3
w3lib-1.19.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:55994787e93b411c2d659068b51b9998d9d0c05e0df188e6daf8f45836e1ea38
size 37989