diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 75b7cd36f32..21a3043f132 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -54,8 +54,9 @@ jobs: - name: Install dpnp build dependencies # Cython pinned so the generated code, and the Coverity CIDs, stay stable + # TODO: lift the scikit-build cap when the build moves to scikit-build-core (https://github.com/IntelPython/dpnp/issues/3222); 1.0 dropped the classic backend run: | - pip install cmake "cython==3.3.0" ninja numpy scikit-build setuptools wheel \ + pip install cmake "cython==3.3.0" ninja numpy "scikit-build<1.0" setuptools wheel \ "versioneer[toml]==0.29" - name: Install dpctl diff --git a/.github/workflows/os-llvm-sycl-build.yml b/.github/workflows/os-llvm-sycl-build.yml index 68d79d5abea..d769e2ed321 100644 --- a/.github/workflows/os-llvm-sycl-build.yml +++ b/.github/workflows/os-llvm-sycl-build.yml @@ -133,8 +133,9 @@ jobs: path: ${{ env.dpctl-repo-path }} - name: Install dpnp dependencies + # TODO: lift the scikit-build cap when dpnp (https://github.com/IntelPython/dpnp/issues/3222) and dpctl, which this job builds from source, move to scikit-build-core; 1.0 dropped the classic backend 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 \ mkl-devel-dpcpp onedpl-devel - name: Create set_allvars.sh diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index f79fa0dedae..687e44f5bdc 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -39,7 +39,8 @@ requirements: - setuptools >=79.0.1 - wheel >=0.45.1 - python-build >=1.2.2 - - scikit-build >=0.18.1 + # TODO: lift the cap when the build moves to scikit-build-core (https://github.com/IntelPython/dpnp/issues/3222); 1.0 dropped the classic backend + - scikit-build >=0.18.1,<1.0 - cython >=3.1.0 - numpy >=1.26.0 - versioneer ==0.29 diff --git a/conda-recipe/rattler_recipe.yaml b/conda-recipe/rattler_recipe.yaml index 02563017b45..1a3c5b34812 100644 --- a/conda-recipe/rattler_recipe.yaml +++ b/conda-recipe/rattler_recipe.yaml @@ -46,7 +46,8 @@ requirements: - if: not win then: ninja>=1.11.1 - numpy - - scikit-build>=0.18.1 + # TODO: lift the cap when the build moves to scikit-build-core (https://github.com/IntelPython/dpnp/issues/3222); 1.0 dropped the classic backend + - scikit-build>=0.18.1,<1.0 - setuptools>=79.0.1 - wheel>=0.45.1 - versioneer ==0.29 diff --git a/doc/quick_start_guide.rst b/doc/quick_start_guide.rst index e8a9e8b2350..9bfa7a63068 100644 --- a/doc/quick_start_guide.rst +++ b/doc/quick_start_guide.rst @@ -94,8 +94,8 @@ On Linux: .. code-block:: bash - conda create -n build-env dpctl cython dpcpp_linux-64 mkl-devel-dpcpp tbb-devel \ - onedpl-devel cmake scikit-build ninja versioneer pytest ocl-icd-system \ + conda create -n build-env dpctl cython dpcpp_linux-64 mkl-devel-dpcpp tbb-devel \ + onedpl-devel cmake "scikit-build<1.0" ninja versioneer pytest ocl-icd-system \ -c dppy/label/dev -c conda-forge --override-channels conda activate build-env @@ -103,8 +103,8 @@ On Windows: .. code-block:: bash - conda create -n build-env dpctl cython dpcpp_win-64 mkl-devel-dpcpp tbb-devel \ - onedpl-devel cmake scikit-build ninja versioneer pytest khronos-opencl-icd-loader\ + conda create -n build-env dpctl cython dpcpp_win-64 mkl-devel-dpcpp tbb-devel \ + onedpl-devel cmake "scikit-build<1.0" ninja versioneer pytest khronos-opencl-icd-loader\ -c dppy/label/dev -c conda-forge --override-channels conda activate build-env diff --git a/environments/build_with_oneapi.yml b/environments/build_with_oneapi.yml index 9dafc156838..26b414e4290 100644 --- a/environments/build_with_oneapi.yml +++ b/environments/build_with_oneapi.yml @@ -7,5 +7,6 @@ dependencies: - ninja - numpy - setuptools - - scikit-build + # TODO: lift the cap when the build moves to scikit-build-core (https://github.com/IntelPython/dpnp/issues/3222); 1.0 dropped the classic backend + - scikit-build<1.0 - versioneer diff --git a/environments/examples.yml b/environments/examples.yml index 37429de5ae6..8792ec712c0 100644 --- a/environments/examples.yml +++ b/environments/examples.yml @@ -7,4 +7,5 @@ dependencies: - dpcpp_linux-64>=2026.0.0 - cmake - ninja - - scikit-build + # TODO: lift the cap when the example moves to scikit-build-core (https://github.com/IntelPython/dpnp/issues/3222); 1.0 dropped the classic backend + - scikit-build<1.0 diff --git a/pyproject.toml b/pyproject.toml index f9bee816864..2974429ccb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,8 @@ requires = [ "ninja>=1.11.1; platform_system!='Windows'", # NOTE: no DPNP restriction on NumPy version, so follow NumPy's drop schedule "numpy>=1.26.0", - "scikit-build>=0.18.1", + # TODO: lift the cap when the build moves to scikit-build-core (https://github.com/IntelPython/dpnp/issues/3222); 1.0 dropped the classic backend + "scikit-build>=0.18.1,<1.0", "setuptools>=79.0.1", "wheel>=0.45.1", # WARNING: check with doc how to upgrade