diff --git a/.github/workflows/wheel-upload.yml b/.github/workflows/wheel-upload.yml index ed7ec57c..9cff1170 100644 --- a/.github/workflows/wheel-upload.yml +++ b/.github/workflows/wheel-upload.yml @@ -130,7 +130,7 @@ jobs: restore-keys: ${{ runner.os }}-${{ matrix.pypy }}${{ matrix.python-version }}-${{ matrix.host }}-ccache # Pip install dependencies - name: Install Python dependencies - run: python${{ matrix.python-version }} -m pip install -U pip build pybind11-stubgen~=2.5.1 py-build-cmake~=0.2.0a14 'numpy>=1.19,<3' 'scipy>=1.6,<2' + run: python${{ matrix.python-version }} -m pip install -U pip build # Download stubs - name: Download stubs uses: actions/download-artifact@v4 diff --git a/QPALM/interfaces/python/qpalm-debug/pyproject.toml b/QPALM/interfaces/python/qpalm-debug/pyproject.toml index c49b75bb..36fc8a21 100644 --- a/QPALM/interfaces/python/qpalm-debug/pyproject.toml +++ b/QPALM/interfaces/python/qpalm-debug/pyproject.toml @@ -20,8 +20,8 @@ requires = [ "py-build-cmake~=0.2.0a14", "pybind11==2.13.6", "pybind11-stubgen==2.5.1", - "numpy>=1.19,<3", - "scipy>=1.6,<2", + "numpy>=1.19,<3; implementation_name=='cpython'", + "scipy>=1.6,<2; implementation_name=='cpython'", ] build-backend = "py_build_cmake.build_component" diff --git a/pyproject.toml b/pyproject.toml index 1881232a..40d0a258 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,8 +3,8 @@ requires = [ "py-build-cmake~=0.2.0a14", "pybind11==2.13.6", "pybind11-stubgen==2.5.1", - "numpy>=1.19,<3", - "scipy>=1.6,<2", + "numpy>=1.19,<3; implementation_name=='cpython'", + "scipy>=1.6,<2; implementation_name=='cpython'", ] build-backend = "py_build_cmake.build"