Repository navigation
Build dpctl with scikit-build-core
#2345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
a47f473
3fb2c48
da8c797
050372f
2faa700
9d0fd94
1e01705
31f40d7
cd193c1
67bdd8a
4bf1217
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| node: $Format:%H$ | ||
| node-date: $Format:%cI$ | ||
| describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,4 +4,4 @@ | |
| # *.bat text eol=crlf | ||
| * text=auto eol=lf | ||
|
|
||
| dpctl/_version.py export-subst | ||
| .git_archival.txt export-subst | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,6 @@ __pycache__/ | |
|
|
||
| # CMake build and local install directory | ||
| build | ||
| _skbuild | ||
| build_cmake | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: Existing checkouts keep their |
||
| install | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,6 +51,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
| * Changed the development packages on `dppy/label/dev` to build against conda-forge only, and the wheels there to declare `intel-sycl-rt` and `intel-cmplr-lib-rt` in their metadata, at least the compiler version they were built with [gh-2409](https://github.com/IntelPython/dpctl/pull/2409) | ||
| * Changed the conda recipe's tests to `pip check`, the import and `python -m dpctl -f`, as in the conda-forge feedstock, so `conda build` and `conda build --test` no longer run the test suite; run it with `ci/hooks.py`, or with `python -m pytest --pyargs dpctl` in an environment with dpctl installed [gh-2409](https://github.com/IntelPython/dpctl/pull/2409) | ||
| * Changed the install instructions in `README.md` and the documentation to conda-forge and PyPI [gh-2409](https://github.com/IntelPython/dpctl/pull/2409) | ||
| * Build with `scikit-build-core` instead of `scikit-build` and `setuptools`, and compute the version with `setuptools-scm` instead of `versioneer` [gh-2345](https://github.com/IntelPython/dpctl/pull/2345) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: This line could also say what changes for developers: |
||
|
|
||
| ## [0.23.0] - Oct. 22, 2026 | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,17 +31,13 @@ requirements: | |
| - pybind11 >=3.0.2 | ||
| - intel-sycl-rt | ||
| - intel-cmplr-lib-rt | ||
| # Ensure we are using latest version of setuptools, since we don't need | ||
| # editable environments for release. | ||
| - setuptools >=69 | ||
| - wheel >=0.43 | ||
| - python-build >=1.1 | ||
| - scikit-build >=0.17.0,<1.0 | ||
| - scikit-build-core >=0.11 | ||
| - setuptools-scm >=8 | ||
| - cython-cmake >=0.2 | ||
| - cython >=3.1.0 # [py>=313] | ||
| - cython >=3.0.10 # [py<313] | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: CMake now requires Cython 3.1 ( |
||
| - numpy | ||
| # WARNING: check with doc how to upgrade | ||
| - versioneer ==0.29 | ||
| run: | ||
| - python | ||
| - {{ pin_compatible('intel-sycl-rt', min_pin='x.x', max_pin='x') }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
backfill-docs.ymlis not in this PR and still builds withsetup.py build_extand looks in_skbuild, so it will fail for every tag made after this PR. It could build like this workflow, withgen_docs.pyandbuild/docs, when the tag has nosetup.py.