Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/os-llvm-sycl-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion conda-recipe/rattler_recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions doc/quick_start_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,17 @@ 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

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

Expand Down
3 changes: 2 additions & 1 deletion environments/build_with_oneapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion environments/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading