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,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