Skip to content

Commit 8052d01

Browse files
authored
Merge pull request #4774 from sambrightman/pin-more_itertools
Constrain more_itertools for Python 2.7 compatibility
2 parents 67dd10d + a800328 commit 8052d01

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

changelog/4770.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
``more_itertools`` is now constrained to <6.0.0 when required for Python 2.7 compatibility.

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"six>=1.10.0",
1111
"setuptools",
1212
"attrs>=17.4.0",
13-
"more-itertools>=4.0.0",
13+
'more-itertools>=4.0.0,<6.0.0;python_version<="2.7"',
14+
'more-itertools>=4.0.0;python_version>"2.7"',
1415
"atomicwrites>=1.0",
1516
'funcsigs;python_version<"3.0"',
1617
'pathlib2>=2.2.0;python_version<"3.6"',

0 commit comments

Comments
 (0)