Skip to content

Commit 06d7b82

Browse files
cavenesstfx-copybara
caveness
authored andcommitted
Remove references to building TFDV on Python 2.
PiperOrigin-RevId: 315990465
1 parent daa5162 commit 06d7b82

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

README.md

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

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

7769
Then, run the following at the project root:
@@ -80,7 +72,7 @@ Then, run the following at the project root:
8072
sudo docker-compose build manylinux2010
8173
sudo docker-compose run -e PYTHON_VERSION=${PYTHON_VERSION} manylinux2010
8274
```
83-
where `PYTHON_VERSION` is one of `{27, 35, 36, 37}`.
75+
where `PYTHON_VERSION` is one of `{35, 36, 37}`.
8476

8577
A wheel will be produced under `dist/`.
8678

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

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

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

0 commit comments

Comments
 (0)