Skip to content

Commit 390be7f

Browse files
Marvin182copybara-github
authored andcommitted
Remove tensorflow and tensorflow-datasets as explicit install requirements.
Both packages are still required to use all functionalities of `clu`. However there are several packages providing TF (default, nightly, macos) and we should not force a specific version (see github.com/google/seqio/issues/396). Also bump version to 0.0.8. PiperOrigin-RevId: 495878761
1 parent dae4764 commit 390be7f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424

2525
tests_require = [
2626
"pytest",
27+
"tensorflow",
28+
"tensorflow_datasets",
2729
"torch>=1.2.0",
2830
]
2931
pytorch_require = [
@@ -32,7 +34,7 @@
3234

3335
setup(
3436
name="clu",
35-
version="0.0.7",
37+
version="0.0.8",
3638
description=("Set of libraries for ML training loops in JAX."),
3739
author="Common Loop Utils Authors",
3840
author_email="no-reply@google.com",
@@ -51,9 +53,8 @@
5153
"ml_collections",
5254
"numpy",
5355
"packaging",
54-
"tensorflow",
55-
"tensorflow_datasets",
5656
"typing_extensions",
57+
"wrapt",
5758
],
5859
tests_require=tests_require,
5960
extras_require=dict(test=tests_require, pytorch=pytorch_require),

0 commit comments

Comments
 (0)