Accepting request 769623 from home:mcalabkova:branches:devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/769623 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=24
This commit is contained in:
parent
a94bbd7019
commit
e6bed33696
@ -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>
|
Sun Mar 3 13:52:01 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-yarl
|
# 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
|
# 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
|
||||||
@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-yarl
|
Name: python-yarl
|
||||||
Version: 1.3.0
|
Version: 1.4.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Yet another URL library
|
Summary: Yet another URL library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -30,15 +30,14 @@ BuildRequires: %{python_module Cython}
|
|||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module idna >= 2.0}
|
BuildRequires: %{python_module idna >= 2.0}
|
||||||
# test requirements
|
# test requirements
|
||||||
|
BuildRequires: %{python_module multidict >= 4.0}
|
||||||
|
BuildRequires: %{python_module pytest-cov}
|
||||||
BuildRequires: %{python_module pytest-runner}
|
BuildRequires: %{python_module pytest-runner}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-multidict >= 4.0
|
|
||||||
Requires: python-idna >= 2.0
|
Requires: python-idna >= 2.0
|
||||||
%ifpython3
|
Requires: python-multidict >= 4.0
|
||||||
Requires: python3-multidict >= 4.0
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -55,7 +54,7 @@ export CFLAGS="%{optflags}"
|
|||||||
%python_install
|
%python_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%pytest tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
@ -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
3
yarl-1.4.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:58cd9c469eced558cd81aa3f484b2924e8897049e06889e8ff2510435b7ef74b
|
||||||
|
size 163521
|
Loading…
Reference in New Issue
Block a user