Skip to content

Commit 46eafde

Browse files
arnoegwtensorflower-gardener
authored andcommitted
Bump Python version to 3.12 in newest_stable tests.
PiperOrigin-RevId: 650229220
1 parent 5443fb7 commit 46eafde

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

kokoro/github/ubuntu/cpu/build_versioned.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ tag_filters="-no_oss,-oss_excluded${TAG_FILTERS}"
4646

4747
bazel clean
4848
pip install -r requirements-dev.txt --progress-bar off
49-
pip install tensorflow=="${TF_VERSION}" --progress-bar off --upgrade
49+
pip install --pre tensorflow=="${TF_VERSION}" --progress-bar off --upgrade
5050
if [[ "$TF_USE_LEGACY_KERAS" == 1 ]]; then
51-
pip install tf-keras=="${TF_VERSION}" --progress-bar off --upgrade
51+
pip install --pre tf-keras=="${TF_VERSION}" --progress-bar off --upgrade
5252
fi
5353
python3 setup.py bdist_wheel
5454
pip uninstall -y tensorflow_gnn

kokoro/github/ubuntu/cpu/newest_stable/presubmit.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ build_file: "gnn/kokoro/github/ubuntu/cpu/build_versioned.sh"
22

33
env_vars: {
44
key: "PYTHON_VERSION"
5-
value: "3.11"
5+
value: "3.12"
66
}
77
env_vars: {
88
key: "TF_VERSION"
9-
value: "2.16.*"
9+
value: "2.17.*"
1010
}
1111
env_vars: {
1212
key: "TF_USE_LEGACY_KERAS"

requirements-dev.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
mock
22
wheel
3-
torch_geometric
4-
torch < 2

0 commit comments

Comments
 (0)