Skip to content

Commit

Permalink
Add TODO+bug link to track progress toward versioning.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 189975279
  • Loading branch information
Joshua V. Dillon authored and Copybara-Service committed Mar 21, 2018
1 parent d72ce9b commit ddae9cb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
'six >= 1.10.0',
'numpy >= 1.11.1',
]
REQUIRED_TENSORFLOW_VERSION = '1.6.0'
# TODO(b/76094057): Once we support releases, enable the following:
# REQUIRED_TENSORFLOW_VERSION = '1.6.0'

if '--gpu' in sys.argv:
use_gpu = True
Expand All @@ -45,9 +46,11 @@
maybe_gpu_suffix = '-gpu' if use_gpu else ''

if release:
project_name = 'tensorflow-probability' + maybe_gpu_suffix
tensorflow_package_name = 'tensorflow{}>={}'.format(
maybe_gpu_suffix, REQUIRED_TENSORFLOW_VERSION)
raise NotImplementedError('Tensorflow Probability team does not yet '
'support releases.')
# TODO(b/76094057): Once we support releases, enable the following:
# tensorflow_package_name = 'tensorflow{}>={}'.format(
# maybe_gpu_suffix, REQUIRED_TENSORFLOW_VERSION)
else:
# Nightly releases use date-based versioning of the form
# '0.0.1.dev20180305'
Expand Down

0 comments on commit ddae9cb

Please sign in to comment.