From f6dbfee30a06d8fa4931b029d82eb2fe53462d37 Mon Sep 17 00:00:00 2001 From: rtg0795 Date: Fri, 15 Jul 2022 17:11:54 +0000 Subject: [PATCH 1/2] Update 1.9.0 in version.py --- tfx/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfx/version.py b/tfx/version.py index 908564cd58..a4d38f3e39 100644 --- a/tfx/version.py +++ b/tfx/version.py @@ -14,4 +14,4 @@ """Contains the version string of TFX.""" # Note that setup.py uses this version. -__version__ = '1.9.0-rc0' +__version__ = '1.9.0' From 702fce479f24ac1ffbf385e8471fb01b59d6bea5 Mon Sep 17 00:00:00 2001 From: jiyongjung Date: Thu, 14 Jul 2022 10:28:24 -0700 Subject: [PATCH 2/2] Adds a dependency to google-api-core to help pip dependency resolution. --- RELEASE.md | 2 +- tfx/dependencies.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index 85796403d1..0a817a0fb0 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -28,6 +28,7 @@ | Package Name | Version Constraints | Previously (in `v1.8.0`) | Comments | | -- | -- | -- | -- | +| `google-api-core` | `<2` | N/A | Added to help pip dependency resolution. google-api-core was already a transitive dependency. | | `tensorflow` | `>=1.15.5,<2` or `~=2.9.0` | `>=1.15.5,<2` or `~=2.8.0` | | | `tensorflow-ranking` | `~=0.5.0` | `~=0.3.0` | Required for TF 2.9 | | `typing-extensions` | `>=3.10.0.2,<5` | N/A | For typing utilities | @@ -40,7 +41,6 @@ | `tfx-bsl` | `~=1.9.0` | `~=1.8.0` | Synced release train | - ## Documentation Updates * N/A diff --git a/tfx/dependencies.py b/tfx/dependencies.py index 7017b828de..02b2f5cdb2 100644 --- a/tfx/dependencies.py +++ b/tfx/dependencies.py @@ -76,6 +76,12 @@ def make_required_install_packages(): 'apache-beam[gcp]>=2.38,<3', 'attrs>=19.3.0,<21', 'click>=7,<8', + # TODO(b/238946565): Remove pinned version when pip can find depenencies + # without this. `google-api-core` is needed for many google cloud + # packages. `google-cloud-recommendations-ai==0.2.0` is a dependency of + # apache-beam[gcp] and it requires 'google-api-core<2' which cause a lot + # of backtracking. + 'google-api-core<2', 'google-cloud-aiplatform>=1.6.2,<2', 'google-cloud-bigquery>=2.26.0,<3', 'grpcio>=1.28.1,<2',