Skip to content

Commit 7466e7e

Browse files
fix: Simplify how we process test dependencies, which are supposed to include all extras. (#4513)
Co-authored-by: Shailav Taneja <none>
1 parent a414542 commit 7466e7e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

requirements/extras/test_requirements.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,7 @@ pyvis==0.2.1
2323
pandas>=1.3.5,<1.5
2424
scikit-learn==1.3.0
2525
cloudpickle==2.2.1
26-
scipy==1.10.1
27-
urllib3>=1.26.8,<3.0.0
28-
docker>=5.0.2,<7.0.0
2926
PyYAML==6.0
30-
pyspark==3.3.1
31-
sagemaker-feature-store-pyspark-3.3
3227
# TODO find workaround
3328
xgboost>=1.6.2,<=1.7.6
3429
pillow>=10.0.1,<=11
@@ -39,4 +34,3 @@ tritonclient[http]<2.37.0
3934
onnx==1.14.1
4035
# tf2onnx==1.15.1
4136
nbformat>=5.9,<6
42-
accelerate>=0.24.1,<=0.27.0

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ def read_requirements(filename):
8585
extras["all"] = [item for group in extras.values() for item in group]
8686
# Tests specific dependencies (do not need to be included in 'all')
8787
test_dependencies = read_requirements("requirements/extras/test_requirements.txt")
88+
# test dependencies are a superset of testing and extra dependencies
89+
test_dependencies.extend(extras["all"])
8890
# remove torch and torchvision if python version is not 3.10
8991
if sys.version_info.minor != 10:
9092
test_dependencies = [

0 commit comments

Comments
 (0)