Accepting request 769628 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/769628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2020-02-04 18:53:32 +00:00 committed by Git OBS Bridge
commit d0b1d4ac79
4 changed files with 25 additions and 10 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Feb 3 14:38:51 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 1.4.2
* Workaround for missing str.isascii() in Python 3.6
* Distinguish an empty password in URL from a password not provided at all
* Fixed annotations for optional parameters of URL.build
* Use None as default value of user parameter of URL.build
* Enforce building C Accelerated modules when installing from source tarball,
use YARL_NO_EXTENSIONS environment variable for falling back to (slower)
Pure Python implementation
* Fix quoting of plus in path by pure python version
* Don't create a new URL if fragment is unchanged
* Included in error msg the path that produces starting slash forbidden error
* Skip slow IDNA encoding for ASCII-only strings
-------------------------------------------------------------------
Sun Mar 3 13:52:01 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-yarl
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-yarl
Version: 1.3.0
Version: 1.4.2
Release: 0
Summary: Yet another URL library
License: Apache-2.0
@ -30,15 +30,14 @@ BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module idna >= 2.0}
# test requirements
BuildRequires: %{python_module multidict >= 4.0}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRequires: python3-multidict >= 4.0
Requires: python-idna >= 2.0
%ifpython3
Requires: python3-multidict >= 4.0
%endif
Requires: python-multidict >= 4.0
%python_subpackages
%description
@ -55,7 +54,7 @@ export CFLAGS="%{optflags}"
%python_install
%check
%python_exec setup.py test
%pytest tests
%files %{python_files}
%license LICENSE

View File

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

3
yarl-1.4.2.tar.gz Normal file
View File

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