Skip to content

Commit 7e1b202

Browse files
authored
Add datasets + transformers + scipy to test deps (#279)
Add datasets + transformers to test deps
1 parent 170af08 commit 7e1b202

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/push_tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
python -m pip uninstall -y torch torchvision torchtext
4141
python -m pip install torch --extra-index-url https://download.pytorch.org/whl/cu116
4242
python -m pip install -e .[quality,test]
43-
python -m pip install scipy transformers
4443
4544
- name: Environment
4645
run: |

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def run(self):
168168
extras["quality"] = ["black==22.3", "isort>=5.5.4", "flake8>=3.8.3", "hf-doc-builder"]
169169
extras["docs"] = ["hf-doc-builder"]
170170
extras["training"] = ["accelerate", "datasets", "tensorboard", "modelcards"]
171-
extras["test"] = ["pytest", "pytest-timeout", "pytest-xdist"]
171+
extras["test"] = ["datasets", "pytest", "pytest-timeout", "pytest-xdist", "scipy", "transformers"]
172172
extras["dev"] = extras["quality"] + extras["test"] + extras["training"] + extras["docs"]
173173

174174
install_requires = [

0 commit comments

Comments
 (0)