Skip to content

Commit

Permalink
Allow dev and github main versions to depend on corresponding Tensorflow
Browse files Browse the repository at this point in the history
dev+main versions.

PiperOrigin-RevId: 629506459
  • Loading branch information
tf-transform-team authored and tfx-copybara committed Apr 30, 2024
1 parent 4c7f784 commit 1260812
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,24 @@ def _make_required_install_packages():
'protobuf>=3.20.3,<5;python_version<"3.11"',
'pyarrow>=10,<11',
'pydot>=1.2,<2',
'tensorflow>=2.15,<2.16',
'tensorflow-metadata' + select_constraint(
'tensorflow'
+ select_constraint(
default='>=2.15,<2.16',
nightly='>=2.16.0.dev',
git_master='@git+https://github.com/tensorflow/tensorflow@master',
),
'tensorflow-metadata'
+ select_constraint(
default='>=1.15.0,<1.16.0',
nightly='>=1.16.0.dev',
git_master='@git+https://github.com/tensorflow/metadata@master'),
'tfx-bsl' + select_constraint(
git_master='@git+https://github.com/tensorflow/metadata@master',
),
'tfx-bsl'
+ select_constraint(
default='>=1.15.1,<1.16.0',
nightly='>=1.16.0.dev',
git_master='@git+https://github.com/tensorflow/tfx-bsl@master'),
git_master='@git+https://github.com/tensorflow/tfx-bsl@master',
),
]


Expand Down

0 comments on commit 1260812

Please sign in to comment.