Skip to content

Commit 4e2c576

Browse files
authored
Do not install typing after Python 3.6
Applying the same fix here than in aboutcode-org/commoncode#5 Reported-by: Signed-off-by: Conley Owens <cco3@google.com> Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent ba4bbf2 commit 4e2c576

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def read(*names, **kwargs):
197197
'colorama >= 0.3.9',
198198
'pluggy >= 0.4.0, < 1.0',
199199
'attrs >= 18.1, !=20.1.0',
200-
'typing >=3.6, < 3.7',
200+
'typing >=3.6, < 3.7; python_version < "3.7"',
201201

202202
# scancode outputs
203203
'jinja2 >= 2.7.0, < 3.0.0',

0 commit comments

Comments
 (0)