Skip to content

Commit

Permalink
try adding other ml testing deps for compat
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmccluskey committed Oct 11, 2024
1 parent 6c8a536 commit 8cfca1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sdks/python/test-suites/tox/py39/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ postCommitPyDep.dependsOn "testPy39tft-113"
// postCommitPyDep.dependsOn "testPy39onnx-113"

// Create a test task for each minor version of tensorflow
toxTask "testPy39tensorflow-213", "py39-tensorflow-213", "${posargs}"
test.dependsOn "testPy39tensorflow-213"
postCommitPyDep.dependsOn "testPy39tensorflow-213"
toxTask "testPy39tensorflow-212", "py39-tensorflow-212", "${posargs}"
test.dependsOn "testPy39tensorflow-212"
postCommitPyDep.dependsOn "testPy39tensorflow-212"

// Create a test task for each minor version of transformers
toxTask "testPy39transformers-428", "py39-transformers-428", "${posargs}"
Expand Down
6 changes: 3 additions & 3 deletions sdks/python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -388,14 +388,14 @@ commands =
# Run all ONNX unit tests
pytest -o junit_suite_name={envname} --junitxml=pytest_{envname}.xml -n 6 -m uses_onnx {posargs}

[testenv:py39-tensorflow-213]
[testenv:py39-tensorflow-212]
deps =
213:
tensorflow>=2.13rc1,<2.14
tensorflow>=2.12rc1,<2.13
# Help pip resolve conflict with typing-extensions for old version of TF https://github.com/apache/beam/issues/30852
pydantic<2.7
protobuf==4.25.5
extras = test,gcp
extras = test,gcp,ml_test
commands =
# Log tensorflow version for debugging
/bin/sh -c "pip freeze | grep -E tensorflow"
Expand Down

0 comments on commit 8cfca1f

Please sign in to comment.