From b6190f823cf74585a2d05210ae07ebe0b29fc1ca Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Sat, 5 Dec 2026 01:25:27 +0100 Subject: [PATCH] Install the dpctl wheel without its runtime dependencies in CI The dpctl dev wheels now require `intel-cmplr-lib-rt` and `intel-sycl-rt`, which the dppy index that `environments/dpctl_pkg.txt` points pip at doesn't have. pip backtracked to dpctl 0.24.0.dev0+53, the newest wheel without them, so the coverage, docs and Coverity jobs built and tested against an old dpctl, and they fail once the dpctl floor is above that build. Install the wheel with `--no-deps`: the DPC++ runtime comes from the oneAPI apt packages, as before, and numpy is already installed. --- .github/workflows/build-sphinx.yml | 7 ++++--- .github/workflows/coverity.yml | 5 +++-- .github/workflows/generate_coverage.yaml | 7 ++++--- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-sphinx.yml b/.github/workflows/build-sphinx.yml index c2df4c15e718..21e1219b6737 100644 --- a/.github/workflows/build-sphinx.yml +++ b/.github/workflows/build-sphinx.yml @@ -120,12 +120,13 @@ jobs: # to a versioning error, i.e. compatibility issue as the DPC++ compiler only guarantees # backwards compatibility, not forward compatibility (DPC++ RT may not run a binary built # with a newer version of the DPC++ compiler). - # Installing dpctl via the pip manager has no such limitation, as the package has no - # run dependency on the DPC++ RT pip package, so this is why the step is necessary here. + # Installing dpctl via the pip manager with --no-deps has no such limitation, as it leaves + # out the DPC++ RT pip packages the dpctl wheel requires, so this is why the step is + # necessary here. - name: Install dpctl if: env.oneapi-pkgs-env == '' run: | - pip install -r ${{ env.dpctl-pkg-txt }} + pip install --no-deps -r ${{ env.dpctl-pkg-txt }} - name: Conda info run: | diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 21a3043f132d..dc40a2f94ca2 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -60,8 +60,9 @@ jobs: "versioneer[toml]==0.29" - name: Install dpctl - # dpctl_pkg.txt replaces PyPI, so numpy must come from the step above - run: pip install -r environments/dpctl_pkg.txt + # dpctl_pkg.txt replaces PyPI, so numpy must come from the step above and + # the DPC++ RT from oneAPI + run: pip install --no-deps -r environments/dpctl_pkg.txt - name: Report compiler version run: | diff --git a/.github/workflows/generate_coverage.yaml b/.github/workflows/generate_coverage.yaml index e5b779fd1b59..02aceeebcad0 100644 --- a/.github/workflows/generate_coverage.yaml +++ b/.github/workflows/generate_coverage.yaml @@ -92,12 +92,13 @@ jobs: # to a versioning error, i.e. compatibility issue as the DPC++ compiler only guarantees # backwards compatibility, not forward compatibility (DPC++ RT may not run a binary built # with a newer version of the DPC++ compiler). - # Installing dpctl via the pip manager has no such limitation, as the package has no - # run dependency on the DPC++ RT pip package, so this is why the step is necessary here. + # Installing dpctl via the pip manager with --no-deps has no such limitation, as it leaves + # out the DPC++ RT pip packages the dpctl wheel requires, so this is why the step is + # necessary here. - name: Install dpctl if: env.oneapi-pkgs-env == '' run: | - pip install -r ${{ env.dpctl-pkg-txt }} + pip install --no-deps -r ${{ env.dpctl-pkg-txt }} - name: Conda info run: |