Skip to content

Commit

Permalink
build: Disallow TensorFlow v2.14.0 (#2342)
Browse files Browse the repository at this point in the history
* tensorflow v2.14.0 breaks tensorflow-probability at import time.
  Until this is fixed, tensorflow v2.14.0 can't be used.
   - c.f. tensorflow/probability#1752
  • Loading branch information
matthewfeickert authored Sep 27, 2023
1 parent 5f85222 commit f280cb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ Homepage = "https://github.com/scikit-hep/pyhf"
[project.optional-dependencies]
shellcomplete = ["click_completion"]
tensorflow = [
"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>=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-probability>=0.11.0", # c.f. PR #1657
]
torch = ["torch>=1.10.0"] # c.f. PR #1657
Expand Down

0 comments on commit f280cb2

Please sign in to comment.