From 20238a48e40d055cbef4b5072a5489cc149b599e Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 26 May 2021 17:26:56 +0100 Subject: [PATCH] Avoid using toml as extra Avoid pip-compile bug which forces it to produce invalid constraints files. Installing toml as a direct dependency is enough to avoid this bug. Related: https://github.com/jazzband/pip-tools/issues/1300 --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ca77760c..ebb7e9b0 100755 --- a/setup.py +++ b/setup.py @@ -124,7 +124,8 @@ def run(self): ], install_requires=[ 'pytest>=4.6', - 'coverage[toml]>=5.2.1' + 'coverage>=5.2.1', + 'toml' ], python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', extras_require={