forked from pool/python-yarl
Compare commits
12 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e03e258516 | |||
| e1fa1b1a94 | |||
| cec10e844e | |||
| 5335069d73 | |||
| a9ae326466 | |||
| 971cd0450c | |||
| 4437fcb7c0 | |||
| 154aed2175 | |||
| ebaddf8cbf | |||
| fc1cf45974 | |||
| 997df0818a | |||
| 60463dc6a0 |
@@ -1,3 +1,172 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-yarl
|
||||
Version: 1.9.4
|
||||
Version: 1.20.0
|
||||
Release: 0
|
||||
Summary: Yet another URL library
|
||||
License: Apache-2.0
|
||||
@@ -31,8 +31,9 @@ BuildRequires: %{python_module expandvars}
|
||||
BuildRequires: %{python_module idna >= 2.0}
|
||||
# test requirements
|
||||
BuildRequires: %{python_module multidict >= 4.0}
|
||||
BuildRequires: %{python_module hypothesis >= 6.0}
|
||||
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}
|
||||
BuildRequires: %{python_module wheel}
|
||||
@@ -40,6 +41,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-idna >= 2.0
|
||||
Requires: python-multidict >= 4.0
|
||||
Requires: python-propcache >= 0.2.0
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -48,6 +50,12 @@ The module provides a URL class for url parsing and changing.
|
||||
%prep
|
||||
%autosetup -p1 -n yarl-%{version}
|
||||
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
|
||||
export CFLAGS="%{optflags} -Wno-return-type"
|
||||
@@ -58,7 +66,8 @@ export CFLAGS="%{optflags} -Wno-return-type"
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%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}
|
||||
%license LICENSE
|
||||
|
||||
BIN
yarl-1.20.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
yarl-1.20.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:566db86717cf8080b99b58b083b773a908ae40f06681e87e589a976faf8246bf
|
||||
size 141869
|
||||
Reference in New Issue
Block a user