From f982a3be43c6cae805a6c33e7a506369a0045f35 Mon Sep 17 00:00:00 2001 From: PascalEgn Date: Thu, 18 Jul 2024 13:31:30 +0200 Subject: [PATCH] a --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 4c3b31c..eadeeef 100644 --- a/setup.py +++ b/setup.py @@ -51,15 +51,17 @@ 'flake8-future-import~=0.0,>=0.4.3', 'mock~=2.0,>=2.0.0', 'pytest-cov~=2.0,>=2.5.1', - 'pytest~=4.0,>=4.6.0; python_version <= "2.7"', 'pytest~=8.0,>=8.2.2; python_version >= "3"', - 'unicode-string-literal~=1.0,>=1.1; python_version <= "2.7"', 'deepdiff' ] extras_require = { 'docs': docs_require, 'tests': tests_require, + 'tests:python_version=="2.7"': [ + 'unicode-string-literal~=1.0,>=1.1', + 'pytest~=4.0,>=4.6.0', + ], } extras_require['all'] = []