From 050d6dcfe52bb11f83df19429c99f338992478a9 Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Tue, 10 Jun 2025 18:35:09 -0700 Subject: [PATCH] Pin NumPy in OS compiler and coverage builds to <2.3.0 --- .github/workflows/generate-coverage.yaml | 3 ++- .github/workflows/os-llvm-sycl-build.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-coverage.yaml b/.github/workflows/generate-coverage.yaml index e4fa16c591..77fb782469 100644 --- a/.github/workflows/generate-coverage.yaml +++ b/.github/workflows/generate-coverage.yaml @@ -91,7 +91,8 @@ jobs: - name: Install dpctl dependencies shell: bash -l {0} run: | - pip install numpy cython setuptools"<80" pytest pytest-cov scikit-build cmake coverage[toml] versioneer[toml]==0.29 + # TODO: unpin numpy when numpy#29167 resolved + pip install numpy"<2.3.0" cython setuptools"<80" pytest pytest-cov scikit-build cmake coverage[toml] versioneer[toml]==0.29 - name: Build dpctl with coverage shell: bash -l {0} diff --git a/.github/workflows/os-llvm-sycl-build.yml b/.github/workflows/os-llvm-sycl-build.yml index c67fabea63..9f66436777 100644 --- a/.github/workflows/os-llvm-sycl-build.yml +++ b/.github/workflows/os-llvm-sycl-build.yml @@ -107,7 +107,8 @@ jobs: - name: Install dpctl dependencies shell: bash -l {0} run: | - pip install numpy cython setuptools"<80" pytest scikit-build cmake ninja versioneer[toml]==0.29 + # TODO: unpin numpy when numpy#29167 resolved + pip install numpy"<2.3.0" cython setuptools"<80" pytest scikit-build cmake ninja versioneer[toml]==0.29 - name: Checkout repo uses: actions/checkout@v4.2.2