30
30
'pytest' : 'pytest' ,
31
31
'tensorflow_data_validation' : 'tensorflow-data-validation>=1.5.0,<2.0.0' ,
32
32
'tensorflow_datasets' : 'tensorflow-datasets>=4.8.2' ,
33
- 'tensorflow_docs' :
34
- 'tensorflow-docs @ git+https://github.com/tensorflow/docs' ,
35
33
'tensorflow_metadata' : 'tensorflow-metadata>=1.5.0,<2.0.0' ,
36
34
'tensorflow_model_analysis' : 'tensorflow-model-analysis>=0.36.0,<0.42.0' ,
37
35
'yapf' : 'yapf' ,
44
42
'protobuf' , # working with model card protos
45
43
]
46
44
47
- _DOCS_EXTRA_DEPS = ['absl' , 'tensorflow_docs' ]
48
-
49
45
_EXAMPLES_EXTRA_DEPS = [
50
46
# Required for model_card_toolkit.documentation.examples.cats_vs_dogs
51
47
'tensorflow_datasets' ,
@@ -90,11 +86,6 @@ def make_required_install_packages() -> List[str]:
90
86
return _make_deps_list (_REQUIRED_DEPS )
91
87
92
88
93
- def make_extra_packages_docs () -> List [str ]:
94
- """Returns the list of packages needed for building documentation."""
95
- return _make_deps_list (_DOCS_EXTRA_DEPS )
96
-
97
-
98
89
def make_extra_packages_examples () -> List [str ]:
99
90
"""Returns the list of packages needed for running examples."""
100
91
return _make_deps_list (_EXAMPLES_EXTRA_DEPS )
@@ -122,8 +113,6 @@ def make_extra_packages_test() -> List[str]:
122
113
return _make_deps_list (_TEST_EXTRA_DEPS )
123
114
124
115
125
- # NOTE: Omit `docs` dependencies from `all` since they're not necessary for
126
- # running all tests and to avoid dependency conflicts.
127
116
def make_extra_packages_all () -> List [str ]:
128
117
"""Returns the list of all optional packages."""
129
118
return [
@@ -136,7 +125,6 @@ def make_extra_packages_all() -> List[str]:
136
125
def make_required_extra_packages () -> Dict [str , List [str ]]:
137
126
"""Returns the dict of required extra packages."""
138
127
return {
139
- 'docs' : make_extra_packages_docs (),
140
128
'examples' : make_extra_packages_examples (),
141
129
'tensorflow' : make_extra_packages_tensorflow (),
142
130
'test' : make_extra_packages_test (),
0 commit comments