From 402d8dd0c4d13be0aac292b55235d2363b29e424 Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Wed, 2 Dec 2026 14:54:13 -0800 Subject: [PATCH] pin scikit-build below 1.0 in CI scikit-build 1.0 is a shim over scikit-build-core whose setup.py build_ext rejects --generator and --build-type. --- .github/workflows/backfill-docs.yml | 2 +- .github/workflows/coverity.yml | 2 +- .github/workflows/generate-coverage.yaml | 2 +- .github/workflows/generate-docs.yml | 2 +- .github/workflows/intel-ci.yml | 4 ++-- .github/workflows/os-llvm-sycl-build-windows.yml | 2 +- .github/workflows/os-llvm-sycl-build.yml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/backfill-docs.yml b/.github/workflows/backfill-docs.yml index 91e590f4ed..2503a8cf30 100644 --- a/.github/workflows/backfill-docs.yml +++ b/.github/workflows/backfill-docs.yml @@ -133,7 +133,7 @@ jobs: pip install packaging NUMPY_SPEC=$(python -c "$NUMPY_SPEC_SCRIPT" "$TAG") echo "Building against ${NUMPY_SPEC}." - pip install "${NUMPY_SPEC}" cython setuptools">=70.1" scikit-build cmake sphinx"<7.2" pydot graphviz furo \ + pip install "${NUMPY_SPEC}" cython setuptools">=70.1" scikit-build"<1.0" cmake sphinx"<7.2" pydot graphviz furo \ sphinxcontrib-programoutput sphinxcontrib-googleanalytics sphinx-design \ sphinxcontrib-jsmath sphinx-copybutton sphinxcontrib-spelling \ versioneer[toml]==0.29 diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index d1aeda61cf..bbfba61e14 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -57,7 +57,7 @@ jobs: - name: Install dpctl dependencies run: | - pip install numpy cython setuptools"<80" scikit-build cmake ninja versioneer[toml]==0.29 + pip install numpy cython setuptools"<80" scikit-build"<1.0" cmake ninja versioneer[toml]==0.29 - name: Report compiler version run: | diff --git a/.github/workflows/generate-coverage.yaml b/.github/workflows/generate-coverage.yaml index 846227fe6c..6d2ef7f9fc 100644 --- a/.github/workflows/generate-coverage.yaml +++ b/.github/workflows/generate-coverage.yaml @@ -93,7 +93,7 @@ jobs: - name: Install dpctl dependencies shell: bash -l {0} run: | - pip install numpy cython setuptools"<80" pytest pytest-cov scikit-build cmake coverage[toml] versioneer[toml]==0.29 + pip install numpy cython setuptools"<80" pytest pytest-cov scikit-build"<1.0" cmake coverage[toml] versioneer[toml]==0.29 - name: Build dpctl with coverage shell: bash -l {0} diff --git a/.github/workflows/generate-docs.yml b/.github/workflows/generate-docs.yml index 3e68540506..3d0484d844 100644 --- a/.github/workflows/generate-docs.yml +++ b/.github/workflows/generate-docs.yml @@ -59,7 +59,7 @@ jobs: if: ${{ !github.event.pull_request || github.event.action != 'closed' }} shell: bash -l {0} run: | - pip install numpy cython setuptools">=70.1" scikit-build cmake sphinx"<7.2" pydot graphviz furo \ + pip install numpy cython setuptools">=70.1" scikit-build"<1.0" cmake sphinx"<7.2" pydot graphviz furo \ sphinxcontrib-programoutput sphinxcontrib-googleanalytics sphinx-design \ sphinxcontrib-jsmath sphinx-copybutton sphinxcontrib-spelling \ versioneer[toml]==0.29 diff --git a/.github/workflows/intel-ci.yml b/.github/workflows/intel-ci.yml index 633bb81184..4cc6674d65 100644 --- a/.github/workflows/intel-ci.yml +++ b/.github/workflows/intel-ci.yml @@ -245,7 +245,7 @@ jobs: # oneMKL example looks for, and intel-opencl-rt provides the OpenCL CPU device to run them on run: | conda create -y -p "$RUNNER_TEMP/examples" "$DPCTL_SPEC" "$PYTHON_SPEC" pytest \ - "setuptools<72.2.0" cmake ninja pybind11 cython scikit-build \ + "setuptools<72.2.0" cmake ninja pybind11 cython "scikit-build<1.0" \ mkl-dpcpp mkl-devel-dpcpp tbb-devel intel-opencl-rt \ -c "$RUNNER_TEMP/channel" -c conda-forge --override-channels conda create -y -p "$RUNNER_TEMP/build_env" \ @@ -350,7 +350,7 @@ jobs: run: | @echo on call conda create -y -p "%RUNNER_TEMP%\examples" "%DPCTL_SPEC%" "%PYTHON_SPEC%" pytest ^ - "setuptools<72.2.0" cmake ninja pybind11 cython scikit-build ^ + "setuptools<72.2.0" cmake ninja pybind11 cython "scikit-build<1.0" ^ mkl-dpcpp mkl-devel-dpcpp tbb-devel intel-opencl-rt ^ -c "%RUNNER_TEMP%\channel" -c conda-forge --override-channels || exit /b 1 call conda create -y -p "%RUNNER_TEMP%\build_env" "%DPCPP_CMPLR%" vs2022_win-64 ^ diff --git a/.github/workflows/os-llvm-sycl-build-windows.yml b/.github/workflows/os-llvm-sycl-build-windows.yml index 6b86a35f88..166ddf2a54 100644 --- a/.github/workflows/os-llvm-sycl-build-windows.yml +++ b/.github/workflows/os-llvm-sycl-build-windows.yml @@ -129,7 +129,7 @@ jobs: run: | $ErrorActionPreference = 'Stop' $PSNativeCommandUseErrorActionPreference = $true - python -m pip install numpy cython "setuptools<80" pytest scikit-build cmake ninja "versioneer[toml]==0.29" + python -m pip install numpy cython "setuptools<80" pytest "scikit-build<1.0" cmake ninja "versioneer[toml]==0.29" - name: Report compiler version shell: pwsh diff --git a/.github/workflows/os-llvm-sycl-build.yml b/.github/workflows/os-llvm-sycl-build.yml index 90c40afb91..71f71c5ac7 100644 --- a/.github/workflows/os-llvm-sycl-build.yml +++ b/.github/workflows/os-llvm-sycl-build.yml @@ -155,7 +155,7 @@ jobs: - name: Install dpctl dependencies shell: bash -l {0} run: | - pip install numpy cython setuptools"<80" pytest scikit-build cmake ninja versioneer[toml]==0.29 + pip install numpy cython setuptools"<80" pytest scikit-build"<1.0" cmake ninja versioneer[toml]==0.29 - name: Create set_allvars.sh shell: bash -l {0}