1
0
forked from pool/python-Pebble

6 Commits

Author SHA256 Message Date
584ddabfb0 Accepting request 1299497 from devel:languages:python
- Update to 5.1.3:
  * issue #152: fix crash when scheduling non copy-able functions
  * issue #101: allow `atexit.register` callbacks on pool shutdown
  * Fix deadlock with `waitforthreads` function
  * Fix bug causing threads to crash when using `waitforthreads`
    function

OBS-URL: https://build.opensuse.org/request/show/1299497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pebble?expand=0&rev=19
2025-08-15 19:52:29 +00:00
90c82818c4 - Update to 5.1.3:
* issue #152: fix crash when scheduling non copy-able functions
  * issue #101: allow `atexit.register` callbacks on pool shutdown
  * Fix deadlock with `waitforthreads` function
  * Fix bug causing threads to crash when using `waitforthreads`
    function

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pebble?expand=0&rev=38
2025-08-15 02:18:30 +00:00
7625ea81c1 Accepting request 1272261 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1272261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pebble?expand=0&rev=18
2025-04-24 15:25:45 +00:00
aea91005f5 - 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/package/show/devel:languages:python/python-Pebble?expand=0&rev=36
2025-04-23 20:20:49 +00:00
b3591c55d3 Accepting request 1240458 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1240458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pebble?expand=0&rev=17
2025-01-27 19:55:16 +00:00
3523844cfb - Update to 5.1.0:
* issue #140: expose internal constants to allow changing default
    timeouts and polling intervals.
  * issue #141: add PID of expired process to ProcessExpired exception.
  * Add pool decorators parameter allowing to provide a PebblePool
    as executor for the decorated functions.
  * issue #137: reset SIGTERM default handler to child processes.
  * Include concurrent and asynchronous modules as top-level packages.
  * Improve type hinting logic.
  * Refactor internal logic: remove code duplication.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pebble?expand=0&rev=34
2025-01-27 08:49:52 +00:00
4 changed files with 56 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2784c147766f06388cea784084b14bec93fdbaa793830f1983155aa330a2a6e4
size 32054

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

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9fdf00dde4abb09907817114ad8cf822836b6d6cc8f43a3f0ec741be276086e7
size 39027

View File

@@ -1,3 +1,42 @@
-------------------------------------------------------------------
Fri Aug 15 02:17:49 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 5.1.3:
* issue #152: fix crash when scheduling non copy-able functions
* issue #101: allow `atexit.register` callbacks on pool shutdown
* Fix deadlock with `waitforthreads` function
* Fix bug causing threads to crash when using `waitforthreads`
function
-------------------------------------------------------------------
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>
- Update to 5.1.0:
* issue #140: expose internal constants to allow changing default
timeouts and polling intervals.
* issue #141: add PID of expired process to ProcessExpired exception.
* Add pool decorators parameter allowing to provide a PebblePool
as executor for the decorated functions.
* issue #137: reset SIGTERM default handler to child processes.
* Include concurrent and asynchronous modules as top-level packages.
* Improve type hinting logic.
* Refactor internal logic: remove code duplication.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 22 21:01:33 UTC 2024 - Dirk Müller <dmueller@suse.com> Fri Mar 22 21:01:33 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-Pebble # spec file for package python-Pebble
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,21 @@
# #
%{?sle15_python_module_pythons}
Name: python-Pebble Name: python-Pebble
Version: 5.0.7 Version: 5.1.3
Release: 0 Release: 0
Summary: Threading and multiprocessing eye-candy for Python Summary: Threading and multiprocessing eye-candy for Python
License: LGPL-3.0-only License: LGPL-3.0-only
URL: https://github.com/noxdafox/pebble 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 base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: git-core BuildRequires: git-core
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python3-base >= 3.7
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
@@ -39,21 +42,23 @@ Pebble provides an API to manage threads and processes within an application.
It wraps Pythons standard library threading and multiprocessing objects. It wraps Pythons standard library threading and multiprocessing objects.
%prep %prep
%setup -q -n Pebble-%{version} %setup -q -n pebble-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%pytest # Seems to actually deadlock
%pytest -k 'not test_pool_deadlock_stop_cancel'
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/pebble
%{python_sitelib}/[Pp]ebble-%{version}.dist-info
%changelog %changelog