Skip to content

Commit

Permalink
build: Update lower bounds to tensorflow v2.7.0, jaxlib v0.1.61 (#1962)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
matthewfeickert authored Aug 27, 2022
1 parent a92d9b2 commit 868c27d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
extras_require = {
'shellcomplete': ['click_completion'],
'tensorflow': [
'tensorflow>=2.6.5', # c.f. PR #1874
'tensorflow>=2.7.0', # c.f. PR #1962
'tensorflow-probability>=0.11.0', # c.f. PR #1657
],
'torch': ['torch>=1.10.0'], # c.f. PR #1657
'jax': ['jax>=0.2.10', 'jaxlib>=0.1.60,!=0.1.68'], # c.f. Issue 1501
'jax': ['jax>=0.2.10', 'jaxlib>=0.1.61,!=0.1.68'], # c.f. PR #1962, Issue #1501
'xmlio': ['uproot>=4.1.1'], # c.f. PR #1567
'minuit': ['iminuit>=2.7.0'], # c.f. PR #1895
}
Expand Down
4 changes: 2 additions & 2 deletions tests/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ uproot==4.1.1
# minuit
iminuit==2.7.0 # c.f. PR #1895
# tensorflow
tensorflow==2.6.5 # c.f. PR #1874
tensorflow==2.7.0 # c.f. PR #1962
tensorflow-probability==0.11.0 # c.f. PR #1657
# torch
torch==1.10.0
Expand All @@ -21,4 +21,4 @@ torch==1.10.0
# c.f. https://github.com/google/jax/discussions/7608#discussioncomment-1269342
--find-links https://storage.googleapis.com/jax-releases/jax_releases.html
jax==0.2.10
jaxlib==0.1.60 # jax v0.2.10 requires jaxlib>=0.1.60
jaxlib==0.1.61 # c.f. PR #1962

0 comments on commit 868c27d

Please sign in to comment.