File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ module(
2222)
2323
2424bazel_dep (name = "rules_proto" , version = "7.0.2" )
25- bazel_dep (name = "rules_python" , version = "0.37 .0" )
26- bazel_dep (name = "platforms" , version = "0.0.10 " )
27- bazel_dep (name = "protobuf" , version = "28.3 " )
25+ bazel_dep (name = "rules_python" , version = "1.0 .0" )
26+ bazel_dep (name = "platforms" , version = "0.0.11 " )
27+ bazel_dep (name = "protobuf" , version = "31.1 " )
2828bazel_dep (name = "googletest" , version = "1.15.2" )
29- bazel_dep (name = "abseil-cpp" , version = "20240722 .0" )
29+ bazel_dep (name = "abseil-cpp" , version = "20250127 .0" )
3030bazel_dep (name = "abseil-py" , version = "2.1.0" )
3131bazel_dep (name = "eigen" , version = "3.4.0.bcr.3" )
3232bazel_dep (name = "riegeli" , version = "0.0.0-20241218-3385e3c" )
Original file line number Diff line number Diff line change 11array-record [beam ]
2- google-cloud-storage == 2.11.0
3- tensorflow == 2.14.0
Original file line number Diff line number Diff line change @@ -217,11 +217,11 @@ class ArrayRecordWriterBase : public riegeli::Object {
217217 // 31 in 64-bit build).
218218 //
219219 // Default: `absl::nullopt`.
220- Options& set_window_log (std ::optional<int > window_log) {
220+ Options& set_window_log (absl ::optional<int > window_log) {
221221 compressor_options_.set_window_log (window_log);
222222 return *this ;
223223 }
224- std ::optional<int > window_log () const {
224+ absl ::optional<int > window_log () const {
225225 return compressor_options_.window_log ();
226226 }
227227
Original file line number Diff line number Diff line change @@ -87,12 +87,12 @@ function main() {
8787 echo $( date) : " === Output wheel file is in: ${DEST} "
8888
8989 # Install ArrayRecord from the wheel and run smoke tests.
90- $PYTHON_BIN -m pip install --find-links= " ${DEST} " --pre array-record
90+ $PYTHON_BIN -m pip install ${OUTPUT_DIR} /all_dist/array_record * .whl
9191 $PYTHON_BIN -c ' import array_record'
9292 $PYTHON_BIN -c ' from array_record.python import array_record_data_source'
9393 # TF is not available on Python 3.13 and above.
9494 if [ " $( uname) " != " Darwin" ] && (( "${PYTHON_MINOR_VERSION} " < 13 )) ; then
95- $PYTHON_BIN -m pip install jax tensorflow grain
95+ $PYTHON_BIN -m pip install jax tensorflow==2.20.0rc0 grain
9696 $PYTHON_BIN oss/test_import_grain.py
9797 $PYTHON_BIN oss/test_import_tensorflow.py
9898 fi
Original file line number Diff line number Diff line change 99 'etils[epath]' ,
1010]
1111
12+ TF_PACKAGE = [
13+ 'tensorflow>=2.20.0rc0'
14+ ]
15+
1216BEAM_EXTRAS = [
13- 'apache-beam[gcp]= =2.53.0' ,
17+ 'apache-beam[gcp]> =2.53.0' ,
1418 'google-cloud-storage>=2.11.0' ,
15- 'tensorflow>=2.14.0'
16- ]
19+ ] + TF_PACKAGE
20+
21+ TEST_EXTRAS = [
22+ 'jax' ,
23+ 'grain' ,
24+ ] + TF_PACKAGE
1725
1826
1927class BinaryDistribution (Distribution ):
@@ -34,7 +42,7 @@ def has_ext_modules(self):
3442 package_data = {'' : ['*.so' ]},
3543 python_requires = '>=3.10' ,
3644 install_requires = REQUIRED_PACKAGES ,
37- extras_require = {'beam' : BEAM_EXTRAS },
45+ extras_require = {'beam' : BEAM_EXTRAS , 'test' : TEST_EXTRAS },
3846 url = 'https://github.com/google/array_record' ,
3947 license = 'Apache-2.0' ,
4048 classifiers = [
You can’t perform that action at this time.
0 commit comments