Skip to content

Commit

Permalink
Uses Python 3.11 for Kokoro tests
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 575324464
  • Loading branch information
mihirparadkar authored and tensorflower-gardener committed Oct 23, 2023
1 parent 5d67fe7 commit 9224177
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions kokoro/github/ubuntu/cpu/build_versioned.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ sudo apt-get install -y "python${PYTHON_VERSION}"

# Update alternatives, taken from corresponding Keras OSS test script
sudo update-alternatives --install /usr/bin/python3 python3 "/usr/bin/python$PYTHON_VERSION" 1
sudo apt-get install -y python$PYTHON_VERSION-venv

PYTHON_BINARY="/usr/bin/python${PYTHON_VERSION}"
PIP_TEST_PREFIX=bazel_pip
Expand Down
2 changes: 1 addition & 1 deletion kokoro/github/ubuntu/cpu/newest_stable/continuous.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ build_file: "gnn/kokoro/github/ubuntu/cpu/build_versioned.sh"

env_vars: {
key: "PYTHON_VERSION"
value: "3.10"
value: "3.11"
}
env_vars: {
key: "TF_VERSION"
Expand Down
2 changes: 1 addition & 1 deletion kokoro/github/ubuntu/cpu/newest_stable/presubmit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ build_file: "gnn/kokoro/github/ubuntu/cpu/build_versioned.sh"

env_vars: {
key: "PYTHON_VERSION"
value: "3.10"
value: "3.11"
}
env_vars: {
key: "TF_VERSION"
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,11 @@ def get_version():
namespace_packages=[],
install_requires=[
'google-vizier>=0.0.13',
# TODO: b/306688501 - Unpin grpcio when we figure out issue with TF 2.14
'grpcio~=1.59.0',
'ml-collections',
'networkx',
'protobuf~=3.20.3',
'pyarrow',
# pylint:disable=g-line-too-long
'tensorflow>=2.10.0; platform_machine != "arm64" or platform_system != "Darwin"',
Expand Down

0 comments on commit 9224177

Please sign in to comment.