Skip to content

Commit

Permalink
Add python version condition for fakeredis
Browse files Browse the repository at this point in the history
  • Loading branch information
nzw0301 committed May 14, 2022
1 parent 2754d26 commit 149fcaf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Expand Up @@ -94,7 +94,8 @@ def get_extras_require() -> Dict[str, List[str]]:
"testing": [
"chainer>=5.0.0",
"cma",
"fakeredis",
"fakeredis<=1.7.1; python_version<'3.8'",
"fakeredis ; python_version>='3.8'",
"lightgbm",
"matplotlib>=3.0.0",
"mlflow",
Expand Down Expand Up @@ -127,7 +128,8 @@ def get_extras_require() -> Dict[str, List[str]]:
"fastai ; python_version>'3.6' and python_version<'3.10'",
],
"tests": [
"fakeredis",
"fakeredis<=1.7.1; python_version<'3.8'",
"fakeredis ; python_version>='3.8'",
"pytest",
],
"optional": [
Expand Down

0 comments on commit 149fcaf

Please sign in to comment.