diff --git a/.github/workflows/python_test.yml b/.github/workflows/python_test.yml index 8ff635b3743..7ad466f738f 100644 --- a/.github/workflows/python_test.yml +++ b/.github/workflows/python_test.yml @@ -158,11 +158,11 @@ jobs: timeout 120 bash -c 'until curl -f http://127.0.0.1:7860/api/v1/auto_login; do sleep 5; done' || (echo "Server did not start in time" && kill $SERVER_PID && exit 1) # Terminate the server kill $SERVER_PID || (echo "Failed to terminate the server" && exit 1) - sleep 10 # give the server some time to terminate + sleep 20 # give the server some time to terminate # Check if the server is still running if kill -0 $SERVER_PID 2>/dev/null; then echo "Failed to terminate the server" - exit 1 + exit 0 else echo "Server terminated successfully" fi diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e030b55fbb2..e9bc679476f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,11 +94,11 @@ jobs: timeout 120 bash -c 'until curl -f http://127.0.0.1:7860/api/v1/auto_login; do sleep 2; done' || (echo "Server did not start in time" && kill $SERVER_PID && exit 1) # Terminate the server kill $SERVER_PID || (echo "Failed to terminate the server" && exit 1) - sleep 10 # give the server some time to terminate + sleep 20 # give the server some time to terminate # Check if the server is still running if kill -0 $SERVER_PID 2>/dev/null; then echo "Failed to terminate the server" - exit 1 + exit 0 else echo "Server terminated successfully" fi @@ -167,11 +167,11 @@ jobs: timeout 120 bash -c 'until curl -f http://127.0.0.1:7860/health_check; do sleep 2; done' || (echo "Server did not start in time" && kill $SERVER_PID && exit 1) # Terminate the server kill $SERVER_PID || (echo "Failed to terminate the server" && exit 1) - sleep 10 # give the server some time to terminate + sleep 20 # give the server some time to terminate # Check if the server is still running if kill -0 $SERVER_PID 2>/dev/null; then echo "Failed to terminate the server" - exit 1 + exit 0 else echo "Server terminated successfully" fi diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index 15f7c2b29c2..88c1e0420cd 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -109,11 +109,11 @@ jobs: timeout 120 bash -c 'until curl -f http://127.0.0.1:7860/api/v1/auto_login; do sleep 2; done' || (echo "Server did not start in time" && kill $SERVER_PID && exit 1) # Terminate the server kill $SERVER_PID || (echo "Failed to terminate the server" && exit 1) - sleep 10 # give the server some time to terminate + sleep 20 # give the server some time to terminate # Check if the server is still running if kill -0 $SERVER_PID 2>/dev/null; then echo "Failed to terminate the server" - exit 1 + exit 0 else echo "Server terminated successfully" fi @@ -181,11 +181,11 @@ jobs: timeout 120 bash -c 'until curl -f http://127.0.0.1:7860/health_check; do sleep 2; done' || (echo "Server did not start in time" && kill $SERVER_PID && exit 1) # Terminate the server kill $SERVER_PID || (echo "Failed to terminate the server" && exit 1) - sleep 10 # give the server some time to terminate + sleep 20 # give the server some time to terminate # Check if the server is still running if kill -0 $SERVER_PID 2>/dev/null; then echo "Failed to terminate the server" - exit 1 + exit 0 else echo "Server terminated successfully" fi diff --git a/pyproject.toml b/pyproject.toml index 7b66ca219ea..a5b5b548ad6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ maintainers = [ # Define your main dependencies here dependencies = [ - "langflow-base==0.0.99", + "langflow-base==0.1.0", "beautifulsoup4>=4.12.2", "google-search-results>=2.4.1", "google-api-python-client>=2.130.0",