Skip to content

Commit

Permalink
1.9.0rc0 fixes
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 612435124
  • Loading branch information
rstz authored and copybara-github committed Mar 4, 2024
1 parent 43334d8 commit f2ed042
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"absl_py",
"wheel",
"wurlitzer",
"tf_keras",
"tf_keras~=2.16.0rc2",
]


Expand Down
2 changes: 1 addition & 1 deletion tensorflow_decision_forests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
__version__ = "1.9.0rc0"
__author__ = "Mathieu Guillame-Bert"

compatible_tf_versions = ["2.16.0rc0"]
compatible_tf_versions = ["2.16.0-rc0"]
__git_version__ = "HEAD" # Modify for release build.

from tensorflow_decision_forests.tensorflow import check_version
Expand Down
8 changes: 6 additions & 2 deletions tools/test_bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,12 @@ if [ ${TF_VERSION} == "nightly" ]; then
TF_MINOR="nightly"
else
${PYTHON} -m pip install tensorflow==${TF_VERSION} --force-reinstall
TF_MINOR=$(echo $TF_VERSION | grep -oP '[0-9]+\.[0-9]+')
${PYTHON} -m pip install tf-keras==${TF_MINOR} --force-reinstall
if [[ $TF_VERSION == *"rc"* ]]; then
${PYTHON} -m pip install tf-keras --pre --upgrade
else
TF_MINOR=$(echo $TF_VERSION | grep -oP '[0-9]+\.[0-9]+')
${PYTHON} -m pip install tf-keras==${TF_MINOR}
fi
fi
ext=""

Expand Down

0 comments on commit f2ed042

Please sign in to comment.