Skip to content
Open
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
1 change: 1 addition & 0 deletions .github/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ These keep zizmor (`zizmor.yml`, fails on medium or higher findings) and the Ope
- `workflows/intel-ci.yml` is Intel CI: its conda matrix is `conda-recipe/conda_build_config.yaml`, its wheel matrix the Python classifiers in `pyproject.toml`, and its upload and cleanup jobs run only for pushes to `master` and tags in IntelPython/dpnp; see `ci/README.md`.
- `workflows/array-api-skips.txt` lists array-api-tests node IDs skipped by the conformance job; precede each with a comment naming the upstream issue.
- `bump-sycl-deps.yml` rewrites the `DRIVER_PATH`, `OCLCPUEXP_FN`, `TBB_URL`, `TBB_INSTALL_DIR` and `TBB_FN` pins in `.github/sycl-build-deps.env` with `sed`, and `os-llvm-sycl-build.yml` reads exactly those five; keep one unquoted `KEY=VALUE` per line, starting at column 0.
- `os-llvm-sycl-build.yml` and `coverity.yml` install their pip packages from `environments/os_llvm_sycl_build.txt` and `environments/coverity.txt`, one `==` pin per package; list each one in the `build` group of `dependabot.yml` too. Coverity's Cython pin stays in `coverity.yml`, out of Dependabot's reach, so its CIDs only change by hand. No PR job installs `coverity.txt`: before merging a PR that changes it, run `coverity.yml` on the PR branch (`gh workflow run coverity.yml --ref <branch>`), which builds under `cov-build` but submits to Coverity Scan only from `master`.
- Every write to `gh-pages` (`build-sphinx.yml`, `prune-pr-docs.yml`) goes through `.github/scripts/update_gh_pages.sh`, which retries a push rejected by a concurrent writer; don't push to `gh-pages` any other way. `prune-pr-docs.yml` squashes the `gh-pages` history into one commit every week, so nothing may rely on older `gh-pages` commits.
- Dependabot (`dependabot.yml`) bumps actions, `environments/` pins (among them `intel-ci.yml`'s conda-build and cibuildwheel) and pre-commit hooks weekly with a 7-day cooldown. After a `dpctl` release it opens a PR that raises the `dpctl` floor in `environments/` files only; don't merge it. Instead, by hand, move the dev-series pins (`[project].dependencies` in `pyproject.toml`, `environments/dpctl_pkg.{txt,yml}`, `environments/dpctl_wheel_build.txt`, `conda-recipe/meta.yaml`) to the next `X.Y.0dev0`, and the release-only pin (`[build-system].requires` in `pyproject.toml`) to the new release.
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,28 @@ updates:
default-days: 7
rebase-strategy: "disabled"
labels: ["autoupdate"]
ignore:
# TODO: drop when dpnp (https://github.com/IntelPython/dpnp/issues/3222) and dpctl, which os-llvm-sycl-build.yml builds from source, move to scikit-build-core; 1.0 dropped the classic backend
- dependency-name: "scikit-build"
versions: [">=1.0"]
# Pinned to match [build-system].requires in pyproject.toml and the conda recipes, which Dependabot doesn't bump
- dependency-name: "versioneer"
groups:
# os_llvm_sycl_build.txt, coverity.txt: a bump that breaks a build blocks no other pin
# (an update joins the first group it matches, so keep this before "pip")
build:
patterns:
- "cmake"
- "cython"
- "mkl-devel-dpcpp"
- "ninja"
- "numpy"
- "onedpl-devel"
Comment thread
antonwolfy marked this conversation as resolved.
Resolved
- "pytest"
- "scikit-build"
- "setuptools"
- "versioneer"
- "wheel"
pip:
patterns: ["*"]

Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,8 @@ jobs:
architecture: x64

- 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<1.0" setuptools wheel \
"versioneer[toml]==0.29"
# Cython pinned here, out of Dependabot's reach, so the generated code, and the Coverity CIDs, stay stable
run: pip install -r environments/coverity.txt "cython==3.3.0"

- name: Install dpctl
# dpctl_pkg.txt replaces PyPI, so numpy must come from the step above
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/os-llvm-sycl-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,7 @@ 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<1.0" cmake ninja versioneer[toml]==0.29 \
mkl-devel-dpcpp onedpl-devel
run: pip install -r environments/os_llvm_sycl_build.txt

- name: Create set_allvars.sh
run: |
Expand Down
7 changes: 7 additions & 0 deletions environments/coverity.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cmake==4.4.5
ninja==1.13.2
numpy==2.5.5
scikit-build==0.19.1
setuptools==84.2.1
versioneer[toml]==0.29
wheel==0.48.0
10 changes: 10 additions & 0 deletions environments/os_llvm_sycl_build.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cmake==4.4.5
cython==3.3.2
mkl-devel-dpcpp==2026.2.2
ninja==1.13.2
numpy==2.5.5
onedpl-devel==2022.14.0
pytest==9.2.0
scikit-build==0.19.1
setuptools==84.2.1
versioneer[toml]==0.29
Loading