From 60a295bf5061ea8aa012dc5a45d0de11148a19e3 Mon Sep 17 00:00:00 2001 From: dhruvesh09 <30351549+dhruvesh09@users.noreply.github.com> Date: Fri, 29 Jan 2021 11:04:11 -0800 Subject: [PATCH] TFX 0.26.1 Release * Create __init__.py * Update RELEASE.md * Update version.py * Update RELEASE.md --- RELEASE.md | 57 ++++++------------------------------------------- tfx/__init__.py | 22 +++++++++++++++++++ tfx/version.py | 2 +- 3 files changed, 29 insertions(+), 52 deletions(-) create mode 100644 tfx/__init__.py diff --git a/RELEASE.md b/RELEASE.md index d00c88e45f..d48d73bd78 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,30 +1,13 @@ -# Version 0.26.0 +# Version 0.26.1 +* This a bug fix only version ## Major Features and Improvements -* Supported output examples artifact for BulkInferrer which can be used to - link with downstream training. -* TFX Transform switched to a (notably) faster and more accurate - implementation of `tft.quantiles` analyzer. -* Added native TF 2 implementation of Transform. The default - behavior will continue to use Tensorflow's compat.v1 APIs. This can be - overriden by passing `force_tf_compat_v1=False` and enabling TF 2 behaviors. - The default behavior for TF 2 will be switched to the new native - implementation in a future release. -* Added support for passing a callable to set pre/post transform statistic - generation options. -* In addition to the "tfx" pip package, a dependency-light distribution of the - core pipeline authoring functionality of TFX is now available as the - "ml-pipelines-sdk" pip package. This package does not include first-party - TFX components. The "tfx" pip package is still the recommended installation - path for TFX. +* N/A ## Breaking changes -* Wheel package building for TFX has changed, and users need to follow the - [new TFX package build instructions] - (https://github.com/tensorflow/tfx/blob/master/package_build/README.md) to - build wheels for TFX. +* N/A ### For pipeline authors @@ -36,39 +19,11 @@ ## Deprecations -* TrainerFnArgs is deprecated by FnArgs. -* Deprecated DockerComponentConfig class: user should set a DockerPlatformConfig - proto in `platform_config` using `with_platform_config()` API instead. +* N/A ## Bug fixes and other changes -* Official TFX container image's entrypoint is changed so the image can be - used as a custom worker for Dataflow. -* In the published TFX container image, wheel files are now used to install - TFX, and the TFX source code has been moved to `/tfx/src`. -* Added a skeleton of CLI support for Kubeflow V2 runner, and implemented - support for pipeline operations. -* Added an experimental template to use with Kubeflow V2 runner. -* Added sanitization of user-specified pipeline name in Kubeflow V2 runner. -* Migrated `deployment_config` in Kubeflow V2 runner from `Any` proto message - to `Struct`, to ensure compatibility across different copies of the proto - libraries. -* The `tfx.dsl.io.fileio` filesystem handler will delegate to - `tensorflow.io.gfile` for any unknown filesystem schemes if TensorFlow - is installed. -* Skipped ephemeral package when the beam flag - 'worker_harness_container_image' is set. -* The `tfx.dsl.io.makedirs` call now succeeds if the directory already exists. -* Depends on `apache-beam[gcp]>=2.25,!=2.26,<3`. -* Depends on `keras-tuner>=1,<1.0.2`. -* Depends on `kfp-pipeline-spec>=0.1.3,<0.2`. -* Depends on `ml-metadata>=0.26.0,<0.27.0`. -* Depends on `tensorflow>=1.15.2,!=2.0.*,!=2.1.*,!=2.2.*,!=2.4.*,<3`. -* Depends on `tensorflow-data-validation>=0.26,<0.27`. -* Depends on `tensorflow-model-analysis>=0.26,<0.27`. -* Depends on `tensorflow-serving>=1.15,!=2.0.*,!=2.1.*,!=2.2.*,!=2.4.*,<3`. -* Depends on `tensorflow-transform>=0.26,<0.27`. -* Depends on `tfx-bsl>=0.26.1,<0.27`. +* The tfx.__version__ attribute was restored. ## Documentation updates diff --git a/tfx/__init__.py b/tfx/__init__.py new file mode 100644 index 0000000000..291ad16188 --- /dev/null +++ b/tfx/__init__.py @@ -0,0 +1,22 @@ +# Lint as: python3 +# Copyright 2019 Google LLC. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +"""Init module for TFX.""" + +# `tfx` is a namespace package. +# https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages +__path__ = __import__('pkgutil').extend_path(__path__, __name__) + +# Import version string. +from tfx.version import __version__ diff --git a/tfx/version.py b/tfx/version.py index f0fcc0d559..8938222793 100644 --- a/tfx/version.py +++ b/tfx/version.py @@ -15,4 +15,4 @@ """Contains the version string of TFX.""" # Note that setup.py uses this version. -__version__ = '0.26.0' +__version__ = '0.26.1'