diff --git a/.github/workflows/build-extensions.yml b/.github/workflows/build-extensions.yml index 18d726ab6e6..e365600f6d1 100644 --- a/.github/workflows/build-extensions.yml +++ b/.github/workflows/build-extensions.yml @@ -106,11 +106,9 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install OpenSSL + - name: Install dependencies run: | - brew install openssl@3 duckdb - OPENSSL_ROOT=$(readlink -f /opt/homebrew/Cellar/openssl@3/*/) - echo "OPENSSL_ROOT_DIR=$OPENSSL_ROOT" >> $GITHUB_ENV + brew install duckdb openssl@3 - name: Build precompiled extensions run: make extension-release LTO=1 NUM_THREADS=$(nproc) @@ -137,7 +135,7 @@ jobs: - name: Build precompiled extensions run: make extension-release LTO=1 NUM_THREADS=$(nproc) env: - MACOSX_DEPLOYMENT_TARGET: 10.15 + MACOSX_DEPLOYMENT_TARGET: 11.0 CMAKE_OSX_ARCHITECTURES: "x86_64" - name: Collect built artifacts diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 01084372ae5..67389aa9178 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -406,8 +406,8 @@ jobs: - name: Ensure Python dependencies run: | - pip3 install torch~=2.0.0 --extra-index-url https://download.pytorch.org/whl/cpu - pip3 install --user -r tools/python_api/requirements_dev.txt -f https://data.pyg.org/whl/torch-2.0.0+cpu.html + pip3 install torch~=2.2.0 --break-system-package --extra-index-url https://download.pytorch.org/whl/cpu + pip3 install --break-system-package --user -r tools/python_api/requirements_dev.txt -f https://data.pyg.org/whl/torch-2.0.0+cpu.html - name: Ensure Node.js dependencies run: npm install --include=dev @@ -505,6 +505,9 @@ jobs: node -e 'fs=require("fs");fs.readFile(process.env.FNAME,"utf8",(err,data)=>{if(err!=null)throw err;fs.writeFile(process.env.FNAME,data.replaceAll(process.env.FIND,process.env.PG_HOST),"utf8",e=>{if(e!=null)throw e;});});' cat postgres_scanner.test + - name: Install dependencies + run: pip install rangehttpserver + - name: Extension test run: | cd scripts/ && python3 http-server.py & @@ -538,6 +541,9 @@ jobs: node -e 'fs=require("fs");fs.readFile(process.env.FNAME,"utf8",(err,data)=>{if(err!=null)throw err;fs.writeFile(process.env.FNAME,data.replaceAll(process.env.FIND,process.env.PG_HOST),"utf8",e=>{if(e!=null)throw e;});});' cat postgres_scanner.test + - name: Install dependencies + run: pip3 install --break-system-packages rangehttpserver + - name: Extension test run: | cd scripts/ && python3 http-server.py & @@ -565,6 +571,9 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Install dependencies + run: pip install rangehttpserver + - name: Update PostgreSQL host working-directory: extension/postgres_scanner/test/test_files env: diff --git a/.github/workflows/mac-java-workflow.yml b/.github/workflows/mac-java-workflow.yml index 5bc50b8285d..1c9e12f40c3 100644 --- a/.github/workflows/mac-java-workflow.yml +++ b/.github/workflows/mac-java-workflow.yml @@ -30,7 +30,7 @@ jobs: run: | env JAVA_HOME=$(/usr/libexec/java_home) make java LTO=1 NUM_THREADS=48 env: - MACOSX_DEPLOYMENT_TARGET: 10.15 + MACOSX_DEPLOYMENT_TARGET: 11.0 ARCHFLAGS: "-arch x86_64" - uses: actions/upload-artifact@v3 diff --git a/.github/workflows/mac-nodejs-workflow.yml b/.github/workflows/mac-nodejs-workflow.yml index bfa71eae9f8..0d9e5ca81a4 100644 --- a/.github/workflows/mac-nodejs-workflow.yml +++ b/.github/workflows/mac-nodejs-workflow.yml @@ -59,7 +59,7 @@ jobs: working-directory: tools/nodejs_api/package run: npm i env: - MACOSX_DEPLOYMENT_TARGET: 10.15 + MACOSX_DEPLOYMENT_TARGET: 11.0 ARCHFLAGS: "-arch x86_64" - name: Move Node.js native module diff --git a/.github/workflows/mac-wheel-workflow.yml b/.github/workflows/mac-wheel-workflow.yml index 095f1c1bd7e..044e9ebfc70 100644 --- a/.github/workflows/mac-wheel-workflow.yml +++ b/.github/workflows/mac-wheel-workflow.yml @@ -66,7 +66,7 @@ jobs: CIBW_SKIP: pp* cp36* CIBW_ARCHS_MACOS: x86_64 CIBW_BUILD_VERBOSITY: 3 - MACOSX_DEPLOYMENT_TARGET: 10.15 + MACOSX_DEPLOYMENT_TARGET: 11.0 with: package-dir: ./scripts/pip-package/kuzu.tar.gz output-dir: ./scripts/pip-package/wheelhouse diff --git a/scripts/http-server.py b/scripts/http-server.py index 93b4b00395f..57138fc039b 100644 --- a/scripts/http-server.py +++ b/scripts/http-server.py @@ -1,6 +1,5 @@ import os # Change the current working directory -os.system("pip3 install rangehttpserver") os.chdir(f'{os.getcwd()}/../dataset') os.system("python3 -m RangeHTTPServer 80")