Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ae8467b551 | |||
| 85d05831bf |
@@ -1,9 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 24 01:39:45 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch support-python314.patch:
|
||||
* Do not use return inside a finally block.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 15 05:20:40 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-parfive
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -24,8 +24,6 @@ Summary: A HTTP and FTP parallel file downloader
|
||||
License: MIT
|
||||
URL: https://parfive.readthedocs.io/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/parfive/parfive-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE Do not use return inside a finally block
|
||||
Patch0: support-python314.patch
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
Index: parfive-2.2.0/parfive/downloader.py
|
||||
===================================================================
|
||||
--- parfive-2.2.0.orig/parfive/downloader.py
|
||||
+++ parfive-2.2.0/parfive/downloader.py
|
||||
@@ -317,8 +317,7 @@ class Downloader:
|
||||
task.cancel()
|
||||
dl_results = await asyncio.gather(*tasks, return_exceptions=True)
|
||||
|
||||
- finally:
|
||||
- return self._format_results(dl_results, main_pb)
|
||||
+ return self._format_results(dl_results, main_pb)
|
||||
|
||||
def _format_results(self, retvals, main_pb):
|
||||
# Squash all nested lists into a single flat list
|
||||
Reference in New Issue
Block a user