File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 id-token : write
1717 with :
1818 pypi_project_url : ' '
19- run_tests_with_bazel : true
19+ run_tests_with_bazel : false
2020 is_nightly : false
2121 is_ci_tests : true
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -29,10 +29,6 @@ py_library(
2929 name = "tfrecord_dataset" ,
3030 srcs = ["tfrecord_dataset.py" ],
3131 srcs_version = "PY3" ,
32- visibility = [
33- "//third_party/py/grain:internal" ,
34- "//third_party/py/maxtext:__pkg__" ,
35- ],
3632 deps = ["//grain/_src/python/dataset" ],
3733)
3834
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ main() {
2121 # Enable host OS specific configs. For instance, "build:linux" will be used
2222 # automatically when building on Linux.
2323 write_to_bazelrc " build --enable_platform_specific_config"
24- write_to_bazelrc " build --verbose_failures"
2524 # Bazel 7.0.0 no longer supports dynamic symbol lookup on macOS. To resolve
2625 # undefined symbol errors in macOS arm64 builds, explicitly add the necessary
2726 # linker flags until dependencies are well defined. See
@@ -133,8 +132,10 @@ main() {
133132 $PYTHON_BIN -m pip install --force ${OUTPUT_DIR} /all_dist/grain* .whl
134133 $PYTHON_BIN -m pip install -r test_requirements.in --only-binary pyarrow
135134 # TF does not have Python 3.14 support yet.
135+ # Once majority of our users are on TF >= 2.21, we should update the
136+ # protobuf dependency and bump the smoke test to TF >= 2.21.
136137 if (( "${PYTHON_MINOR_VERSION} " < 14 )) ; then
137- $PYTHON_BIN -m pip install tensorflow --only-binary h5py
138+ $PYTHON_BIN -m pip install " tensorflow<2.21 " --only-binary h5py
138139 fi
139140
140141 pushd " ${OUTPUT_DIR} /all_dist"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ dependencies = [
1616 " cloudpickle" ,
1717 " etils[epath,epy]" ,
1818 " numpy" ,
19- " protobuf>=5.28.3" ,
19+ " protobuf>=5.28.3,<7 " ,
2020]
2121readme = " README.md"
2222license = { file = " LICENSE" }
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ array-record
2020absl-py
2121etils[epath,epy]
2222cloudpickle
23- jax
23+ jax<0.9
2424numpy
2525attrs
26- pyarrow
26+ pyarrow<23.0 # This should be update with protobuf dependency update.
2727pytest
2828parameterized
2929typing_extensions
You can’t perform that action at this time.
0 commit comments