Skip to content

Commit b1bf593

Browse files
paulgc17tf-data-validation-team
authored andcommitted
Prepare for TFDV 0.13 release
PiperOrigin-RevId: 236397688
1 parent af02ecb commit b1bf593

File tree

5 files changed

+32
-34
lines changed

5 files changed

+32
-34
lines changed

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ pip install dist/*.whl
8383

8484
## Supported platforms
8585

86-
Note: TFDV currently requires Python 2.7. Support for Python 3 is coming
87-
very soon (tracked [here](https://github.com/tensorflow/data-validation/issues/10)).
88-
8986
TFDV is built and tested on the following 64-bit operating systems:
9087

9188
* macOS 10.12.6 (Sierra) or later.
@@ -109,12 +106,13 @@ The following table shows the package versions that are
109106
compatible with each other. This is determined by our testing framework, but
110107
other *untested* combinations may also work.
111108

112-
|tensorflow-data-validation |tensorflow |apache-beam[gcp]|
113-
|---------------------------|--------------|----------------|
114-
|GitHub master |nightly (1.x) |2.10.0 |
115-
|0.12.0 |1.12 |2.10.0 |
116-
|0.11.0 |1.11 |2.8.0 |
117-
|0.9.0 |1.9 |2.6.0 |
109+
|tensorflow-data-validation |tensorflow |apache-beam[gcp]|
110+
|--------------------------------------------------------------------------------------|--------------|----------------|
111+
|[GitHub master](https://github.com/tensorflow/data-validation/blob/master/RELEASE.md) |nightly (1.x) |2.11.0 |
112+
|[0.13.0](https://github.com/tensorflow/data-validation/blob/v0.13.0/RELEASE.md) |1.13 |2.11.0 |
113+
|[0.12.0](https://github.com/tensorflow/data-validation/blob/v0.12.0/RELEASE.md) |1.12 |2.10.0 |
114+
|[0.11.0](https://github.com/tensorflow/data-validation/blob/v0.11.0/RELEASE.md) |1.11 |2.8.0 |
115+
|[0.9.0](https://github.com/tensorflow/data-validation/blob/v0.9.0/RELEASE.md) |1.9 |2.6.0 |
118116

119117
## Questions
120118

RELEASE.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
# Current version (not yet released; still in development)
1+
# Release 0.13.0
22

33
## Major Features and Improvements
44

55
* Use joblib to exploit multiprocessing when computing statistics over a pandas
66
dataframe.
77
* Add support for semantic domain related statistics (natural language, image),
88
enabled by `StatsOptions.enable_semantic_domain_stats`.
9+
* Python 3.5 is supported.
910

1011
## Bug Fixes and Other Changes
12+
1113
* Expand unit test coverage.
1214
* Modify validation logic to raise `SCHEMA_MISSING_COLUMN` anomaly when
1315
observing a feature with no stats.
@@ -16,7 +18,9 @@
1618
* Avoid using multiprocessing by default when generating statistics over a
1719
dataframe.
1820
* Depends on `joblib>=0.12,<1`.
19-
* Requires pre-installed `tensorflow>=1.13,<2`.
21+
* Depends on `tensorflow-transform>=0.13,<0.14`.
22+
* Depends on `tensorflow-metadata>=0.12.1,<0.14`.
23+
* Requires pre-installed `tensorflow>=1.13.1,<2`.
2024
* Depends on `apache-beam[gcp]>=2.11,<3`.
2125
* Depends on `absl>=0.1.6,<2`.
2226

g3doc/index.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ pip install dist/*.whl
8181

8282
## Supported platforms
8383

84-
Note: TFDV currently requires Python 2.7. Support for Python 3 is coming
85-
very soon (tracked [here](https://github.com/tensorflow/data-validation/issues/10)).
86-
8784
TFDV is built and tested on the following 64-bit operating systems:
8885

8986
* macOS 10.12.6 (Sierra) or later.
@@ -107,12 +104,13 @@ The following table shows the package versions that are
107104
compatible with each other. This is determined by our testing framework, but
108105
other *untested* combinations may also work.
109106

110-
|tensorflow-data-validation |tensorflow |apache-beam[gcp]|
111-
|---------------------------|--------------|----------------|
112-
|GitHub master |nightly (1.x) |2.10.0 |
113-
|0.12.0 |1.12 |2.10.0 |
114-
|0.11.0 |1.11 |2.8.0 |
115-
|0.9.0 |1.9 |2.6.0 |
107+
|tensorflow-data-validation |tensorflow |apache-beam[gcp]|
108+
|--------------------------------------------------------------------------------------|--------------|----------------|
109+
|[GitHub master](https://github.com/tensorflow/data-validation/blob/master/RELEASE.md) |nightly (1.x) |2.11.0 |
110+
|[0.13.0](https://github.com/tensorflow/data-validation/blob/v0.13.0/RELEASE.md) |1.13 |2.11.0 |
111+
|[0.12.0](https://github.com/tensorflow/data-validation/blob/v0.12.0/RELEASE.md) |1.12 |2.10.0 |
112+
|[0.11.0](https://github.com/tensorflow/data-validation/blob/v0.11.0/RELEASE.md) |1.11 |2.8.0 |
113+
|[0.9.0](https://github.com/tensorflow/data-validation/blob/v0.9.0/RELEASE.md) |1.9 |2.6.0 |
116114

117115
## Questions
118116

setup.py

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,12 @@ def has_ext_modules(self):
5050
'Programming Language :: Python',
5151
'Programming Language :: Python :: 2',
5252
'Programming Language :: Python :: 2.7',
53-
# TODO(b/110842625): Once we support Python 3, remove this line.
54-
'Programming Language :: Python :: 2 :: Only',
55-
# TODO(b/110842625): Once we support Python 3, uncomment these lines.
56-
# 'Programming Language :: Python :: 3',
57-
# 'Programming Language :: Python :: 3.4',
58-
# 'Programming Language :: Python :: 3.5',
53+
'Programming Language :: Python :: 3',
54+
'Programming Language :: Python :: 3.5',
55+
# TODO(b/125613675): Once Beam supports Python 3.6 and 3.7, uncomment
56+
# these lines.
5957
# 'Programming Language :: Python :: 3.6',
58+
# 'Programming Language :: Python :: 3.7',
6059
'Topic :: Scientific/Engineering',
6160
'Topic :: Scientific/Engineering :: Artificial Intelligence',
6261
'Topic :: Scientific/Engineering :: Mathematics',
@@ -68,19 +67,19 @@ def has_ext_modules(self):
6867
# Make sure to sync the versions of common dependencies (absl-py, numpy,
6968
# six, and protobuf) with TF.
7069
install_requires=[
71-
'absl-py>=0.1.6,<2',
70+
'absl-py>=0.1.6,<1',
7271
'apache-beam[gcp]>=2.11,<3',
7372
'numpy>=1.14.5,<2',
74-
'protobuf>=3.6.1,<4',
73+
'protobuf>=3.7,<4',
7574
'six>=1.10,<2',
7675

7776
# TODO(pachristopher): Add a method to check if we are using a
7877
# compatible TF version. If not, fail with a clear error.
7978
# TODO(pachristopher): Uncomment this once TF can automatically
8079
# select between CPU and GPU installation.
81-
# 'tensorflow>=1.13,<2',
82-
'tensorflow-metadata>=0.12.1,<0.13',
83-
'tensorflow-transform>=0.12,<0.13',
80+
# 'tensorflow>=1.13.1,<2',
81+
'tensorflow-metadata>=0.12.1,<0.14',
82+
'tensorflow-transform>=0.13,<0.14',
8483

8584
# Dependencies needed for visualization.
8685
'IPython>=5.0',
@@ -92,8 +91,7 @@ def has_ext_modules(self):
9291
# Dependency for multi-processing.
9392
'joblib>=0.12,<1',
9493
],
95-
# TODO(b/72693020): Remove < 3 after Apache Beam 2.11 is released.
96-
python_requires='>=2.7,<3',
94+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
9795
packages=find_packages(),
9896
include_package_data=True,
9997
package_data={'': ['*.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.13.0dev'
18+
__version__ = '0.13.0'

0 commit comments

Comments
 (0)