Hello community,
here is the log from the commit of package python-hyperlink for
openSUSE:Factory checked in at 2019-06-18 14:42:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hyperlink (Old)
and /work/SRC/openSUSE:Factory/.python-hyperlink.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hyperlink"
Tue Jun 18 14:42:48 2019 rev:3 rq:704698 version:19.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hyperlink/python-hyperlink.changes
2018-12-27 00:26:32.363803073 +0100
+++
/work/SRC/openSUSE:Factory/.python-hyperlink.new.4811/python-hyperlink.changes
2019-06-18 14:42:52.661753640 +0200
@@ -1,0 +2,27 @@
+Wed May 22 10:15:01 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Add missing runtime dependency on idna
+
+-------------------------------------------------------------------
+Tue May 21 10:25:35 UTC 2019 - [email protected]
+
+- version update to 19.0.0
+ * When passed to `str()` URLs now stringify to usable URL
+ strings. (See #49)
+ * Switched off of Python's built-in IDNA facilities to using the
+ [idna](https://pypi.python.org/pypi/idna) package. Not only is it
+ much more modern, it's also much more strict and correct in its
+ output. (See #19 and #56)
+ * Added new `DecodedURL` type with almost-identical API to the normal
+ `URL`, except that it automatically handles reserved characters in
+ argument values passed to its methods. (See #6, #11, #44)
+ * Added top-level `parse()` convenience function that now represents
+ the main entrypoint to hyperlink.
+ * Accept dictionaries as ‘query=’ arguments, in addition to
+ sequences of tuples (see #50)
+ * `URL.child()` will no longer fail when child gets no segments (#42 and #43)
+ * `URL.normalize()` now supports encoding stray/unmatched `%` characters
+ in character-encoded fields (userinfo, path, query string, fragment)
+ (see #61, #62)
+
+-------------------------------------------------------------------
Old:
----
hyperlink-17.2.1.tar.gz
New:
----
hyperlink-19.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-hyperlink.spec ++++++
--- /var/tmp/diff_new_pack.3w0yHJ/_old 2019-06-18 14:42:53.665753424 +0200
+++ /var/tmp/diff_new_pack.3w0yHJ/_new 2019-06-18 14:42:53.669753424 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-hyperlink
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -17,20 +17,21 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
Name: python-hyperlink
-Version: 17.2.1
+Version: 19.0.0
Release: 0
Summary: Immutable URL support for Python
License: MIT
Group: Development/Languages/Python
-Url: https://github.com/python-hyper/hyperlink
+URL: https://github.com/python-hyper/hyperlink
Source:
https://files.pythonhosted.org/packages/source/h/hyperlink/hyperlink-%{version}.tar.gz
+BuildRequires: %{python_module idna >= 2.5}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: python-idna >= 2.5
BuildArch: noarch
-
%python_subpackages
%description
@@ -46,14 +47,14 @@
%install
%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with test}
%check
-%python_exec setup.py test
-%endif
+%pytest
%files %{python_files}
-%defattr(-,root,root,-)
+%license LICENSE
+%doc CHANGELOG.md README.md docs/*.rst
%{python_sitelib}/*
%changelog
++++++ hyperlink-17.2.1.tar.gz -> hyperlink-19.0.0.tar.gz ++++++
++++ 3925 lines of diff (skipped)