Skip to content

Commit b61c02b

Browse files
authored
Merge pull request #43 from rtg0795/r1.13.0
Update RELEASE.md for 1.31.1 release
2 parents e34b5df + 8c8f653 commit b61c02b

File tree

6 files changed

+26
-27
lines changed

6 files changed

+26
-27
lines changed

RELEASE.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
1-
# Version 1.13.0
1+
# Version 1.13.1
22

33
## Major Features and Improvements
44

5-
* Introduce `Schema.represent_variable_length_as_ragged` knob to automatically
6-
generate `RaggedTensor`s for variable length features.
7-
* Introduces a Schema option `HistogramSelection` to allow numeric drift/skew
8-
calculations to use QUANTILES histograms, which are more robust to outliers.
5+
* N/A
96

107
## Bug Fixes and Other Changes
118

12-
* N/A
9+
* Depends on `protobuf>=3.20.3,<5`.
1310

1411
## Breaking Changes
1512

1613
* N/A
1714

1815
## Deprecations
1916

20-
* Deprecated Python 3.7 support.
21-
17+
* N/A

WORKSPACE

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,22 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44

55
http_archive(
66
name = "bazel_skylib",
7-
sha256 = "2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e",
8-
urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/0.8.0/bazel-skylib.0.8.0.tar.gz"],
7+
sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44",
8+
urls = [
9+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
10+
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
11+
],
912
)
1013

11-
# 310ba5ee72661c081129eb878c1bbcec936b20f0 is based on 3.8.0 with a fix for protobuf.bzl.
12-
PROTOBUF_URLS = [
13-
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/protocolbuffers/protobuf/archive/310ba5ee72661c081129eb878c1bbcec936b20f0.tar.gz",
14-
"https://github.com/protocolbuffers/protobuf/archive/310ba5ee72661c081129eb878c1bbcec936b20f0.tar.gz",
15-
]
16-
PROTOBUF_SHA256 = "b9e92f9af8819bbbc514e2902aec860415b70209f31dfc8c4fa72515a5df9d59"
17-
PROTOBUF_STRIP_PREFIX = "protobuf-310ba5ee72661c081129eb878c1bbcec936b20f0"
14+
_PROTOBUF_VERSION = "3.21.9"
1815

1916
http_archive(
2017
name = "com_google_protobuf",
21-
sha256 = PROTOBUF_SHA256,
22-
strip_prefix = PROTOBUF_STRIP_PREFIX,
23-
urls = PROTOBUF_URLS,
18+
sha256 = "f66073dee0bc159157b0bd7f502d7d1ee0bc76b3c1eac9836927511bdc4b3fc1",
19+
strip_prefix = "protobuf-%s" % _PROTOBUF_VERSION,
20+
urls = [
21+
"https://github.com/protocolbuffers/protobuf/archive/v%s.zip" % _PROTOBUF_VERSION
22+
],
2423
)
2524

2625
# Needed by com_google_protobuf.
@@ -50,4 +49,4 @@ load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
5049
protobuf_deps()
5150

5251
load("@bazel_skylib//lib:versions.bzl", "versions")
53-
versions.check("0.24.1")
52+
versions.check("5.3.0")

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def run(self):
127127
install_requires=[
128128
'absl-py>=0.9,<2.0.0',
129129
'googleapis-common-protos>=1.52.0,<2',
130-
'protobuf>=3.13,<4',
130+
'protobuf>=3.20.3,<5',
131131
],
132132
python_requires='>=3.8,<4',
133133
packages=find_packages(),

tensorflow_metadata/proto/v0/BUILD

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ licenses(["notice"]) # Apache 2.0
2020

2121
package(default_visibility = ["//visibility:public"])
2222

23-
2423
cc_proto_library(
2524
name = "cc_metadata_v0_proto_cc",
2625
srcs = [
@@ -55,8 +54,8 @@ py_proto_library(
5554
"derived_feature.proto",
5655
],
5756
deps = [
58-
# For well-known proto types like protobuf.Any.
59-
"@com_google_protobuf//:protobuf_python",
57+
# For well-known proto types like protobuf.Any.
58+
"@com_google_protobuf//:well_known_types_py_pb2"
6059
],
6160
)
6261

tensorflow_metadata/proto/v0/derived_feature.proto

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ message DerivedFeatureConfig {
5454
ArgmaxTopK argmax_top_k = 2;
5555
ReduceOp reduce_op = 3;
5656
SliceSql slice_sql = 4;
57+
ImageQualityDeriver image_quality = 5;
5758
}
5859
}
5960

@@ -87,4 +88,8 @@ message SliceSql {
8788

8889
// Indicates whether to drop struct name in the generated output.
8990
bool drop_struct_name = 3;
90-
}
91+
}
92+
93+
message ImageQualityDeriver {
94+
string model_name = 1;
95+
}

tensorflow_metadata/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
"""Contains the version string of TFMD."""
1515

1616
# Note that setup.py uses this version.
17-
__version__ = '1.13.0'
17+
__version__ = '1.13.1'

0 commit comments

Comments
 (0)