Skip to content

Commit 868c27d

Browse files
build: Update lower bounds to tensorflow v2.7.0, jaxlib v0.1.61 (#1962)
* Update lower bound of the supported tensorflow versions to v2.7.0 to ensure numpy v1.20.0+ is available. - numpy.typing is needed for PR #1940 and was added in numpy v1.20.0. - tensorflow v2.6.5 restricts numpy to 'numpy~=1.19.2' and tensorflow v2.7.0 relaxes numpy constraints to 'numpy>=1.14.5'. * Update lower bound of the supported jaxlib versions to v0.1.61. - jaxlib v0.1.60 required 'numpy>=1.12,<1.20' and jaxlib v0.1.61 relaxes this to 'numpy>=1.16'. * Update tests/constraints.txt to use tensorflow==2.7.0 and jaxlib==0.1.61.
1 parent a92d9b2 commit 868c27d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
extras_require = {
44
'shellcomplete': ['click_completion'],
55
'tensorflow': [
6-
'tensorflow>=2.6.5', # c.f. PR #1874
6+
'tensorflow>=2.7.0', # c.f. PR #1962
77
'tensorflow-probability>=0.11.0', # c.f. PR #1657
88
],
99
'torch': ['torch>=1.10.0'], # c.f. PR #1657
10-
'jax': ['jax>=0.2.10', 'jaxlib>=0.1.60,!=0.1.68'], # c.f. Issue 1501
10+
'jax': ['jax>=0.2.10', 'jaxlib>=0.1.61,!=0.1.68'], # c.f. PR #1962, Issue #1501
1111
'xmlio': ['uproot>=4.1.1'], # c.f. PR #1567
1212
'minuit': ['iminuit>=2.7.0'], # c.f. PR #1895
1313
}

tests/constraints.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ uproot==4.1.1
1212
# minuit
1313
iminuit==2.7.0 # c.f. PR #1895
1414
# tensorflow
15-
tensorflow==2.6.5 # c.f. PR #1874
15+
tensorflow==2.7.0 # c.f. PR #1962
1616
tensorflow-probability==0.11.0 # c.f. PR #1657
1717
# torch
1818
torch==1.10.0
@@ -21,4 +21,4 @@ torch==1.10.0
2121
# c.f. https://github.com/google/jax/discussions/7608#discussioncomment-1269342
2222
--find-links https://storage.googleapis.com/jax-releases/jax_releases.html
2323
jax==0.2.10
24-
jaxlib==0.1.60 # jax v0.2.10 requires jaxlib>=0.1.60
24+
jaxlib==0.1.61 # c.f. PR #1962

0 commit comments

Comments
 (0)