Skip to content

Commit

Permalink
Adds a dependency to google-api-core to help pip dependency resolution.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyongjung authored and rtg0795 committed Jul 15, 2022
1 parent f6dbfee commit 702fce4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -40,7 +41,6 @@
| `tfx-bsl` | `~=1.9.0` | `~=1.8.0` | Synced release train |



## Documentation Updates

* N/A
Expand Down
6 changes: 6 additions & 0 deletions tfx/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 702fce4

Please sign in to comment.