From 1a595f1ba23843823037479d0caede926b0bd752 Mon Sep 17 00:00:00 2001 From: Pablo Santiago Blum de Aguiar Date: Sat, 17 Apr 2021 14:51:18 +0200 Subject: [PATCH] #N/A: Force decorator<5 for Python <= 2.7 For some reason, the index used by GH Actions is not considering the requesting Python version to decide which package version to deliver. This is unnecessary for the official index and will be removed once we drop support to Python 2. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 8a8c06fc..89172e98 100755 --- a/setup.py +++ b/setup.py @@ -36,6 +36,7 @@ VERSION = '3.30' install_requires = ['psutil', 'colorama', 'six', 'decorator', 'pyte'] extras_require = {':python_version<"3.4"': ['pathlib2'], ':python_version<"3.3"': ['backports.shutil_get_terminal_size'], + ':python_version<="2.7"': ['decorator<5'], ":sys_platform=='win32'": ['win_unicode_console']} setup(name='thefuck',