Skip to content

Commit

Permalink
Update version for 2.11.0 release. (#2081)
Browse files Browse the repository at this point in the history
* Update version for 2.11.0 release.

* Remove duplicate load of bazel_skylib external dependency, also detect previous bazel version enforcement pattern in Kokoro build script.

PiperOrigin-RevId: 485851826

Co-authored-by: Christian Sigg <[email protected]>
  • Loading branch information
rtg0795 and chsigg authored Nov 23, 2022
1 parent 8706b46 commit 7c9bd6b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
13 changes: 3 additions & 10 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,10 @@ workspace(name = "tf_serving")
# 3. Request the new archive to be mirrored on mirror.bazel.build for more
# reliable downloads.
load("//tensorflow_serving:repo.bzl", "tensorflow_http_archive")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
tensorflow_http_archive(
name = "org_tensorflow",
sha256 = "86720850e6ebb561ed87a520754000be44ad68eaf881219456d553ec9de6d040",
git_commit = "db80fa53b76cbb149c3a2580539c49ccc7f92141",
)

http_archive(
name = "bazel_skylib",
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
url = "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
sha256 = "37abf3d45a34e11012ef60ee6dcd79e317384b62d319b6346cc2a94eb447e172",
git_commit = "d5b57ca93e506df258271ea00fc29cf98383a374",
)

# Import all of TensorFlow Serving's external dependencies.
Expand All @@ -35,7 +28,7 @@ tf_serving_workspace()

# Check bazel version requirement, which is stricter than TensorFlow's.
load("@bazel_skylib//lib:versions.bzl", "versions")
versions.check(minimum_bazel_version = "5.1.1")
versions.check("5.1.1")

# Initialize TensorFlow's external dependencies.
load("@org_tensorflow//tensorflow:workspace3.bzl", "workspace")
Expand Down
4 changes: 2 additions & 2 deletions tensorflow_serving/model_servers/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ pkg_deb(
homepage = "https://github.com/tensorflow/serving",
maintainer = "TensorFlow Serving team",
package = "tensorflow-model-server",
version = "2.11.0-rc2", # Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
version = "2.11.0", # Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
)

# Build with '-c opt'
Expand All @@ -541,5 +541,5 @@ pkg_deb(
homepage = "https://github.com/tensorflow/serving",
maintainer = "TensorFlow Serving team",
package = "tensorflow-model-server-universal",
version = "2.11.0-rc2", # Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
version = "2.11.0", # Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
)
4 changes: 2 additions & 2 deletions tensorflow_serving/tools/pip_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
DOCLINES = __doc__.split('\n')

# Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
_VERSION = '2.11.0-rc2'
_VERSION = '2.11.0'
# Have this by default be open; releasing a new version will lock to TF version
_TF_VERSION = '>=2.11.0-rc2,<3'
_TF_VERSION = '>=2.11.0,<3'
_TF_VERSION_SANITIZED = _TF_VERSION.replace('-', '')

project_name = 'tensorflow-serving-api'
Expand Down

0 comments on commit 7c9bd6b

Please sign in to comment.