From 4ce8b4672f4c37aba5cbfbb06b38868ab18946b3 Mon Sep 17 00:00:00 2001 From: struct2tensor-team Date: Thu, 10 Oct 2024 13:27:00 -0700 Subject: [PATCH] Struct2Tensor 0.47.0 Release PiperOrigin-RevId: 684557343 --- README.md | 1 + RELEASE.md | 18 ++++++++++++++++++ setup.py | 6 +++--- struct2tensor/version.py | 2 +- struct2tensor/workspace.bzl | 4 ++-- 5 files changed, 25 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9c23203..11e5d9b 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,7 @@ is an integer. struct2tensor | tensorflow ---------------------------------------------------------------------- | ---------- +[0.47.0](https://github.com/google/struct2tensor/releases/tag/v0.47.0) | 2.16.2 [0.46.0](https://github.com/google/struct2tensor/releases/tag/v0.46.0) | 2.15.0 [0.45.0](https://github.com/google/struct2tensor/releases/tag/v0.45.0) | 2.13.0 [0.44.0](https://github.com/google/struct2tensor/releases/tag/v0.44.0) | 2.12.0 diff --git a/RELEASE.md b/RELEASE.md index 7f7f146..b76c44f 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -6,12 +6,30 @@ ## Bug Fixes and Other Changes +## Breaking Changes + +## Deprecations + +# Version 0.47.0 + +## Major Features and Improvements + +* N/A + +## Bug Fixes and Other Changes + * Bumped the minimum bazel version required to build `struct2tensor` to 6.5.0. +* Depends on `tensorflow 2.16.2`. +* Relax dependency on Protobuf to include version 5.x ## Breaking Changes +* N/A + ## Deprecations +* N/A + # Version 0.46.0 ## Major Features and Improvements diff --git a/setup.py b/setup.py index 45118d5..aed7ce6 100644 --- a/setup.py +++ b/setup.py @@ -79,13 +79,13 @@ def select_constraint(default, nightly=None, git_master=None): # TODO(b/263060885): Remove the explicit numpy dependency once TF works # with numpy>=1.24. 'numpy>=1.22', - 'protobuf>=4.25.2,<5;python_version>="3.11"', + 'protobuf>=4.25.2,<6;python_version>="3.11"', 'protobuf>=3.20.3,<5;python_version<"3.11"', 'tensorflow>=2.16,<2.17', 'tensorflow-metadata' + select_constraint( - default='>=1.15.0,<1.16.0', - nightly='>=1.16.0.dev', + default='>=1.16.1,<1.17.0', + nightly='>=1.17.0.dev', git_master='@git+https://github.com/tensorflow/metadata@master', ), 'pyarrow>=10,<11', diff --git a/struct2tensor/version.py b/struct2tensor/version.py index 278b0c8..0d8cc26 100644 --- a/struct2tensor/version.py +++ b/struct2tensor/version.py @@ -15,4 +15,4 @@ """Contains the version string of struct2tensor.""" # Note that setup.py uses this version. -__version__ = '0.47.0.dev' +__version__ = '0.48.0.dev' diff --git a/struct2tensor/workspace.bzl b/struct2tensor/workspace.bzl index a23725d..c717159 100644 --- a/struct2tensor/workspace.bzl +++ b/struct2tensor/workspace.bzl @@ -63,10 +63,10 @@ def struct2tensor_workspace(): urls = ["https://github.com/apache/arrow/archive/%s.zip" % ARROW_COMMIT], ) - _TFMD_COMMIT_HASH = "47aaaa7aa820fd8a865babcfddbdafe11ec92a25" # 1.15.0 + _TFMD_COMMIT_HASH = "9d0fc933a0120ad1c99fc6ec6491a4503964821a" # 1.16.1 http_archive( name = "com_github_tensorflow_metadata", - sha256 = "39697919990afb427282c4a2bd6bb3da6d0cdd7434b0d3137e3f8d40e66b7dbe", + sha256 = "283fa4930925b94ef8942133932cc405dde2b70f4594f435add086c0ff5be3e2", strip_prefix = "metadata-%s" % _TFMD_COMMIT_HASH, urls = [ "https://github.com/tensorflow/metadata/archive/%s.tar.gz" % _TFMD_COMMIT_HASH,