Skip to content

Commit

Permalink
Update py-build-cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Nov 21, 2024
1 parent eeb0241 commit f71da00
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wheel-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
restore-keys: ${{ runner.os }}-${{ env.PYTHON_VERSION }}-${{ env.HOST }}-ccache
# Pip install dependencies
- name: Install Python dependencies
run: python${{ env.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${{ env.PYTHON_VERSION }} -m pip install -U pip build pybind11-stubgen~=2.5.1 py-build-cmake~=0.3.0a2 'numpy>=1.19,<3' 'scipy>=1.6,<2'
# Build
- name: Native build
run: |
Expand Down
5 changes: 3 additions & 2 deletions QPALM/interfaces/python/qpalm-debug/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ description = "Debug symbols for the qpalm package."

[build-system]
requires = [
"py-build-cmake~=0.2.0a14",
"py-build-cmake~=0.3.0a2",
"pybind11==2.13.6",
"pybind11-stubgen==2.5.1",
"numpy>=1.19,<3; implementation_name=='cpython'",
"scipy>=1.6,<2; implementation_name=='cpython'",
]
build-backend = "py_build_cmake.build_component"

[tool.py-build-cmake.component]
[tool.py-build-cmake]
main_project = "../../../.."
[tool.py-build-cmake.component]
install_components = ["python_modules_debug"]
install_only = true
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"py-build-cmake~=0.2.0a14",
"py-build-cmake~=0.3.0a2",
"pybind11==2.13.6",
"pybind11-stubgen==2.5.1",
"numpy>=1.19,<3; implementation_name=='cpython'",
Expand Down

0 comments on commit f71da00

Please sign in to comment.