Skip to content

Commit 66d0d7b

Browse files
authored
Merge pull request #7817 from tensorflow/sync-main
Sync main with r1.17.0 release branch
2 parents e537507 + 01d94b5 commit 66d0d7b

31 files changed

Lines changed: 1050 additions & 349 deletions

.github/workflows/ci-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161

6262
- name: Install dependencies
6363
run: |
64-
python -m pip install --upgrade pip wheel setuptools
64+
python -m pip install --upgrade pip wheel setuptools==70.0.0
6565
# TODO(b/232490018): Cython need to be installed separately to build pycocotools.
6666
python -m pip install Cython -c ./test_constraints.txt
6767
pip install \

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
types: [published]
88

99
env:
10-
USE_BAZEL_VERSION: "7.2.1"
10+
USE_BAZEL_VERSION: "6.5.0"
1111

1212
jobs:
1313
build_sdist:

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ but other *untested* combinations may also work.
6262

6363
tfx | Python | apache-beam[gcp] | ml-metadata | pyarrow | tensorflow | tensorflow-data-validation | tensorflow-metadata | tensorflow-model-analysis | tensorflow-serving-api | tensorflow-transform | tfx-bsl
6464
------------------------------------------------------------------------- | -------------------- | ---------------- | ----------- | ------- | ----------------- | -------------------------- | ------------------- | ------------------------- | ---------------------- | -------------------- | -------
65-
[GitHub master](https://github.com/tensorflow/tfx/blob/master/RELEASE.md) | >=3.9,<3.11 | 2.59.0 | 1.16.0 | 10.0.1 | nightly (2.x) | 1.16.1 | 1.16.1 | 0.47.0 | 2.16.1 | 1.16.0 | 1.16.1
65+
[GitHub master](https://github.com/tensorflow/tfx/blob/master/RELEASE.md) | >=3.9,<3.11 | 2.59.0 | 1.17.1 | 10.0.1 | nightly (2.x) | 1.17.0 | 1.17.1 | 0.48.0 | 2.17.1 | 1.17.0 | 1.17.1
66+
[1.17.2](https://github.com/tensorflow/tfx/blob/v1.17.2/RELEASE.md) | >=3.9,<3.11 | 2.59.0 | 1.17.1 | 10.0.1 | 2.17 | 1.17.0 | 1.17.1 | 0.48.0 | 2.17.1 | 1.17.0 | 1.17.1
67+
[1.17.1](https://github.com/tensorflow/tfx/blob/v1.17.1/RELEASE.md) | >=3.9,<3.11 | 2.59.0 | 1.17.1 | 10.0.1 | 2.17 | 1.17.0 | 1.17.1 | 0.48.0 | 2.17.1 | 1.17.0 | 1.17.1
68+
[1.17.0](https://github.com/tensorflow/tfx/blob/v1.17.0/RELEASE.md) | >=3.9,<3.11 | 2.59.0 | 1.17.1 | 10.0.1 | 2.17 | 1.17.0 | 1.17.1 | 0.48.0 | 2.17.1 | 1.17.0 | 1.17.1
6669
[1.16.0](https://github.com/tensorflow/tfx/blob/v1.16.0/RELEASE.md) | >=3.9,<3.11 | 2.59.0 | 1.16.0 | 10.0.1 | 2.16 | 1.16.1 | 1.16.1 | 0.47.0 | 2.16.1 | 1.16.0 | 1.16.1
6770
[1.15.0](https://github.com/tensorflow/tfx/blob/v1.15.0/RELEASE.md) | >=3.9,<3.11 | 2.47.0 | 1.15.0 | 10.0.0 | 2.15 | 1.15.1 | 1.15.0 | 0.46.0 | 2.15.1 | 1.15.0 | 1.15.1
6871
[1.14.0](https://github.com/tensorflow/tfx/blob/v1.14.0/RELEASE.md) | >=3.8,<3.11 | 2.47.0 | 1.14.0 | 10.0.0 | 2.13 | 1.14.0 | 1.14.0 | 0.45.0 | 2.9.0 | 1.14.0 | 1.14.0

RELEASE.md

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,112 @@
1616

1717
## Documentation Updates
1818

19+
# Version 1.17.2
20+
21+
## Major Features and Improvements
22+
23+
* N/A
24+
25+
## Breaking Changes
26+
27+
* N/A
28+
29+
### For Pipeline Authors
30+
31+
* N/A
32+
33+
### For Component Authors
34+
35+
* N/A
36+
37+
## Deprecations
38+
39+
* N/A
40+
41+
## Bug Fixes and Other Changes
42+
43+
* N/A
44+
45+
# Version 1.17.1
46+
47+
## Major Features and Improvements
48+
49+
* N/A
50+
51+
## Breaking Changes
52+
53+
* N/A
54+
55+
### For Pipeline Authors
56+
57+
* N/A
58+
59+
### For Component Authors
60+
61+
* N/A
62+
63+
## Deprecations
64+
65+
* N/A
66+
67+
## Bug Fixes and Other Changes
68+
69+
* Ensured `tensorflow-data-validation` and `tfx-bsl` are built from
70+
source within the Docker image instead of PYPI to prevent wheels Incompatibility.
71+
* Updated end-to-end tests for Kubeflow v2 to use hardcoded container
72+
paths for test data, resolving `RuntimeError` issues.
73+
* Introduced patches for `tfdv`, `tfx-bsl`, and `tfx` to facilitate
74+
compilation issues and to resolve dependency conflicts.
75+
76+
## Dependency Updates
77+
78+
* Supports Tensorflow | `>=2.17.0,<2.18.0` |
79+
* supports Protobuf | `==4.21.12` |
80+
81+
## Documentation Updates
82+
83+
* N/A
84+
85+
# Version 1.17.0
86+
87+
## Major Features and Improvements
88+
89+
* N/A
90+
91+
## Breaking Changes
92+
93+
* N/A
94+
95+
### For Pipeline Authors
96+
97+
* N/A
98+
99+
### For Component Authors
100+
101+
* N/A
102+
103+
## Deprecations
104+
105+
* N/A
106+
107+
## Bug Fixes and Other Changes
108+
109+
* Ensured `tensorflow-data-validation` and `tfx-bsl` are built from
110+
source within the Docker image instead of PYPI to prevent wheels Incompatibility.
111+
* Updated end-to-end tests for Kubeflow v2 to use hardcoded container
112+
paths for test data, resolving `RuntimeError` issues.
113+
* Introduced patches for `tfdv`, `tfx-bsl`, and `tfx` to facilitate
114+
compilation issues and to resolve dependency conflicts.
115+
116+
## Dependency Updates
117+
118+
* Supports Tensorflow | `>=2.17.0,<2.18.0` |
119+
* supports Protobuf | `==4.21.12` |
120+
121+
## Documentation Updates
122+
123+
* N/A
124+
19125
# Version 1.16.0
20126

21127
## Major Features and Improvements

WORKSPACE

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,39 @@ http_archive(
5252
)
5353
# LINT.ThenChange(:tf_commit)
5454

55+
http_archive(
56+
name = "build_bazel_rules_apple",
57+
urls = ["https://github.com/bazelbuild/rules_apple/archive/refs/tags/0.34.1.tar.gz"],
58+
sha256 = "301ad0c16585f44fdb404dee7496332501606939698afb372e8311f7445f1175",
59+
strip_prefix = "rules_apple-0.34.1",
60+
)
61+
62+
# Needed by gRPC.
63+
http_archive(
64+
name = "build_bazel_apple_support",
65+
sha256 = "cf4d63f39c7ba9059f70e995bf5fe1019267d3f77379c2028561a5d7645ef67c",
66+
urls = ["https://github.com/bazelbuild/apple_support/releases/download/1.11.1/apple_support.1.11.1.tar.gz"],
67+
)
68+
69+
http_archive(
70+
name = "build_bazel_rules_swift",
71+
sha256 = "d0833bc6dad817a367936a5f902a0c11318160b5e80a20ece35fb85a5675c886",
72+
strip_prefix = "rules_swift-3eeeb53cebda55b349d64c9fc144e18c5f7c0eb8",
73+
urls = ["https://github.com/bazelbuild/rules_swift/archive/3eeeb53cebda55b349d64c9fc144e18c5f7c0eb8.tar.gz"],
74+
)
75+
76+
http_archive(
77+
name = "com_github_grpc_grpc",
78+
urls = ["https://github.com/grpc/grpc/archive/v1.46.3.tar.gz"],
79+
sha256 = "d6cbf22cb5007af71b61c6be316a79397469c58c82a942552a62e708bce60964",
80+
strip_prefix = "grpc-1.46.3",
81+
)
82+
5583
http_archive(
5684
name = "com_google_protobuf",
57-
sha256 = "930c2c3b5ecc6c9c12615cf5ad93f1cd6e12d0aba862b572e076259970ac3a53",
58-
strip_prefix = "protobuf-3.21.12",
59-
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.21.12.tar.gz"],
85+
sha256 = "22fdaf641b31655d4b2297f9981fa5203b2866f8332d3c6333f6b0107bb320de",
86+
strip_prefix = "protobuf-21.12",
87+
urls = ["https://github.com/protocolbuffers/protobuf/archive/v21.12/protobuf-21.12.tar.gz"],
6088
)
6189

6290
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")

nightly_test_constraints.txt

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# TODO(b/321609768): Remove pinned Flask-session version after resolving the issue.
1212
Flask-session<0.6.0
1313

14-
tensorflow==2.16.2
15-
tensorflow-text==2.16.1
14+
tensorflow==2.17.1
15+
tensorflow-text==2.17.0
1616
keras==3.6.0
1717

1818
absl-py==1.4.0
@@ -22,7 +22,7 @@ alembic==1.13.3
2222
annotated-types==0.7.0
2323
anyio==4.6.0
2424
apache-airflow==2.10.3
25-
apache-beam==2.59.0
25+
apache-beam==2.50.0
2626
apispec==6.6.1
2727
argcomplete==3.5.1
2828
argon2-cffi==23.1.0
@@ -46,7 +46,7 @@ cffi==1.17.1
4646
cfgv==3.4.0
4747
charset-normalizer==3.4.0
4848
chex==0.1.86
49-
click==8.1.7
49+
click==8.1.3
5050
clickclick==20.10.2
5151
cloudpickle==2.2.1
5252
colorama==0.4.6
@@ -98,7 +98,7 @@ google-api-core==2.21.0
9898
google-api-python-client==1.12.11
9999
google-apitools==0.5.31
100100
google-auth==2.35.0
101-
google-auth-httplib2==0.2.0
101+
google-auth-httplib2==0.1.1
102102
google-auth-oauthlib==1.2.1
103103
google-cloud-aiplatform==1.70.0
104104
google-cloud-bigquery==3.26.0
@@ -166,13 +166,13 @@ jupyterlab==4.2.5
166166
jupyterlab_pygments==0.3.0
167167
jupyterlab_server==2.27.3
168168
jupyterlab_widgets==1.1.10
169-
tf-keras==2.16.0
169+
tf-keras==2.17.0
170170
keras-tuner==1.4.7
171-
kfp==2.5.0
172-
kfp-pipeline-spec==0.2.2
171+
kfp==2.6.0
172+
kfp-pipeline-spec==0.3.0
173173
kfp-server-api==2.0.5
174174
kt-legacy==1.0.5
175-
kubernetes==26.1.0
175+
kubernetes==23.6.0
176176
lazy-object-proxy==1.10.0
177177
libclang==18.1.1
178178
limits==3.13.0
@@ -192,7 +192,7 @@ mdurl==0.1.2
192192
methodtools==0.4.7
193193
mistune==3.0.2
194194
ml-dtypes==0.3.2
195-
ml-metadata>=1.16.0
195+
ml-metadata>=1.17.1
196196
mmh==2.2
197197
more-itertools==10.5.0
198198
msgpack==1.1.0
@@ -207,10 +207,10 @@ nltk==3.9.1
207207
nodeenv==1.9.1
208208
notebook==7.2.2
209209
notebook_shim==0.2.4
210-
numpy==1.26.4
210+
numpy==1.24.4
211211
oauth2client==4.1.3
212212
oauthlib==3.2.2
213-
objsize==0.7.0
213+
objsize==0.6.1
214214
opentelemetry-api==1.27.0
215215
opentelemetry-exporter-otlp==1.27.0
216216
opentelemetry-exporter-otlp-proto-common==1.27.0
@@ -246,7 +246,7 @@ promise==2.3
246246
prompt_toolkit==3.0.48
247247
propcache==0.2.0
248248
proto-plus==1.24.0
249-
protobuf==3.20.3
249+
protobuf==4.21.12
250250
psutil==6.0.0
251251
ptyprocess==0.7.0
252252
pyarrow-hotfix==0.6
@@ -302,33 +302,33 @@ SQLAlchemy==1.4.54
302302
SQLAlchemy-JSONField==1.0.2
303303
SQLAlchemy-Utils==0.41.2
304304
sqlparse==0.5.1
305-
struct2tensor>=0.47.0
305+
struct2tensor>=0.48.1
306306
tabulate==0.9.0
307307
tenacity==9.0.0
308-
tensorboard==2.16.2
308+
tensorboard==2.17.1
309309
tensorboard-data-server==0.7.2
310-
tensorflow==2.16.2
310+
tensorflow==2.17.1
311311
tensorflow-cloud==0.1.16
312-
tensorflow-data-validation>=1.16.1
312+
tensorflow-data-validation>=1.17.0
313313
tensorflow-datasets==4.9.3
314-
tensorflow-decision-forests==1.9.2
314+
tensorflow-decision-forests==1.10.1
315315
tensorflow-estimator==2.15.0
316316
tensorflow-hub==0.15.0
317317
tensorflow-io==0.24.0
318318
tensorflow-io-gcs-filesystem==0.24.0
319-
tensorflow-metadata>=1.16.1
319+
tensorflow-metadata>=1.17.1
320320
# tensorflow-ranking==0.5.5
321-
tensorflow-serving-api==2.16.1
322-
tensorflow-text==2.16.1
323-
tensorflow-transform>=1.16.0
324-
tensorflow_model_analysis>=0.47.0
321+
tensorflow-serving-api==2.17.1
322+
tensorflow-text==2.17.0
323+
tensorflow-transform>=1.17.0
324+
tensorflow_model_analysis>=0.48.0
325325
tensorflowjs==4.17.0
326326
tensorstore==0.1.66
327327
termcolor==2.5.0
328328
terminado==0.18.1
329329
text-unidecode==1.3
330330
tflite-support==0.4.4
331-
tfx-bsl>=1.16.1
331+
tfx-bsl>=1.17.1
332332
threadpoolctl==3.5.0
333333
time-machine==2.16.0
334334
tinycss2==1.3.0

package_build/ml-pipelines-sdk/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=72", "wheel", "tomli"]
2+
requires = ["setuptools==70", "wheel", "tomli"]
33
build-backend = "setuptools.build_meta"
44

55
[project]

package_build/tfx/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=72", "wheel", "tomli"]
2+
requires = ["setuptools==70", "wheel", "tomli"]
33
build-backend = "setuptools.build_meta"
44

55
[project]

patches/BUILD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package(default_visibility = ["//visibility:public"])
2+
3+
exports_files([
4+
"tensorflow_metadata_proto_v0.patch",
5+
])
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
diff --git a/tensorflow_metadata/proto/v0/BUILD b/tensorflow_metadata/proto/v0/BUILD
2+
index 24cf416..9e426aa 100644
3+
--- a/tensorflow_metadata/proto/v0/BUILD
4+
+++ b/tensorflow_metadata/proto/v0/BUILD
5+
@@ -14,8 +14,6 @@
6+
# ==============================================================================
7+
8+
9+
-load("@com_google_protobuf//bazel:py_proto_library.bzl", "py_proto_library")
10+
-
11+
licenses(["notice"]) # Apache 2.0
12+
13+
package(default_visibility = ["//visibility:public"])
14+
@@ -24,26 +22,20 @@ proto_library(
15+
name = "metadata_v0_proto",
16+
srcs = [
17+
"anomalies.proto",
18+
- "derived_feature.proto",
19+
"metric.proto",
20+
"path.proto",
21+
"problem_statement.proto",
22+
"schema.proto",
23+
"statistics.proto",
24+
+ "derived_feature.proto"
25+
],
26+
deps = [
27+
# For well-known proto types like protobuf.Any.
28+
"@com_google_protobuf//:any_proto",
29+
- "@com_google_protobuf//:api_proto",
30+
- "@com_google_protobuf//:compiler_plugin_proto",
31+
"@com_google_protobuf//:descriptor_proto",
32+
"@com_google_protobuf//:duration_proto",
33+
- "@com_google_protobuf//:empty_proto",
34+
- "@com_google_protobuf//:field_mask_proto",
35+
- "@com_google_protobuf//:source_context_proto",
36+
"@com_google_protobuf//:struct_proto",
37+
"@com_google_protobuf//:timestamp_proto",
38+
- "@com_google_protobuf//:type_proto",
39+
"@com_google_protobuf//:wrappers_proto",
40+
],
41+
)
42+
@@ -60,10 +52,12 @@ cc_library(
43+
deps = [":cc_metadata_v0_proto_cc"],
44+
)
45+
46+
-py_proto_library(
47+
+alias(
48+
name = "metadata_v0_proto_py_pb2",
49+
- deps = [
50+
- ":metadata_v0_proto",
51+
- ],
52+
+ actual = ":metadata_v0_proto",
53+
)
54+
55+
+alias(
56+
+ name = "metadata_v0_proto_py_pb2_genproto",
57+
+ actual = ":metadata_v0_proto",
58+
+)

0 commit comments

Comments
 (0)