From 24beda1d744bd280dfd7796ee4af2dedb2cc51703119932ebf380f78e2a40611 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 14 Jan 2024 15:10:17 +0000 Subject: [PATCH] - update to 1.9.4: * Started raising :py:exc:`TypeError` when a string value is passed into :py:meth:`~yarl.URL.build` as the port argument -- by :user:`commonism`. Previously the empty string as port would create malformed URLs when rendered as string representations. * Started raising :py:exc:`TypeError` when a string value is passed into :py:meth:`~yarl.URL.build` as the port argument * Previously the empty string as port would create malformed URLs when rendered as string representations. (:issue:`883`) * The leading -- has been dropped from the PEP 517 in-tree build backend config setting names. --pure-python is now just pure-python -- by :user:`webknjaz`. The usage now looks as follows: $ python -m build \ --config-setting=pure- python=true \ --config-setting=with-cython-tracing=true (:issue:`963`) * The leading -- has been dropped from the PEP 517 in-tree build backend config setting names. --pure-python is now just pure-python -- by :user:`webknjaz`. * It is now possible to request line tracing in Cython builds using the with-cython-tracing PEP 517 config setting -- :user:`webknjaz`. This can be used in CI and development environment to measure coverage on Cython modules, but is not normally useful to the end-users or downstream packagers. Here's a usage example: $ python -Im pip install . --config- settings=with-cython-tracing=true For editable installs, this setting is on by default. Otherwise, it's off unless requested explicitly. (:issue:`962`) - drop reproducible.patch (upstream) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=60 --- python-yarl.changes | 33 +++++++++++++++++++++++++++++++++ python-yarl.spec | 9 +++++---- reproducible.patch | 22 ---------------------- yarl-1.9.3.tar.gz | 3 --- yarl-1.9.4.tar.gz | 3 +++ 5 files changed, 41 insertions(+), 29 deletions(-) delete mode 100644 reproducible.patch delete mode 100644 yarl-1.9.3.tar.gz create mode 100644 yarl-1.9.4.tar.gz diff --git a/python-yarl.changes b/python-yarl.changes index 4214409..1023dce 100644 --- a/python-yarl.changes +++ b/python-yarl.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Sun Jan 14 15:08:48 UTC 2024 - Dirk Müller + +- update to 1.9.4: + * Started raising :py:exc:`TypeError` when a string value is + passed into :py:meth:`~yarl.URL.build` as the port argument + -- by :user:`commonism`. Previously the empty string as port + would create malformed URLs when rendered as string + representations. + * Started raising :py:exc:`TypeError` when a string value is + passed into :py:meth:`~yarl.URL.build` as the port argument + * Previously the empty string as port would create malformed + URLs when rendered as string representations. (:issue:`883`) + * The leading -- has been dropped from the PEP 517 in-tree + build backend config setting names. --pure-python is now just + pure-python -- by :user:`webknjaz`. The usage now looks as + follows: $ python -m build \ --config-setting=pure- + python=true \ --config-setting=with-cython-tracing=true + (:issue:`963`) + * The leading -- has been dropped from the PEP 517 in-tree + build backend config setting names. --pure-python is now just + pure-python -- by :user:`webknjaz`. + * It is now possible to request line tracing in Cython builds + using the with-cython-tracing PEP 517 config setting -- + :user:`webknjaz`. This can be used in CI and development + environment to measure coverage on Cython modules, but is not + normally useful to the end-users or downstream packagers. + Here's a usage example: $ python -Im pip install . --config- + settings=with-cython-tracing=true For editable installs, + this setting is on by default. Otherwise, it's off unless + requested explicitly. (:issue:`962`) +- drop reproducible.patch (upstream) + ------------------------------------------------------------------- Tue Dec 12 03:44:58 UTC 2023 - Bernhard Wiedemann diff --git a/python-yarl.spec b/python-yarl.spec index b404a66..b63cb71 100644 --- a/python-yarl.spec +++ b/python-yarl.spec @@ -1,7 +1,7 @@ # # spec file for package python-yarl # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,12 @@ %{?sle15_python_module_pythons} Name: python-yarl -Version: 1.9.3 +Version: 1.9.4 Release: 0 Summary: Yet another URL library License: Apache-2.0 URL: https://github.com/aio-libs/yarl/ Source: https://files.pythonhosted.org/packages/source/y/yarl/yarl-%{version}.tar.gz -Patch0: reproducible.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module expandvars} @@ -32,6 +31,8 @@ BuildRequires: %{python_module idna >= 2.0} # test requirements BuildRequires: %{python_module multidict >= 4.0} BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module wheel} BuildRequires: fdupes @@ -62,6 +63,6 @@ export CFLAGS="%{optflags} -Wno-return-type" %license LICENSE %doc CHANGES.rst README.rst %{python_sitearch}/yarl -%{python_sitearch}/yarl-%{version}*-info +%{python_sitearch}/yarl-%{version}.dist-info %changelog diff --git a/reproducible.patch b/reproducible.patch deleted file mode 100644 index 266d7f1..0000000 --- a/reproducible.patch +++ /dev/null @@ -1,22 +0,0 @@ -Date: 2023-12-12 -Author: Bernhard M. Wiedemann - -Make package build reproducible - -For this we avoid the use of a random tmp path -that gets embedded into -/usr/lib64/python3.10/site-packages/yarl/_quoting_c.cpython-310-x86_64-linux-gnu.so - -diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py -index 9360598..8731ed1 100644 ---- a/packaging/pep517_backend/_backend.py -+++ b/packaging/pep517_backend/_backend.py -@@ -323,7 +323,7 @@ def build_wheel( - - """ - with maybe_prebuild_c_extensions( -- build_inplace=False, -+ build_inplace=True, - config_settings=config_settings, - ): - return _setuptools_build_wheel( diff --git a/yarl-1.9.3.tar.gz b/yarl-1.9.3.tar.gz deleted file mode 100644 index 5810cb9..0000000 --- a/yarl-1.9.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4a14907b597ec55740f63e52d7fee0e9ee09d5b9d57a4f399a7423268e457b57 -size 135606 diff --git a/yarl-1.9.4.tar.gz b/yarl-1.9.4.tar.gz new file mode 100644 index 0000000..6262046 --- /dev/null +++ b/yarl-1.9.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:566db86717cf8080b99b58b083b773a908ae40f06681e87e589a976faf8246bf +size 141869