Skip to content

Commit 7c9bd6b

Browse files
rtg0795chsigg
andauthored
Update version for 2.11.0 release. (#2081)
* 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]>
1 parent 8706b46 commit 7c9bd6b

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

WORKSPACE

+3-10
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,10 @@ workspace(name = "tf_serving")
1313
# 3. Request the new archive to be mirrored on mirror.bazel.build for more
1414
# reliable downloads.
1515
load("//tensorflow_serving:repo.bzl", "tensorflow_http_archive")
16-
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
1716
tensorflow_http_archive(
1817
name = "org_tensorflow",
19-
sha256 = "86720850e6ebb561ed87a520754000be44ad68eaf881219456d553ec9de6d040",
20-
git_commit = "db80fa53b76cbb149c3a2580539c49ccc7f92141",
21-
)
22-
23-
http_archive(
24-
name = "bazel_skylib",
25-
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
26-
url = "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
18+
sha256 = "37abf3d45a34e11012ef60ee6dcd79e317384b62d319b6346cc2a94eb447e172",
19+
git_commit = "d5b57ca93e506df258271ea00fc29cf98383a374",
2720
)
2821

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

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

4033
# Initialize TensorFlow's external dependencies.
4134
load("@org_tensorflow//tensorflow:workspace3.bzl", "workspace")

tensorflow_serving/model_servers/BUILD

+2-2
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ pkg_deb(
530530
homepage = "https://github.com/tensorflow/serving",
531531
maintainer = "TensorFlow Serving team",
532532
package = "tensorflow-model-server",
533-
version = "2.11.0-rc2", # Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
533+
version = "2.11.0", # Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
534534
)
535535

536536
# Build with '-c opt'
@@ -541,5 +541,5 @@ pkg_deb(
541541
homepage = "https://github.com/tensorflow/serving",
542542
maintainer = "TensorFlow Serving team",
543543
package = "tensorflow-model-server-universal",
544-
version = "2.11.0-rc2", # Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
544+
version = "2.11.0", # Set when releasing a new version of TensorFlow Serving (e.g. 1.0.0).
545545
)

tensorflow_serving/tools/pip_package/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
DOCLINES = __doc__.split('\n')
3232

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

3939
project_name = 'tensorflow-serving-api'

0 commit comments

Comments
 (0)