Skip to content

Commit

Permalink
Revert to numpy 1.21.6 for Python versions < 3.7
Browse files Browse the repository at this point in the history
1.22.0 only supports Python 3.8 or newer: https://numpy.org/doc/stable/release/1.22.0-notes.html#python-3-7-is-no-longer-supported

PiperOrigin-RevId: 497220130
Change-Id: I3549aedf940515762cee22edfc4eb0d6f8110072
  • Loading branch information
alimuldal authored and copybara-github committed Dec 22, 2022
1 parent adc1379 commit 91b4679
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
absl-py==1.0.0
dm-tree==0.1.6
numpy==1.22.0
numpy==1.21.6; python_version < '3.8'
numpy==1.22.0; python_version >= '3.8'
pytest==6.2.5

0 comments on commit 91b4679

Please sign in to comment.