Hello community, here is the log from the commit of package python-yarl for openSUSE:Factory checked in at 2020-07-31 16:01:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-yarl (Old) and /work/SRC/openSUSE:Factory/.python-yarl.new.3592 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-yarl" Fri Jul 31 16:01:37 2020 rev:13 rq:823367 version:1.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-yarl/python-yarl.changes 2020-02-04 19:53:46.981336639 +0100 +++ /work/SRC/openSUSE:Factory/.python-yarl.new.3592/python-yarl.changes 2020-07-31 16:08:01.988846749 +0200 @@ -1,0 +2,30 @@ +Tue Jul 28 21:28:25 UTC 2020 - Benjamin Greiner <[email protected]> + +- remove c source file from package (rpmlint error) +- needs typing-extensions + +------------------------------------------------------------------- +Tue Jul 28 19:15:09 UTC 2020 - Ondřej Súkup <[email protected]> + +- update to 1.5.0 +- fix tests + * Convert host to lowercase on URL building. #386 + * Allow using mod operator (%) for updating query string (an alias for update_query() method) + * Allow use of sequences such as list and tuple in the values of a mapping + such as dict to represent that a key has many values: + url = URL("http://example.com") + assert url.with_query({"a": [1, 2]}) == URL("http://example.com/?a=1&a=2") + * Support URL.build() with scheme and path (creates a relative URL) + * Cache slow IDNA encode/decode calls + * Add @final / Final type hints + * Support URL authority/raw_authority properties and authority argument + of URL.build() method + * Hide the library implementation details, make the exposed public list very clean + * Fix tests with newer Python (3.7.6, 3.8.1 and 3.9.0+) + * Fix a bug where query component, passed in a form of mapping or sequence, + is unquoted in unexpected way + * Hide Query and QueryVariable type aliases in __init__.pyi, now they + are prefixed with underscore. + * Keep ipv6 brackets after updating port/user/password. + +------------------------------------------------------------------- Old: ---- yarl-1.4.2.tar.gz New: ---- yarl-1.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-yarl.spec ++++++ --- /var/tmp/diff_new_pack.qPCszn/_old 2020-07-31 16:08:03.144847738 +0200 +++ /var/tmp/diff_new_pack.qPCszn/_new 2020-07-31 16:08:03.144847738 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-yarl -Version: 1.4.2 +Version: 1.5.0 Release: 0 Summary: Yet another URL library License: Apache-2.0 @@ -35,9 +35,11 @@ BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-idna >= 2.0 Requires: python-multidict >= 4.0 +Requires: python-typing_extensions >= 3.7.4 %python_subpackages %description @@ -52,13 +54,17 @@ %install %python_install +# devel file in non-devel-package +%python_expand rm %{buildroot}%{$python_sitearch}/yarl/_quoting_c.c +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%pytest tests +%pytest_arch %files %{python_files} %license LICENSE %doc CHANGES.rst README.rst -%{python_sitearch}/* +%{python_sitearch}/yarl +%{python_sitearch}/yarl-%{version}-py*.egg-info %changelog ++++++ yarl-1.4.2.tar.gz -> yarl-1.5.0.tar.gz ++++++ ++++ 29429 lines of diff (skipped)
