From ef17d47ee1b889ff439e9945be198e140037829eb43408213a12432058208fdd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 23 Apr 2025 20:20:49 +0000 Subject: [PATCH] Accepting request 1272155 from home:glaubitz:branches:devel:languages:python - Update to 5.1.1 * issue #146: fix pool hanging on pickle errors. * issue #147: fix pool hanging when futures are cancelled while large amount of data is being transferred. - Adjust upstream source name in spec file - Allow lower- and uppercase filenames for meta directory - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install - Use Python 3.11 on SLE-15 by default OBS-URL: https://build.opensuse.org/request/show/1272155 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pebble?expand=0&rev=36 --- Pebble-5.1.0.tar.gz | 3 --- pebble-5.1.1.tar.gz | 3 +++ python-Pebble.changes | 15 +++++++++++++++ python-Pebble.spec | 15 +++++++++------ 4 files changed, 27 insertions(+), 9 deletions(-) delete mode 100644 Pebble-5.1.0.tar.gz create mode 100644 pebble-5.1.1.tar.gz diff --git a/Pebble-5.1.0.tar.gz b/Pebble-5.1.0.tar.gz deleted file mode 100644 index 23ca170..0000000 --- a/Pebble-5.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c30376f1827b21ecec4126ff90e7f22ad5501cac1ff2b32c86ff2601681f932 -size 35060 diff --git a/pebble-5.1.1.tar.gz b/pebble-5.1.1.tar.gz new file mode 100644 index 0000000..3c9f6c3 --- /dev/null +++ b/pebble-5.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e91a5b8e48b30b26eaa5391ba2cf65fbb3594fba17b88bc0b3351cf849d0305 +size 38672 diff --git a/python-Pebble.changes b/python-Pebble.changes index e80a913..bdc169e 100644 --- a/python-Pebble.changes +++ b/python-Pebble.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Apr 23 10:56:25 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 5.1.1 + * issue #146: fix pool hanging on pickle errors. + * issue #147: fix pool hanging when futures are cancelled + while large amount of data is being transferred. +- Adjust upstream source name in spec file +- Allow lower- and uppercase filenames for meta directory +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install +- Use Python 3.11 on SLE-15 by default + ------------------------------------------------------------------- Fri Jan 24 13:34:44 UTC 2025 - Yunus Acar diff --git a/python-Pebble.spec b/python-Pebble.spec index 3031c08..04033c8 100644 --- a/python-Pebble.spec +++ b/python-Pebble.spec @@ -16,14 +16,17 @@ # +%{?sle15_python_module_pythons} Name: python-Pebble -Version: 5.1.0 +Version: 5.1.1 Release: 0 Summary: Threading and multiprocessing eye-candy for Python License: LGPL-3.0-only URL: https://github.com/noxdafox/pebble -Source: https://files.pythonhosted.org/packages/source/P/Pebble/Pebble-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pebble/pebble-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: git-core BuildRequires: python-rpm-macros @@ -39,13 +42,13 @@ Pebble provides an API to manage threads and processes within an application. It wraps Python’s standard library threading and multiprocessing objects. %prep -%setup -q -n Pebble-%{version} +%setup -q -n pebble-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -55,6 +58,6 @@ It wraps Python’s standard library threading and multiprocessing objects. %doc README.rst %license LICENSE %{python_sitelib}/pebble -%{python_sitelib}/Pebble-%{version}* +%{python_sitelib}/[Pp]ebble-%{version}* %changelog