Skip to content

Commit b15d2b8

Browse files
Unpins packages that don't need pinning (protobuf needs to be pinned to the intersection of beam and TF requirements)
PiperOrigin-RevId: 535647770
1 parent dda17cb commit b15d2b8

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

kokoro/github/ubuntu/cpu/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ ln -s "$(pwd)"/tensorflow_gnn "$TEST_ROOT"/tensorflow_gnn
3737
tag_filters="-no_oss,-oss_excluded"
3838

3939
bazel clean
40+
pip install --upgrade pip
4041
pip install -r requirements-dev.txt --progress-bar off
4142
pip install tf-nightly --progress-bar off --upgrade
4243
# We need to remove the dependency on tensorflow to test nightly

kokoro/github/ubuntu/cpu/build_versioned.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ ln -s "$(pwd)"/tensorflow_gnn "$TEST_ROOT"/tensorflow_gnn
4444
tag_filters="-no_oss,-oss_excluded${TAG_FILTERS}"
4545

4646
bazel clean
47+
pip install --upgrade pip
4748
pip install -r requirements-dev.txt --progress-bar off
4849
pip install tensorflow=="${TF_VERSION}" --progress-bar off --upgrade
4950
python3 setup.py bdist_wheel

setup.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ def get_version():
168168
],
169169
namespace_packages=[],
170170
install_requires=[
171-
# TODO(b/283835852): Unpin version when Vizier takes protobuf >= 4.0.
172-
'apache-beam~=2.46.0',
173171
'google-vizier>=0.0.13',
174172
'ml-collections',
175173
'networkx',
@@ -178,10 +176,8 @@ def get_version():
178176
'tensorflow>=2.9.0; platform_machine != "arm64" or platform_system != "Darwin"',
179177
'tensorflow-macos>=2.9.0; platform_machine == "arm64" and platform_system == "Darwin"',
180178
# pylint:enable=g-line-too-long
181-
# TODO(b/283835852): Remove when Vizier takes protobuf >= 4.0.
182-
'protobuf~=3.20.3',
183-
# TODO(b/283835852): Remove when Vizier takes protobuf >= 4.0.
184-
'wrapt~=1.14.1',
179+
'apache-beam',
180+
'wrapt~=1.11.2',
185181
],
186182
python_requires='>=3.8,<4',
187183
packages=find_namespace_packages(

tensorflow_gnn/experimental/sampler/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ py_proto_library(
1919
py_test(
2020
name = "core_test",
2121
srcs = ["core_test.py"],
22-
tags = ["no_oss"], # TODO(b/284063221)
2322
python_version = "PY3",
2423
deps = [],
2524
)

0 commit comments

Comments
 (0)