From 976eec1674eb36f23d521a9a9b1497acb583b013 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Tue, 3 Oct 2023 02:10:59 -0500 Subject: [PATCH] revert: Remove disallow of TensorFlow v2.14.0 (#2344) * With the release of tensorflow-probability v0.22.0, tensorflow v2.14.0 can be used and is required for tensorflow-probability v0.22.0+. - c.f. https://github.com/tensorflow/probability/releases/tag/v0.22.0 * Reverts PR https://github.com/scikit-hep/pyhf/pull/2342 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7e3305d8ad..1e50c697ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,8 +67,8 @@ Homepage = "https://github.com/scikit-hep/pyhf" [project.optional-dependencies] shellcomplete = ["click_completion"] tensorflow = [ - "tensorflow>=2.7.0,!=2.14.0; platform_machine != 'arm64'", # c.f. PR #1962 - "tensorflow-macos>=2.7.0,!=2.14.0; platform_machine == 'arm64' and platform_system == 'Darwin'", # c.f. PR #2119 + "tensorflow>=2.7.0; platform_machine != 'arm64'", # c.f. PR #1962 + "tensorflow-macos>=2.7.0; platform_machine == 'arm64' and platform_system == 'Darwin'", # c.f. PR #2119 "tensorflow-probability>=0.11.0", # c.f. PR #1657 ] torch = ["torch>=1.10.0"] # c.f. PR #1657