File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,20 +103,25 @@ commands =
103103 python apache_beam/examples/complete/autocomplete_test.py
104104 bash {toxinidir}/scripts/run_pytest.sh {envname} " {posargs}"
105105
106- [testenv:py{310,311} -ml]
106+ [testenv:py310 -ml]
107107# Don't set TMPDIR to avoid "AF_UNIX path too long" errors in certain tests.
108+ install_command =
109+ {envbindir}/python {envbindir}/pip install --retries 10 --constraint {toxinidir}/container/ml/py310/base_image_requirements.txt {opts} {packages}
110+ deps =
111+ pip_pre = False
112+ extras = test,gcp,dataframe,ml_test
113+ commands =
114+ /bin/sh -c " pip freeze | grep -E tensorflow"
115+ bash {toxinidir}/scripts/run_pytest.sh {envname} " {posargs}"
116+
117+ [testenv:py311-ml]
118+ # Don't set TMPDIR to avoid "AF_UNIX path too long" errors in certain tests.
119+ install_command =
120+ {envbindir}/python {envbindir}/pip install --retries 10 --constraint {toxinidir}/container/ml/py311/base_image_requirements.txt {opts} {packages}
108121deps =
109- pip ==25.0.1
110- accelerate>=1.6.0
111- onnx<1.19.0
112- google-cloud-aiplatform ==1.138.0
113- googleapis-common-protos ==1.72.0
114- grpcio-status ==1.65.5
115122pip_pre = False
116- setenv =
117123extras = test,gcp,dataframe,ml_test
118124commands =
119- # Log tensorflow version for debugging
120125 /bin/sh -c " pip freeze | grep -E tensorflow"
121126 bash {toxinidir}/scripts/run_pytest.sh {envname} " {posargs}"
122127
You can’t perform that action at this time.
0 commit comments