Quellcode durchsuchen

Workaround tensorflow/tensorflow#44485 (#627)

Lutz Roeder vor 5 Jahren
Ursprung
Commit
6b3073fe1b
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
  1. 8 0
      tools/tf

+ 8 - 0
tools/tf

@@ -45,6 +45,10 @@ sync() {
 
 install() {
     bold "tf install"
+    if [ "$(${python} -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')" = "3.9" ]; then
+        echo "- python 3.9 [skip]"
+        return
+    fi
     if [ "$(uname -sm)" = "Darwin arm64" ]; then
         echo "- arm64 [skip]"
         return
@@ -78,6 +82,10 @@ schema() {
 
 metadata() {
     bold "tf metadata"
+    if [ "$(${python} -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')" = "3.9" ]; then
+        echo "- python 3.9 [skip]"
+        return
+    fi
     if [ "$(uname -sm)" = "Darwin arm64" ]; then
         echo "- arm64 [skip]"
         return