Skip to content

Commit 0c5f0ea

Browse files
cavenesstfx-copybara
caveness
authored andcommitted
Remove references to building TFDV on Python 2.
PiperOrigin-RevId: 317981253
1 parent 8e43d42 commit 0c5f0ea

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

g3doc/install.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,6 @@ Note that these instructions will install the latest master branch of TensorFlow
6262
Data Validation. If you want to install a specific branch (such as a release
6363
branch), pass `-b <branchname>` to the `git clone` command.
6464

65-
When building on Python 2, make sure to strip the Python types in the source
66-
code using the following commands:
67-
68-
```shell
69-
pip install strip-hints
70-
python tensorflow_data_validation/tools/strip_type_hints.py tensorflow_data_validation/
71-
```
7265
### 3. Build the pip package
7366

7467
Then, run the following at the project root:
@@ -77,7 +70,7 @@ Then, run the following at the project root:
7770
sudo docker-compose build manylinux2010
7871
sudo docker-compose run -e PYTHON_VERSION=${PYTHON_VERSION} manylinux2010
7972
```
80-
where `PYTHON_VERSION` is one of `{27, 35, 36, 37}`.
73+
where `PYTHON_VERSION` is one of `{35, 36, 37}`.
8174

8275
A wheel will be produced under `dist/`.
8376

@@ -114,14 +107,6 @@ Note that these instructions will install the latest master branch of TensorFlow
114107
Data Validation. If you want to install a specific branch (such as a release branch),
115108
pass `-b <branchname>` to the `git clone` command.
116109

117-
When building on Python 2, make sure to strip the Python types in the source
118-
code using the following commands:
119-
120-
```shell
121-
pip install strip-hints
122-
python tensorflow_data_validation/tools/strip_type_hints.py tensorflow_data_validation/
123-
```
124-
125110
### 3. Build the pip package
126111

127112
TFDV uses Bazel to build the pip package from source. Before invoking the

0 commit comments

Comments
 (0)