Przeglądaj źródła

exclude sqlite example from startup test for Python 3.12

Falko Schindler 1 rok temu
rodzic
commit
88b50b94a3
1 zmienionych plików z 6 dodań i 1 usunięć
  1. 6 1
      test_startup.sh

+ 6 - 1
test_startup.sh

@@ -36,7 +36,12 @@ do
     if test $(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2) = "3.11" && test $path = "examples/sqlite_database"; then
         continue # until https://github.com/omnilib/aiosqlite/issues/241 is fixed
     fi
-    
+
+    # skip if python is 3.12 and if path is examples/sqlite_database
+    if test $(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2) = "3.12" && test $path = "examples/sqlite_database"; then
+        continue # until https://github.com/omnilib/aiosqlite/issues/241 is fixed
+    fi
+
     # install all requirements except nicegui
     if test -f $path/requirements.txt; then
         sed '/^nicegui/d' $path/requirements.txt > $path/requirements.tmp.txt || error=1 # remove nicegui from requirements.txt