15
0
forked from pool/python-Pebble

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
This commit is contained in:
2025-04-23 20:20:49 +00:00
committed by Git OBS Bridge
parent 0e87e028ab
commit ef17d47ee1
4 changed files with 27 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c30376f1827b21ecec4126ff90e7f22ad5501cac1ff2b32c86ff2601681f932
size 35060

3
pebble-5.1.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e91a5b8e48b30b26eaa5391ba2cf65fbb3594fba17b88bc0b3351cf849d0305
size 38672

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Apr 23 10:56:25 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <yunus.acar@suse.com>

View File

@@ -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 Pythons 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 Pythons standard library threading and multiprocessing objects.
%doc README.rst
%license LICENSE
%{python_sitelib}/pebble
%{python_sitelib}/Pebble-%{version}*
%{python_sitelib}/[Pp]ebble-%{version}*
%changelog