Unverified Commit a1c15ea8 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Pin Keras cause they messed their release (#14262)

* Pin Keras cause they messed their release

* Put != instead of <

* Try this way

* Back to the beginning but more agressive
parent 11492431
...@@ -107,6 +107,7 @@ _deps = [ ...@@ -107,6 +107,7 @@ _deps = [
"jax>=0.2.8", "jax>=0.2.8",
"jaxlib>=0.1.65", "jaxlib>=0.1.65",
"jieba", "jieba",
"keras!=2.7.0", # Remove when they fix their release
"keras2onnx", "keras2onnx",
"nltk", "nltk",
"numpy>=1.17", "numpy>=1.17",
...@@ -227,8 +228,8 @@ extras = {} ...@@ -227,8 +228,8 @@ extras = {}
extras["ja"] = deps_list("fugashi", "ipadic", "unidic_lite", "unidic") extras["ja"] = deps_list("fugashi", "ipadic", "unidic_lite", "unidic")
extras["sklearn"] = deps_list("scikit-learn") extras["sklearn"] = deps_list("scikit-learn")
extras["tf"] = deps_list("tensorflow", "onnxconverter-common", "keras2onnx") extras["tf"] = deps_list("tensorflow", "onnxconverter-common", "keras2onnx", "keras")
extras["tf-cpu"] = deps_list("tensorflow-cpu", "onnxconverter-common", "keras2onnx") extras["tf-cpu"] = deps_list("tensorflow-cpu", "onnxconverter-common", "keras2onnx", "keras")
extras["torch"] = deps_list("torch") extras["torch"] = deps_list("torch")
......
...@@ -25,6 +25,7 @@ deps = { ...@@ -25,6 +25,7 @@ deps = {
"jax": "jax>=0.2.8", "jax": "jax>=0.2.8",
"jaxlib": "jaxlib>=0.1.65", "jaxlib": "jaxlib>=0.1.65",
"jieba": "jieba", "jieba": "jieba",
"keras": "keras!=2.7.0",
"keras2onnx": "keras2onnx", "keras2onnx": "keras2onnx",
"nltk": "nltk", "nltk": "nltk",
"numpy": "numpy>=1.17", "numpy": "numpy>=1.17",
......
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