From ebaddf8cbf8a78b05f612e45f2ac8395b01ba2996a9092087c00a7d112fa8aaf Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 9 Oct 2024 08:04:00 +0000 Subject: [PATCH] - Update to 1.14.0 * Switched to using the :mod:`propcache ` package for property caching * Started testing with Hypothesis * Improved performance of :py:meth:`~yarl.URL.is_default_port` when no explicit port is set * Improved performance of converting :class:`~yarl.URL` to a string when no explicit port is set * Improved performance of the :py:meth:`~yarl.URL.origin` method * Improved performance of encoding hosts - from version 1.13.1 * Improved performance of calling :py:meth:`~yarl.URL.build` with ``authority`` - from version 1.13.0 * Started rejecting ASCII hostnames with invalid characters. For host strings that look like authority strings, the exception message includes advice on what to do instead * Fixed IPv6 addresses missing brackets when the :class:`~yarl.URL` was converted to a string * Added :attr:`~yarl.URL.host_subcomponent` which returns the :rfc:`3986#section-3.2.2` host subcomponent - Update BuildRequires from requirements/test.txt OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=69 --- python-yarl.changes | 26 ++++++++++++++++++++++++++ python-yarl.spec | 4 +++- yarl-1.12.1.tar.gz | 3 --- yarl-1.14.0.tar.gz | 3 +++ 4 files changed, 32 insertions(+), 4 deletions(-) delete mode 100644 yarl-1.12.1.tar.gz create mode 100644 yarl-1.14.0.tar.gz diff --git a/python-yarl.changes b/python-yarl.changes index 4f0eb58..eecce7d 100644 --- a/python-yarl.changes +++ b/python-yarl.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Wed Oct 9 07:39:46 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 1.14.0 + * Switched to using the :mod:`propcache ` + package for property caching + * Started testing with Hypothesis + * Improved performance of :py:meth:`~yarl.URL.is_default_port` + when no explicit port is set + * Improved performance of converting :class:`~yarl.URL` to + a string when no explicit port is set + * Improved performance of the :py:meth:`~yarl.URL.origin` method + * Improved performance of encoding hosts +- from version 1.13.1 + * Improved performance of calling :py:meth:`~yarl.URL.build` + with ``authority`` +- from version 1.13.0 + * Started rejecting ASCII hostnames with invalid characters. For + host strings that look like authority strings, the exception + message includes advice on what to do instead + * Fixed IPv6 addresses missing brackets when the :class:`~yarl.URL` + was converted to a string + * Added :attr:`~yarl.URL.host_subcomponent` which returns + the :rfc:`3986#section-3.2.2` host subcomponent +- Update BuildRequires from requirements/test.txt + ------------------------------------------------------------------- Wed Sep 25 11:36:24 UTC 2024 - Nico Krapp diff --git a/python-yarl.spec b/python-yarl.spec index b541974..e434132 100644 --- a/python-yarl.spec +++ b/python-yarl.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-yarl -Version: 1.12.1 +Version: 1.14.0 Release: 0 Summary: Yet another URL library License: Apache-2.0 @@ -32,7 +32,9 @@ BuildRequires: %{python_module idna >= 2.0} # test requirements BuildRequires: %{python_module multidict >= 4.0} BuildRequires: %{python_module covdefaults} +BuildRequires: %{python_module hypothesis >= 6.0} BuildRequires: %{python_module pip} +BuildRequires: %{python_module propcache >= 0.2.0} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} diff --git a/yarl-1.12.1.tar.gz b/yarl-1.12.1.tar.gz deleted file mode 100644 index cf12922..0000000 --- a/yarl-1.12.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b860055199aec8d6fe4dcee3c5196ce506ca198a50aab0059ffd26e8e815828 -size 163223 diff --git a/yarl-1.14.0.tar.gz b/yarl-1.14.0.tar.gz new file mode 100644 index 0000000..c29767f --- /dev/null +++ b/yarl-1.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88c7d9d58aab0724b979ab5617330acb1c7030b79379c8138c1c8c94e121d1b3 +size 166127