From e6bed3369664543123326593b0c9e30dfa4c50f3ab3a17c9371006b34fbe8090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 3 Feb 2020 14:51:15 +0000 Subject: [PATCH] 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 --- python-yarl.changes | 16 ++++++++++++++++ python-yarl.spec | 13 ++++++------- yarl-1.3.0.tar.gz | 3 --- yarl-1.4.2.tar.gz | 3 +++ 4 files changed, 25 insertions(+), 10 deletions(-) delete mode 100644 yarl-1.3.0.tar.gz create mode 100644 yarl-1.4.2.tar.gz diff --git a/python-yarl.changes b/python-yarl.changes index 282902c..6f40781 100644 --- a/python-yarl.changes +++ b/python-yarl.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Feb 3 14:38:51 UTC 2020 - Marketa Calabkova + +- 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 diff --git a/python-yarl.spec b/python-yarl.spec index a7ec8a6..e45a474 100644 --- a/python-yarl.spec +++ b/python-yarl.spec @@ -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 diff --git a/yarl-1.3.0.tar.gz b/yarl-1.3.0.tar.gz deleted file mode 100644 index 54132b7..0000000 --- a/yarl-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:024ecdc12bc02b321bc66b41327f930d1c2c543fa9a561b39861da9388ba7aa9 -size 159748 diff --git a/yarl-1.4.2.tar.gz b/yarl-1.4.2.tar.gz new file mode 100644 index 0000000..06a1042 --- /dev/null +++ b/yarl-1.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58cd9c469eced558cd81aa3f484b2924e8897049e06889e8ff2510435b7ef74b +size 163521