From 90e969b3099f81c48a9159f901382cb8e7f6a9225a32f4740949d69871f24a7b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 29 Jun 2024 12:50:18 +0000 Subject: [PATCH] - update to 1.2.1: * Avoid error when terminal width is undetectable on Python < 3.11 * Add --installer option, supporting pip and uv. Added uv extra. * Improve console output and provide -v for dependency installation * Avoid compiling unused bytecode when using pip * Dropped support for Python 3.7 * Fixed invoking outer pip from user site packages * Corrected the minimum pip version required to use an outer pip * Use external pip if available instead of installing, speeds up environment setup with virtualenv slightly and venv significantly. * Stopped injecting wheel as a build dependency automatically, in the case of missing pyproject.toml -- by :user:`webknjaz`. * Use importlib_metadata on Python <3.10.2 for bugfixes not present in those CPython standard libraries (not required when bootstrapping) -- by :user:`GianlucaFicarelli`. - Update to v0.9.0 - Drop remove-unused-import.patch - Add remove-unused-import.patch to work with importlib_metadata OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=28 --- build-1.0.3.tar.gz | 3 --- build-1.2.1.tar.gz | 3 +++ python-build.changes | 30 +++++++++++++++++++++++++++--- python-build.spec | 8 ++++---- 4 files changed, 34 insertions(+), 10 deletions(-) delete mode 100644 build-1.0.3.tar.gz create mode 100644 build-1.2.1.tar.gz diff --git a/build-1.0.3.tar.gz b/build-1.0.3.tar.gz deleted file mode 100644 index 3a704ac..0000000 --- a/build-1.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f9201228d0af78aac3c672e89a81749a001d8d7f448cf9196d93cce8d5ee45a -size 43412 diff --git a/build-1.2.1.tar.gz b/build-1.2.1.tar.gz new file mode 100644 index 0000000..5f1b9fb --- /dev/null +++ b/build-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:571fbbcd187eed0e7af47dd49e8f25ab22fb9cfbde5ed1daea67c5187dad9df6 +size 47394 diff --git a/python-build.changes b/python-build.changes index d8abe71..7ceaadd 100644 --- a/python-build.changes +++ b/python-build.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Sat Jun 29 12:49:33 UTC 2024 - Dirk Müller + +- update to 1.2.1: + * Avoid error when terminal width is undetectable on Python < + 3.11 + * Add --installer option, supporting pip and uv. Added uv + extra. + * Improve console output and provide -v for dependency + installation + * Avoid compiling unused bytecode when using pip + * Dropped support for Python 3.7 + * Fixed invoking outer pip from user site packages + * Corrected the minimum pip version required to use an outer + pip + * Use external pip if available instead of installing, speeds + up environment setup with virtualenv slightly and venv + significantly. + * Stopped injecting wheel as a build dependency automatically, + in the case of missing pyproject.toml -- by :user:`webknjaz`. + * Use importlib_metadata on Python <3.10.2 for bugfixes not + present in those CPython standard libraries (not required + when bootstrapping) -- by :user:`GianlucaFicarelli`. + ------------------------------------------------------------------- Wed Sep 20 07:50:56 UTC 2023 - Steve Kowalik @@ -84,7 +108,7 @@ Sun Jan 1 18:26:09 UTC 2023 - Ben Greiner ------------------------------------------------------------------- Mon Nov 7 20:52:13 UTC 2022 - Yogalakshmi Arunachalam -- Update to v0.9.0 +- Update to v0.9.0 * Hide a Python 3.11.0 unavoidable warning with venv (PR #527) * Fix infinite recursion error in check_dependency with circular dependencies (PR #512, Fixes #511) * Only import colorama on Windows (PR #494, Fixes #493) @@ -117,12 +141,12 @@ Sat Oct 16 12:24:15 UTC 2021 - Ben Greiner https://pypa-build.readthedocs.io/en/stable/changelog.html * Dropped support for Python 2 and 3.5 - Avoid possible bootstrap build depcycles with _multibuild -- Drop remove-unused-import.patch +- Drop remove-unused-import.patch ------------------------------------------------------------------- Thu Dec 17 14:52:54 UTC 2020 - Benjamin Greiner -- Add remove-unused-import.patch to work with importlib_metadata +- Add remove-unused-import.patch to work with importlib_metadata ------------------------------------------------------------------- Fri Nov 13 11:14:24 UTC 2020 - John Vandenberg diff --git a/python-build.spec b/python-build.spec index 078207e..4ba2cec 100644 --- a/python-build.spec +++ b/python-build.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-build # -# 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 @@ -29,7 +29,7 @@ %{?sle15_python_module_pythons} Name: python-build%{psuffix} -Version: 1.0.3 +Version: 1.2.1 Release: 0 Summary: Simple PEP517 package builder License: MIT @@ -51,7 +51,7 @@ Requires: (python-importlib-metadata >= 0.22 if python-base < 3.8) Requires: (python-tomli >= 1.1.0 if python-base < 3.11) Recommends: python-virtualenv >= 20.0.35 Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %if %{with test} BuildRequires: %{python_module build = %{version}}