Skip to content

Commit 53c026e

Browse files
zoyahavtf-transform-team
authored andcommitted
Prepare for TFT 0.14 release.
- Updating version to 0.14.0 - Setting the currently release in the release notes to 0.14 - Requiring TF version >= 0.14 - Depending on Beam 2.14, and updating the dependency tables - Adding official python 3.6 and 3.7 support in setup.py PiperOrigin-RevId: 261703272
1 parent cefcb0f commit 53c026e

File tree

6 files changed

+17
-16
lines changed

6 files changed

+17
-16
lines changed

README.md

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

6060
|tensorflow-transform |tensorflow |apache-beam[gcp]|
6161
|--------------------------------------------------------------------------------|--------------|----------------|
62-
|[GitHub master](https://github.com/tensorflow/transform/blob/master/RELEASE.md) |nightly (1.x) |2.13.0 |
62+
|[GitHub master](https://github.com/tensorflow/transform/blob/master/RELEASE.md) |nightly (1.x) |2.14.0 |
63+
|[0.14.0](https://github.com/tensorflow/transform/blob/v0.13.0/RELEASE.md) |1.14 |2.14.0 |
6364
|[0.13.0](https://github.com/tensorflow/transform/blob/v0.13.0/RELEASE.md) |1.13 |2.11.0 |
6465
|[0.12.0](https://github.com/tensorflow/transform/blob/v0.12.0/RELEASE.md) |1.12 |2.10.0 |
6566
|[0.11.0](https://github.com/tensorflow/transform/blob/v0.11.0/RELEASE.md) |1.11 |2.8.0 |

RELEASE.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- mdformat off(mdformat causes unwanted indentation changes) -->
2-
# Current version (not yet released; still in development)
2+
# Release 0.14.0
33

44
## Major Features and Improvements
55
* New `tft.word_count` mapper to identify the number of tokens for each row
@@ -49,16 +49,16 @@
4949
* At test utility `tft_unit.cross_named_parameters` for creating parameterized
5050
tests that involve the cartesian product of various parameters.
5151
* Depends on `tensorflow-metadata>=0.14,<0.15`.
52-
* Depends on `apache-beam[gcp]>=2.13,<3`.
52+
* Depends on `apache-beam[gcp]>=2.14,<3`.
5353
* Depends on `numpy>=1.16,<2`.
5454
* Depends on `absl-py>=0.7,<2`.
5555
* Allow `preprocessing_fn` to emit a `tf.RaggedTensor`. In this case, the
5656
output `Schema` proto will not be able to be converted to a feature spec,
5757
and so the output data will not be able to be materialized with `tft.coders`.
5858
* Ability to directly set exact `num_buckets` with new parameter
59-
`always_return_num_quantiles` for `analyzers.quantiles` and
59+
`always_return_num_quantiles` for `analyzers.quantiles` and
6060
`mappers.bucketize`, defaulting to False in general but True when
61-
`reduce_instance_dims` is False
61+
`reduce_instance_dims` is False.
6262

6363
## Breaking changes
6464
* `tf_utils.reduce_batch_count_mean_and_var`, which feeds into
@@ -73,6 +73,7 @@
7373
* Only explicitly public analyzers are exported to the `tft` module, e.g.
7474
combiners are no longer exported and have to be accessed directly through
7575
`tft.analyzers`.
76+
* Requires pre-installed TensorFlow >=1.14,<2.
7677

7778
## Deprecations
7879
* `DatasetSchema` is now a deprecated factory method (see above).

docs/install.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ The following table is the `tf.Transform` package versions that are
5454
compatible with each other. This is determined by our testing framework, but
5555
other *untested* combinations may also work.
5656

57-
tensorflow-transform | tensorflow | apache-beam[gcp]
58-
------------------------------------------------------------------------------- | ------------- | ----------------
59-
|[GitHub master](https://github.com/tensorflow/transform/blob/master/RELEASE.md) |nightly (1.x) |2.13.0 |
57+
|tensorflow-transform |tensorflow |apache-beam[gcp]|
58+
|--------------------------------------------------------------------------------|--------------|----------------|
59+
|[GitHub master](https://github.com/tensorflow/transform/blob/master/RELEASE.md) |nightly (1.x) |2.14.0 |
60+
|[0.14.0](https://github.com/tensorflow/transform/blob/v0.13.0/RELEASE.md) |1.14 |2.14.0 |
6061
|[0.13.0](https://github.com/tensorflow/transform/blob/v0.13.0/RELEASE.md) |1.13 |2.11.0 |
6162
|[0.12.0](https://github.com/tensorflow/transform/blob/v0.12.0/RELEASE.md) |1.12 |2.10.0 |
6263
|[0.11.0](https://github.com/tensorflow/transform/blob/v0.11.0/RELEASE.md) |1.11 |2.8.0 |

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def _make_required_install_packages():
2828
# six, and protobuf) with TF.
2929
return [
3030
'absl-py>=0.7,<2',
31-
'apache-beam[gcp]>=2.13,<3',
31+
'apache-beam[gcp]>=2.14,<3',
3232
'numpy>=1.16,<2',
3333
'protobuf>=3.7,<4',
3434
'six>=1.10,<2',
@@ -71,10 +71,8 @@ def _make_required_install_packages():
7171
'Programming Language :: Python :: 2.7',
7272
'Programming Language :: Python :: 3',
7373
'Programming Language :: Python :: 3.5',
74-
# TODO(b/125613675): Once Beam supports Python 3.6 and 3.7, uncomment
75-
# these lines.
76-
# 'Programming Language :: Python :: 3.6',
77-
# 'Programming Language :: Python :: 3.7',
74+
'Programming Language :: Python :: 3.6',
75+
'Programming Language :: Python :: 3.7',
7876
'Topic :: Scientific/Engineering',
7977
'Topic :: Scientific/Engineering :: Artificial Intelligence',
8078
'Topic :: Scientific/Engineering :: Mathematics',

tensorflow_transform/beam/impl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,9 +448,9 @@ def process(self, batch, saved_model_dir):
448448
def _assert_tensorflow_version():
449449
# Fail with a clear error in case we are not using a compatible TF version.
450450
major, minor, _ = tf.__version__.split('.')
451-
if int(major) != 1 or int(minor) < 13:
451+
if int(major) != 1 or int(minor) < 14:
452452
raise RuntimeError(
453-
'TensorFlow version >= 1.13, < 2 is required. Found (%s). Please '
453+
'TensorFlow version >= 1.14, < 2 is required. Found (%s). Please '
454454
'install the latest 1.x version from '
455455
'https://github.com/tensorflow/tensorflow. ' % tf.__version__)
456456

tensorflow_transform/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
"""Contains the version string of TF.Transform."""
1515

1616
# Note that setup.py uses this version.
17-
__version__ = '0.14.0dev'
17+
__version__ = '0.14.0'

0 commit comments

Comments
 (0)