@@ -28,21 +28,18 @@ deps=
2828 {[base]deps}
2929 ipython
3030 pandas
31+ sklearn-crfsuite
3132commands =
32- ; to install lightning numpy and Cython must be installed first
33- pip install Cython
34- pip install joblib " sklearn-contrib-lightning >= 0.4" --no-binary sklearn-contrib-lightning
3533 pip install -e .
3634 py.test --doctest-modules \
3735 --ignore eli5/xgboost.py \
3836 --ignore eli5/lightgbm.py \
3937 --ignore eli5/catboost.py \
4038 --ignore eli5/keras \
41- --ignore eli5/sklearn_crfsuite \
39+ --ignore eli5/lightning.py \
4240 --ignore eli5/formatters/image.py \
4341 --ignore tests/utils_image.py \
4442 --cov =eli5 --cov-report =html --cov-report =term {posargs: eli5 tests}
45- ; TODO once sklearn-crfsuite is compatible, stop ignoring eli5/sklearn_crfsuite
4643
4744
4845[testenv:py310-extra]
@@ -52,11 +49,14 @@ deps=
5249 xgboost
5350 lightgbm != 2.0.5, != 2.0.6
5451 catboost
55- tensorflow
56- keras
52+ # tensorflow
53+ # keras
5754 matplotlib
5855 Pillow
5956commands =
57+ ; to install lightning numpy and Cython must be installed first
58+ pip install Cython
59+ pip install joblib " sklearn-contrib-lightning >= 0.4" --no-binary sklearn-contrib-lightning
6060 pip install -e .
6161 ; run tests for extra dependencies
6262 py.test --doctest-modules \
@@ -68,15 +68,14 @@ commands=
6868 --ignore tests/test_sklearn_vectorizers.py \
6969 --ignore tests/test_utils.py \
7070 --ignore eli5/lightning.py \
71- --ignore eli5/sklearn_crfsuite \
71+ --ignore eli5/keras \
7272 --cov =eli5 --cov-report =html --cov-report =term {posargs: eli5 tests}
7373
7474
7575[testenv:py310-nodeps]
7676deps =
7777 {[base]deps}
7878commands =
79- ; without lightning as it is optional
8079 pip install -e .
8180 py.test --doctest-modules \
8281 --ignore eli5/lightning.py \
@@ -93,7 +92,7 @@ commands=
9392
9493
9594[testenv:mypy]
96- basepython =python3.12
95+ basepython =python3.10
9796deps =
9897 {[testenv]deps}
9998 mypy == 0.750
@@ -103,6 +102,7 @@ commands=
103102
104103
105104[testenv:docs]
105+ basepython =python3.10
106106deps =
107107 mock ==1.0.1
108108 pillow ==8.3.1
0 commit comments