Skip to content

Commit 442dacd

Browse files
committed
TFDV 0.22.0 Release
PiperOrigin-RevId: 311822367
1 parent 8f91037 commit 442dacd

File tree

6 files changed

+27
-24
lines changed

6 files changed

+27
-24
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ other *untested* combinations may also work.
177177

178178
|tensorflow-data-validation |tensorflow |apache-beam[gcp] |pyarrow |
179179
|--------------------------------------------------------------------------------------|------------------|-----------------|--------|
180-
|[GitHub master](https://github.com/tensorflow/data-validation/blob/master/RELEASE.md) |nightly (1.x/2.x) |2.17.0 |0.15.0 |
180+
|[GitHub master](https://github.com/tensorflow/data-validation/blob/master/RELEASE.md) |nightly (1.x/2.x) |2.20.0 |0.16.0 |
181+
|[0.22.0](https://github.com/tensorflow/data-validation/blob/v0.22.0/RELEASE.md) |1.15 / 2.2 |2.20.0 |0.16.0 |
181182
|[0.21.5](https://github.com/tensorflow/data-validation/blob/v0.21.5/RELEASE.md) |1.15 / 2.1 |2.17.0 |0.15.0 |
182183
|[0.21.4](https://github.com/tensorflow/data-validation/blob/v0.21.4/RELEASE.md) |1.15 / 2.1 |2.17.0 |0.15.0 |
183184
|[0.21.2](https://github.com/tensorflow/data-validation/blob/v0.21.2/RELEASE.md) |1.15 / 2.1 |2.17.0 |0.15.0 |

RELEASE.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- mdlint off(HEADERS_TOO_MANY_H1) -->
22

3-
# Current Version(Still in Development)
3+
# Version 0.22.0
44

55
## Major Features and Improvements
66

@@ -19,14 +19,21 @@
1919
tfrecord files respectively.
2020
* Modify `tfdv.load_statistics` to handle reading statistics from TFRecord and
2121
text files.
22-
* Requires `pyarrow>=0.16,<1`.
2322
* Added an extra requirement group `mutual-information`. As a result, barebone
2423
TFDV does not require `scikit-learn` any more.
25-
* Added an extra requirement group `visualization`. As a result, barebone
26-
TFDV does not require `ipython` any more.
24+
* Added an extra requirement group `visualization`. As a result, barebone TFDV
25+
does not require `ipython` any more.
2726
* Added an extra requirement group `all` that specifies all the extra
2827
dependencies TFDV needs. Use `pip install tensorflow-data-validation[all]`
2928
to pull in those dependencies.
29+
* Depends on `pyarrow>=0.16,<0.17`.
30+
* Depends on `apache-beam[gcp]>=2.20,<3`.
31+
* Depends on `ipython>=7,<8;python_version>="3"'.
32+
* Depends on `scikit-learn>=0.18,<0.24'.
33+
* Depends on `tensorflow>=1.15,!=2.0.*,<3`.
34+
* Depends on `tensorflow-metadata>=0.22.0,<0.23`.
35+
* Depends on `tensorflow-transform>=0.22,<0.23`.
36+
* Depends on `tfx-bsl>=0.22,<0.23`.
3037

3138
## Known Issues
3239

@@ -49,6 +56,8 @@
4956

5057
## Deprecations
5158

59+
* Deprecating Py2 support.
60+
5261
# Release 0.21.5
5362

5463
## Major Features and Improvements

g3doc/install.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ other *untested* combinations may also work.
174174

175175
tensorflow-data-validation | tensorflow | apache-beam[gcp] | pyarrow
176176
------------------------------------------------------------------------------------- | ----------------- | ---------------- | -------
177-
[GitHub master](https://github.com/tensorflow/data-validation/blob/master/RELEASE.md) | nightly (1.x/2.x) | 2.17.0 | 0.15.0
177+
[GitHub master](https://github.com/tensorflow/data-validation/blob/master/RELEASE.md) | nightly (1.x/2.x) | 2.20.0 | 0.16.0
178+
[0.22.0](https://github.com/tensorflow/data-validation/blob/v0.22.0/RELEASE.md) | 1.15 / 2.2 | 2.20.0 | 0.16.0
178179
[0.21.5](https://github.com/tensorflow/data-validation/blob/v0.21.5/RELEASE.md) | 1.15 / 2.1 | 2.17.0 | 0.15.0
179180
[0.21.4](https://github.com/tensorflow/data-validation/blob/v0.21.4/RELEASE.md) | 1.15 / 2.1 | 2.17.0 | 0.15.0
180181
[0.21.2](https://github.com/tensorflow/data-validation/blob/v0.21.2/RELEASE.md) | 1.15 / 2.1 | 2.17.0 | 0.15.0

setup.py

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,11 @@ def has_ext_modules(self):
4040

4141

4242
def _make_mutual_information_requirements():
43-
return ['scikit-learn>=0.18,<0.22']
43+
return ['scikit-learn>=0.18,<0.24']
4444

4545

4646
def _make_visualization_requirements():
4747
return [
48-
# ipython>=6 is not available for python2.
49-
# TODO(b/142656402): clean it up once we don't need to support python2 any
50-
# more.
51-
'ipython>=5,<6;python_version<"3"',
5248
'ipython>=7,<8;python_version>="3"',
5349
]
5450

@@ -84,9 +80,6 @@ def _make_all_extra_requirements():
8480
'Operating System :: POSIX :: Linux',
8581
'Operating System :: Microsoft :: Windows',
8682
'Programming Language :: Python',
87-
'Programming Language :: Python :: 2',
88-
'Programming Language :: Python :: 2.7',
89-
'Programming Language :: Python :: 3',
9083
'Programming Language :: Python :: 3.5',
9184
'Programming Language :: Python :: 3.6',
9285
'Programming Language :: Python :: 3.7',
@@ -105,16 +98,15 @@ def _make_all_extra_requirements():
10598
# TODO(b/149841057): remove once avro has a healthy release.
10699
'avro-python3>=1.8.1,!=1.9.2.*,<2.0.0; python_version=="3.5" and platform_system=="Darwin"',
107100
'absl-py>=0.7,<0.9',
108-
'apache-beam[gcp]>=2.17,<3',
101+
'apache-beam[gcp]>=2.20,<3',
109102
'numpy>=1.16,<2',
110103
'protobuf>=3.7,<4',
111-
'pyarrow>=0.16,<1',
104+
'pyarrow>=0.16,<0.17',
112105
'six>=1.12,<2',
113-
'tensorflow>=1.15,<3',
114-
'tensorflow-metadata>=0.21.1,<0.22',
115-
'tensorflow-transform>=0.21,<0.22',
116-
# TODO(zhuo): Revisit this dependency before releasing.
117-
'tfx-bsl>=0.21.3,<0.23',
106+
'tensorflow>=1.15,!=2.0.*,<3',
107+
'tensorflow-metadata>=0.22,<0.23',
108+
'tensorflow-transform>=0.22,<0.23',
109+
'tfx-bsl>=0.22,<0.23',
118110

119111
'pandas>=0.24,<1',
120112
# TODO(b/139941423): Consider using multi-processing provided by
@@ -127,7 +119,7 @@ def _make_all_extra_requirements():
127119
'visualization': _make_visualization_requirements(),
128120
'all': _make_all_extra_requirements(),
129121
},
130-
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<4',
122+
python_requires='>=3.5,<4',
131123
packages=find_packages(),
132124
include_package_data=True,
133125
package_data={'': ['*.lib', '*.pyd', '*.so']},

tensorflow_data_validation/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
"""Contains the version string of TFDV."""
1616

1717
# Note that setup.py uses this version.
18-
__version__ = '0.22.0.dev'
18+
__version__ = '0.22.0'

tensorflow_data_validation/workspace.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def tf_data_validation_workspace():
1919
# Fetch tf.Metadata repo from GitHub.
2020
git_repository(
2121
name = "com_github_tensorflow_metadata",
22-
commit = "7225352f33a07367a205ca8132e85272e034b7a8",
22+
commit = "8b0aa117f5850b1a61e1a976dcf5a17a8fcb34cd",
2323
remote = "https://github.com/tensorflow/metadata.git",
2424
)
2525
# LINT.ThenChange(//third_party/py/tensorflow_data_validation/google/copy.bara.sky)

0 commit comments

Comments
 (0)