From 34edfa1cf80f8d722dec4f587b10d2783f89a0f0 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Tue, 1 Jun 2021 10:51:23 +0100 Subject: [PATCH] Avoid using toml as extra (#472) 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={