Skip to content

Commit

Permalink
Only install scipy on CPython (no PyPy binaries available)
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Nov 13, 2024
1 parent 502b476 commit ba3eef8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wheel-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions QPALM/interfaces/python/qpalm-debug/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit ba3eef8

Please sign in to comment.