!15 Specify python_requires to prevent installation on Python 3
From: @zhang-liang-pengkun Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
6a95043386
@ -0,0 +1,25 @@
|
|||||||
|
From d0393ad626d25622927bb0ed47d35ddb2f6cd321 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Eli Schwartz <eschwartz93@gmail.com>
|
||||||
|
Date: Fri, 27 Oct 2017 18:07:12 -0400
|
||||||
|
Subject: [PATCH] Specify python_requires to prevent installation on Python 3
|
||||||
|
(#67)
|
||||||
|
|
||||||
|
---
|
||||||
|
setup.py | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index ea0c022..eb43091 100755
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -23,6 +23,7 @@ setup(name='futures',
|
||||||
|
maintainer_email='alex.gronholm+pypi@nextday.fi',
|
||||||
|
url='https://github.com/agronholm/pythonfutures',
|
||||||
|
packages=['concurrent', 'concurrent.futures'],
|
||||||
|
+ python_requires='>=2.6, <3',
|
||||||
|
license='PSF',
|
||||||
|
classifiers=['License :: OSI Approved :: Python Software Foundation License',
|
||||||
|
'Development Status :: 5 - Production/Stable',
|
||||||
|
--
|
||||||
|
2.39.0.windows.2
|
||||||
|
|
||||||
@ -1,11 +1,12 @@
|
|||||||
Name: python-futures
|
Name: python-futures
|
||||||
Version: 3.1.1
|
Version: 3.1.1
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: Backport of the concurrent.futures standard library module to Python 3.2
|
Summary: Backport of the concurrent.futures standard library module to Python 3.2
|
||||||
License: Python
|
License: Python
|
||||||
URL: https://github.com/agronholm/pythonfutures
|
URL: https://github.com/agronholm/pythonfutures
|
||||||
Source0: https://files.pythonhosted.org/packages/source/f/futures/futures-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/f/futures/futures-%{version}.tar.gz
|
||||||
Patch01: 0001-Backport-thread_name_prefix-from-upstream-64.patch
|
Patch01: 0001-Backport-thread_name_prefix-from-upstream-64.patch
|
||||||
|
Patch02: 0002-Specify-python_requires-to-prevent-installation-on-P.patch
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -40,6 +41,9 @@ The concurrent.futures module provides a high-level interface for asynchronously
|
|||||||
%{python2_sitelib}/futures-*.egg-info*
|
%{python2_sitelib}/futures-*.egg-info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 02 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 3.1.1-7
|
||||||
|
- Specify python_requires to prevent installation on Python 3
|
||||||
|
|
||||||
* Fri Oct 13 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 3.1.1-6
|
* Fri Oct 13 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 3.1.1-6
|
||||||
- fix Backport `thread_name_prefix` from upstream (#64)
|
- fix Backport `thread_name_prefix` from upstream (#64)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user