Compare commits
14 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| f53b4e952d | |||
| 62e993ab73 | |||
| e644b4eb4a | |||
| 6701d40f99 | |||
| 41d32a5938 | |||
| 09aa7b4317 | |||
| bf15480efc | |||
| 849ad9cae4 | |||
| 1f6b95e7a4 | |||
| 214ab58807 | |||
| dde186b5f6 | |||
| 499707b319 | |||
| 0e2043d26a | |||
| 448c5e3974 |
@@ -1,3 +1,197 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 11 21:29:35 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.20.1:
|
||||||
|
* Started raising a :exc:`ValueError` exception raised for
|
||||||
|
corrupted IPv6 URL values. These fixes the issue where
|
||||||
|
exception :exc:`IndexError` was leaking from the internal
|
||||||
|
code because of not being handled and transformed into a
|
||||||
|
user-facing error. The problem was happening under the
|
||||||
|
following conditions: empty IPv6 URL, brackets in reverse
|
||||||
|
order. -- by :user:`MaelPic`. Related issues and pull
|
||||||
|
requests on GitHub: :issue:`1512`.
|
||||||
|
* Updated to use Cython 3.1 universally across the build path
|
||||||
|
-- by :user:`lysnikolaou`. Related issues and pull requests
|
||||||
|
on GitHub: :issue:`1514`.
|
||||||
|
* Made Cython line tracing opt-in via the with-cython-tracing
|
||||||
|
build config setting -- by :user:`bdraco`. Previously, line
|
||||||
|
tracing was enabled by default in :file:`pyproject.toml`,
|
||||||
|
which caused build issues for some users and made wheels
|
||||||
|
nearly twice as slow. Now line tracing is only enabled when
|
||||||
|
explicitly requested via pip install . --config-setting=with-
|
||||||
|
cython-tracing=true or by setting the YARL_CYTHON_TRACING
|
||||||
|
environment variable. Related issues and pull requests on
|
||||||
|
GitHub: :issue:`1521`.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 27 08:56:06 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.20.0:
|
||||||
|
* Implemented support for the free-threaded build of CPython
|
||||||
|
3.13
|
||||||
|
* Started building wheels for the free-threaded build of
|
||||||
|
CPython 3.13
|
||||||
|
* Fixed entire name being re-encoded when using
|
||||||
|
:py:meth:`yarl.URL.with_suffix`
|
||||||
|
* Started building armv7l wheels for manylinux
|
||||||
|
* GitHub Actions CI/CD is now configured to manage caching pip-
|
||||||
|
ecosystem dependencies using re-actors/cache-python-deps --
|
||||||
|
an action by :user:`webknjaz` that takes into account ABI
|
||||||
|
stability and the exact version of Python runtime.
|
||||||
|
* Increased minimum propcache version to 0.2.1 to fix failing
|
||||||
|
tests
|
||||||
|
* Added all hidden folders to pytest's norecursedirs to prevent
|
||||||
|
it from trying to collect tests there
|
||||||
|
* Improved accuracy of type annotations
|
||||||
|
* Improved performance of parsing query strings
|
||||||
|
* Improved performance of the C unquoter
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 26 16:53:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Delete pytest.ini
|
||||||
|
* hypothesis added a warning about pytest not looking into its hidden
|
||||||
|
working directory
|
||||||
|
* warnings were treated as errors here
|
||||||
|
* resolving both problems by returning to default pytest settings
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 5 12:10:05 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.18.3:
|
||||||
|
* Fixed uppercase ASCII hosts being rejected by :meth:URL.build()
|
||||||
|
<yarl.URL.build> and :py:meth:~yarl.URL.with_host -- by :user:bdraco.
|
||||||
|
* Improved performances of multiple path properties on cache miss --
|
||||||
|
by :user:bdraco.
|
||||||
|
1.18.0:
|
||||||
|
* Added keep_query and keep_fragment flags in the
|
||||||
|
:py:meth:yarl.URL.with_path, :py:meth:yarl.URL.with_name and
|
||||||
|
:py:meth:yarl.URL.with_suffix methods, allowing users to
|
||||||
|
optionally retain the query string and fragment in the resulting
|
||||||
|
URL when replacing the path -- by :user:paul-nameless.
|
||||||
|
1.17.2:
|
||||||
|
* Stopped implicitly allowing the use of Cython pre-release versions when
|
||||||
|
building the distribution package -- by :user:ajsanchezsanz and
|
||||||
|
:user:markgreene74.
|
||||||
|
* Fixed a bug causing :attr:~yarl.URL.port to return the default
|
||||||
|
port when the given port was zero -- by :user:gmacon.
|
||||||
|
* Make error messages include details of incorrect type when port is
|
||||||
|
not int in :py:meth:~yarl.URL.build. -- by :user:Cycloctane.
|
||||||
|
* Stopped implicitly allowing the use of Cython pre-release versions when
|
||||||
|
building the distribution package -- by :user:ajsanchezsanz and
|
||||||
|
:user:markgreene74.
|
||||||
|
* Improved performance of the :py:meth:~yarl.URL.joinpath method --
|
||||||
|
by :user:bdraco.
|
||||||
|
1.17.1:
|
||||||
|
* Improved performance of many URL methods – by @bdraco.
|
||||||
|
* Improved performance of passing a dict or str to extend_query() –
|
||||||
|
by @bdraco.
|
||||||
|
1.17.0:
|
||||||
|
* Added host_port_subcomponent which returns the RFC 3986 Section
|
||||||
|
3.2.2 host and RFC 3986 Section 3.2.3 port subcomponent – by
|
||||||
|
@bdraco.
|
||||||
|
1.16.0:
|
||||||
|
* Fixed blocking I/O to load Python code when creating a new URL
|
||||||
|
with non-ascii characters in the network location part – by
|
||||||
|
@bdraco.
|
||||||
|
* Migrated to using a single cache for encoding hosts – by @bdraco.
|
||||||
|
* Passing ip_address_size and host_validate_size to
|
||||||
|
cache_configure() is deprecated in favor of the new
|
||||||
|
encode_host_size parameter and will be removed in a future
|
||||||
|
release. For backwards compatibility, the old parameters affect
|
||||||
|
the encode_host cache size.
|
||||||
|
* Improved performance of constructing URL – by @bdraco.
|
||||||
|
* Improved performance of calling build() and constructing unencoded
|
||||||
|
URL – by @bdraco.
|
||||||
|
* Reworked the internal encoding cache to improve performance on
|
||||||
|
cache hit – by @bdraco.
|
||||||
|
1.15.5:
|
||||||
|
* Improved performance of the joinpath() method – by @bdraco.
|
||||||
|
* Improved performance of the extend_query() method – by @bdraco.
|
||||||
|
* Improved performance of the origin() method – by @bdraco.
|
||||||
|
* Improved performance of the with_path() method – by @bdraco.
|
||||||
|
* Improved performance of the with_query() method – by @bdraco.
|
||||||
|
* Improved performance of the update_query() method – by @bdraco.
|
||||||
|
* Improved performance of the join() method – by @bdraco.
|
||||||
|
* Improved performance of URL equality checks – by @bdraco.
|
||||||
|
* Improved performance of URL methods that modify the network location – by @bdraco.
|
||||||
|
* Improved performance of the with_fragment() method – by @bdraco.
|
||||||
|
* Improved performance of calculating the hash of URL objects – by @bdraco.
|
||||||
|
* Improved performance of the relative() method – by @bdraco.
|
||||||
|
* Improved performance of the with_name() method – by @bdraco.
|
||||||
|
* Improved performance of parent – by @bdraco.
|
||||||
|
* Improved performance of the with_scheme() method – by @bdraco.
|
||||||
|
1.15.4:
|
||||||
|
* Improved performance of the quoter when all characters are safe – by @bdraco.
|
||||||
|
* Improved performance of unquoting strings – by @bdraco.
|
||||||
|
* Improved performance of calling build() – by @bdraco.
|
||||||
|
1.15.3:
|
||||||
|
* Fixed build() failing to validate paths must start with a / when
|
||||||
|
passing authority – by @bdraco.
|
||||||
|
* Removed support for Python 3.8 as it has reached end of life – by @bdraco.
|
||||||
|
* Improved performance of constructing URL when the net location is
|
||||||
|
only the host – by @bdraco.
|
||||||
|
1.15.2:
|
||||||
|
* Improved performance of converting URL to a string – by @bdraco.
|
||||||
|
* Improved performance of joinpath() – by @bdraco.
|
||||||
|
* Improved performance of constructing query strings from MultiDict – by @bdraco.
|
||||||
|
* Improved performance of constructing query strings with int values – by @bdraco.
|
||||||
|
1.15.1:
|
||||||
|
* Improved performance of calling build() – by @bdraco.
|
||||||
|
* Improved performance of all URL methods that create new URL objects – by @bdraco.
|
||||||
|
* Improved performance of URL methods that modify the network location – by @bdraco.
|
||||||
|
1.15.0:
|
||||||
|
* Fixed validation with with_scheme() when passed scheme is not lowercase – by @bdraco.
|
||||||
|
* Improved performance of constructing unencoded URL objects – by @bdraco.
|
||||||
|
* Added a cache for parsing hosts to reduce overhead of encoding URL – by @bdraco.
|
||||||
|
* Improved performance of constructing query strings from Mapping – by @bdraco.
|
||||||
|
* Improved performance of converting URL objects to strings – by @bdraco.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 9 07:39:46 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.14.0
|
||||||
|
* Switched to using the :mod:`propcache <propcache.api>`
|
||||||
|
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 <nico.krapp@suse.com>
|
||||||
|
|
||||||
|
- update to 1.12.1
|
||||||
|
- update to 1.12.0
|
||||||
|
* Added attr `~yarl.URL.path_safe` to be able to fetch the
|
||||||
|
path without %2F and %25 decoded
|
||||||
|
* Restore decoding %2F (/) in URL.path
|
||||||
|
* Improved performance of processing paths
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 3 06:46:22 UTC 2024 - Adrian Schröter <adrian@suse.de>
|
||||||
|
|
||||||
|
- updaze to 1.9.7:
|
||||||
|
* Removed support :rfc:3986#section-3.2.3 port normalization
|
||||||
|
when the scheme is not one of http, https, wss, or ws
|
||||||
|
* Joining URLs with empty segments has been changed
|
||||||
|
to match :rfc:3986
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 12 10:35:11 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
Tue Mar 12 10:35:11 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-yarl
|
# spec file for package python-yarl
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-yarl
|
Name: python-yarl
|
||||||
Version: 1.9.4
|
Version: 1.20.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Yet another URL library
|
Summary: Yet another URL library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@@ -31,8 +31,9 @@ BuildRequires: %{python_module expandvars}
|
|||||||
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 multidict >= 4.0}
|
||||||
|
BuildRequires: %{python_module hypothesis >= 6.0}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest-cov}
|
BuildRequires: %{python_module propcache >= 0.2.0}
|
||||||
BuildRequires: %{python_module pytest-xdist}
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
@@ -40,6 +41,7 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-idna >= 2.0
|
Requires: python-idna >= 2.0
|
||||||
Requires: python-multidict >= 4.0
|
Requires: python-multidict >= 4.0
|
||||||
|
Requires: python-propcache >= 0.2.0
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -48,6 +50,12 @@ The module provides a URL class for url parsing and changing.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n yarl-%{version}
|
%autosetup -p1 -n yarl-%{version}
|
||||||
sed -i '/addopts/d' setup.cfg
|
sed -i '/addopts/d' setup.cfg
|
||||||
|
# Remove pytest_cov build requirement
|
||||||
|
sed -i 's/-p pytest_cov/-p no:pytest_cov/' pytest.ini
|
||||||
|
sed -i '/--cov/d' pytest.ini
|
||||||
|
|
||||||
|
# hypothesis warns about norecursedirs, but warnings are treated as errors. Resolving both problems.
|
||||||
|
rm pytest.ini
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -Wno-return-type"
|
export CFLAGS="%{optflags} -Wno-return-type"
|
||||||
@@ -58,7 +66,8 @@ export CFLAGS="%{optflags} -Wno-return-type"
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest_arch
|
# Ignore benchmarks tests that requires pytest-codspeed package
|
||||||
|
%pytest_arch --ignore tests/test_url_benchmarks.py --ignore tests/test_quoting_benchmarks.py
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|||||||
3
yarl-1.20.1.tar.gz
Normal file
3
yarl-1.20.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d017a4997ee50c91fd5466cef416231bb82177b93b029906cefc542ce14c35ac
|
||||||
|
size 186428
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:566db86717cf8080b99b58b083b773a908ae40f06681e87e589a976faf8246bf
|
|
||||||
size 141869
|
|
||||||
Reference in New Issue
Block a user