diff --git a/futures-3.1.1.tar.gz b/futures-3.1.1.tar.gz deleted file mode 100644 index ede0df33739a315f5b21481978c02157e2a019fc..0000000000000000000000000000000000000000 Binary files a/futures-3.1.1.tar.gz and /dev/null differ diff --git a/futures-3.2.0.tar.gz b/futures-3.2.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5e896bfa7cc616c6571e4907a2ec9e8067b3bc29 Binary files /dev/null and b/futures-3.2.0.tar.gz differ diff --git a/python-futures.spec b/python-futures.spec index 72628d6139d78487426d20bdb75d0326a63ef034..edefe1b797e2da797df44fd4a4c77ad2f2b0f589 100644 --- a/python-futures.spec +++ b/python-futures.spec @@ -1,11 +1,11 @@ Name: python-futures -Version: 3.1.1 -Release: 5 +Version: 3.2.0 +Release: 1 Summary: Backport of the concurrent.futures standard library module to Python 3.2 License: Python URL: https://github.com/agronholm/pythonfutures Source0: https://files.pythonhosted.org/packages/source/f/futures/futures-%{version}.tar.gz -BuildRequires: python2-devel +BuildRequires: python3-devel BuildArch: noarch %description @@ -14,30 +14,32 @@ execution can be performed with threads, using ThreadPoolExecutor, or separate p using ProcessPoolExecutor. Both implement the same interface, which is defined by the abstract Executor class. -%package -n python2-futures +%package -n python3-futures Summary: Backport of the concurrent.futures standard library module to Python 3.2 -%{?python_provide:%python_provide python2-futures} -Provides: python-futures = %{version}-%{release} -Obsoletes: python-futures < %{version}-%{release} +%{?python_provide:%python_provide python3-futures} +Provides: python3-futures = %{version}-%{release} +Obsoletes: python3-futures < %{version}-%{release} -%description -n python2-futures +%description -n python3-futures The concurrent.futures module provides a high-level interface for asynchronously executing callables. %prep %autosetup -n futures-%{version} -p1 %build -%{py2_build} +%{py3_build} %install -%{py2_install} +%{py3_install} -%files -n python2-futures +%files -n python3-futures %license LICENSE -%doc CHANGES -%{python2_sitelib}/concurrent -%{python2_sitelib}/futures-*.egg-info* +%{python3_sitelib}/concurrent +%{python3_sitelib}/futures-*.egg-info* %changelog +* Mon Jul 07 2025 openeuler_bot - 3.2.0-1 +- The ThreadPoolExecutor class constructor now accepts an optional `thread_name_prefix` argument to make it possible to customize the names of the threads created by the pool (version:3.2.0). + * Mon Oct 14 2019 Lijin Yang - 3.1.1-5 -- Package init +- Package init \ No newline at end of file