Merge pull request #6345 from nightlark/patch-1

Pin the colorama version only for Python 3.4
This commit is contained in:
Anthony Sottile 2019-12-19 14:38:59 -08:00 committed by GitHub
commit 9ab4032f74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -1 +0,0 @@
Pin ``colorama`` to ``0.4.1`` as later versions no longer support Python 3.4.

View File

@ -0,0 +1 @@
Pin ``colorama`` to ``0.4.1`` only for Python 3.4 so newer Python versions can still receive colorama updates.

View File

@ -13,7 +13,8 @@ INSTALL_REQUIRES = [
"atomicwrites>=1.0",
'funcsigs>=1.0;python_version<"3.0"',
'pathlib2>=2.2.0;python_version<"3.6"',
'colorama<=0.4.1;sys_platform=="win32"',
'colorama<=0.4.1;sys_platform=="win32" and python_version=="3.4"',
'colorama;sys_platform=="win32" and python_version!="3.4"',
"pluggy>=0.12,<1.0",
'importlib-metadata>=0.12;python_version<"3.8"',
"wcwidth",