forked from pool/python-Pebble
- 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
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Pebble
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,19 +18,19 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-Pebble
|
||||
Version: 5.1.1
|
||||
Version: 5.1.3
|
||||
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
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: git-core
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-base >= 3.7
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
@@ -52,12 +52,13 @@ It wraps Python’s standard library threading and multiprocessing objects.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
# Seems to actually deadlock
|
||||
%pytest -k 'not test_pool_deadlock_stop_cancel'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/pebble
|
||||
%{python_sitelib}/[Pp]ebble-%{version}*
|
||||
%{python_sitelib}/[Pp]ebble-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user