Skip to content

Commit 08e40f9

Browse files
committed
BF(TEMP): remove python_version== from requires spec
Is not understood by older dh_python e.g. on debian stretch leading to a bizzare dependency. It would need to be removed for python3 support
1 parent 0ed7b38 commit 08e40f9

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

debian/patches/deb_simplify_requires

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
From: Yaroslav Halchenko <[email protected]>
2+
Subject: BF(TEMP): remove python_version== from requires spec
3+
4+
Is not understood by older dh_python e.g. on debian stretch
5+
leading to a bizzare dependency. It would need to be removed for
6+
python3 support
7+
8+
Origin: NeuroDebian
9+
Last-Update: 2018-08-09
10+
11+
--- a/nipype/info.py
12+
+++ b/nipype/info.py
13+
@@ -148,7 +148,7 @@ REQUIRES = [
14+
'pydotplus',
15+
'pydot>=%s' % PYDOT_MIN_VERSION,
16+
'packaging',
17+
- 'futures; python_version == "2.7"',
18+
+ 'futures',
19+
]
20+
21+
if sys.version_info <= (3, 4):

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
deb_simplify_requires
12
deb_pytest_xdist_no-nauto
23
deb_no_explicit_pydot
34
deb_imgmath_optional

0 commit comments

Comments
 (0)