Unverified Commit db22668e authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

pin numpy for Python 3.8 (#7639)

parent 01b9faa1
......@@ -57,8 +57,10 @@ pytorch_dep = "torch"
if os.getenv("PYTORCH_VERSION"):
pytorch_dep += "==" + os.getenv("PYTORCH_VERSION")
numpy_dep = "numpy" if sys.version_info[:2] >= (3, 9) else "numpy < 1.25"
requirements = [
"numpy",
numpy_dep,
"requests",
pytorch_dep,
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment