From d7561379a6e7bb57c8e13159b8ca5847b2e7e13f3ebf89f70a97c5cd42f3f0d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Sep 2024 16:27:30 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-wheel revision 018fac77a1d6a22285114ebbed87b424 --- python-wheel.changes | 24 ++++++++++++++++++++++++ python-wheel.spec | 26 ++++++++++++++++++-------- wheel-0.41.2.tar.gz | 3 --- wheel-0.43.0.tar.gz | 3 +++ 4 files changed, 45 insertions(+), 11 deletions(-) delete mode 100644 wheel-0.41.2.tar.gz create mode 100644 wheel-0.43.0.tar.gz diff --git a/python-wheel.changes b/python-wheel.changes index 5bee193..bcad421 100644 --- a/python-wheel.changes +++ b/python-wheel.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Sat Mar 16 14:23:45 UTC 2024 - Dirk Müller + +- update to 0.43.0: + * Dropped support for Python 3.7 + * Updated vendored packaging to 24.0 + +------------------------------------------------------------------- +Fri Dec 22 15:31:14 UTC 2023 - Ben Greiner + +- Update to 0.42.0 + * Allowed removing build tag with wheel tags --build "" + * Fixed wheel pack and wheel tags writing updated WHEEL fields + after a blank line, causing other tools to ignore them + * Fixed wheel pack and wheel tags writing WHEEL with CRLF line + endings or a mix of CRLF and LF + * Fixed wheel pack --build-number "" not removing build tag from + WHEEL (above changes by Benjamin Gilbert) +- Release 0.41.3 + * Updated vendored packaging to 23.2 + * Fixed ABI tag generation for CPython 3.13a1 on Windows (PR by + Sam Gross) +- Remove pip dependency for easier bootstrap + ------------------------------------------------------------------- Mon Sep 4 03:35:21 UTC 2023 - Martin Schreiner diff --git a/python-wheel.spec b/python-wheel.spec index 7c70502..7b96954 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-wheel # -# 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 @@ -32,16 +32,16 @@ %endif %{?sle15_python_module_pythons} Name: python-wheel%{psuffix} -Version: 0.41.2 +Version: 0.43.0 Release: 0 Summary: A built-package format for Python License: MIT Group: Development/Languages/Python URL: https://github.com/pypa/wheel Source: https://github.com/pypa/wheel/archive/%{version}.tar.gz#/wheel-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.7} +# Bootstrap: Don't BuildRequire setuptools or pip here! +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module flit-core} -BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210929 %if %{with libalternatives} @@ -49,7 +49,7 @@ Requires: alts BuildRequires: alts %else Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %endif BuildArch: noarch %if %{with test} @@ -74,11 +74,21 @@ final locations) at any later time. %autosetup -p1 -n wheel-%{version} %build -%pyproject_wheel +%if !%{with test} +%{python_expand # bootstrap with built-in pip +$python -m venv build/env +build/env/bin/python -m ensurepip +export PYTHONPATH=build/env/lib/python%{$python_bin_suffix}/site-packages +%{$python_pyproject_wheel} +} +%endif %install %if !%{with test} -%pyproject_install +%{python_expand # use pip bootstrapped above +export PYTHONPATH=build/env/lib/python%{$python_bin_suffix}/site-packages +%{$python_pyproject_install} +} %python_clone -a %{buildroot}%{_bindir}/wheel %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif diff --git a/wheel-0.41.2.tar.gz b/wheel-0.41.2.tar.gz deleted file mode 100644 index f774bc2..0000000 --- a/wheel-0.41.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:383cdc7331f5e146bdf6e19b826bfa6c0afc4f4ab80a1cd24f42edd21a263fb4 -size 98265 diff --git a/wheel-0.43.0.tar.gz b/wheel-0.43.0.tar.gz new file mode 100644 index 0000000..691ecb5 --- /dev/null +++ b/wheel-0.43.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23060d7cc8afafc2930554624b4bae7d58031830672048622c926675ab91e3b0 +size 99333