Skip to content

Commit

Permalink
Only pin to 2.3 when also installing ScaNN.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 348663892
  • Loading branch information
maciejkula authored and TensorFlow Recommenders Team committed Dec 22, 2020
1 parent 673a24e commit b5af9f4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [0.3.2][2020-12-22]

### Changed

- Pinned TensorFlow to >= 2.3 when ScaNN is not being installed. When ScaNN is
being installed, we pin on >= 2.3, < 2.4. This allows users to use TFRS on
TF 2.4 when they are not using ScaNN.

## [0.3.1][2020-12-22]

### Changed
Expand Down
10 changes: 7 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
import pathlib
import setuptools

VERSION = "0.3.1"
VERSION = "0.3.2"

REQUIRED_PACKAGES = [
"absl-py >= 0.1.6",
"tensorflow == 2.3, < 2.4",
"tensorflow >= 2.3",
]

long_description = (pathlib.Path(__file__).parent
Expand All @@ -40,7 +40,11 @@
packages=setuptools.find_packages(),
install_requires=REQUIRED_PACKAGES,
extras_require={
"docs": ["fire", "annoy", "scann == 1.1.1"],
"docs": [
"fire",
"annoy",
"scann == 1.1.1",
"tensorflow == 2.3, < 2.4",],
},
# PyPI package information.
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion tensorflow_recommenders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
you the flexibility to build complex models.
"""

__version__ = "v0.3.1"
__version__ = "v0.3.2"

from tensorflow_recommenders import examples
# Internal extension library import.
Expand Down

0 comments on commit b5af9f4

Please sign in to comment.