Skip to content

Commit f340a33

Browse files
[Backport release-2.26] Install pybind from pip. (#5238) (#5239)
Backport of #5238 to release-2.26. --- TYPE: NO_HISTORY DESC: Install pybind from pip. --------- Co-authored-by: Dusan Baran <[email protected]>
1 parent 3c8733b commit f340a33

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/build-windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ jobs:
136136
uses: seanmiddleditch/gha-setup-ninja@v4
137137
- name: Prevent vcpkg from building debug variants
138138
run: python $env:GITHUB_WORKSPACE/scripts/ci/patch_vcpkg_triplets.py
139+
- name: Install dependencies from pip
140+
run: python -m pip install pybind11[global]
139141

140142
- name: Configure TileDB
141143
shell: pwsh

test/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ if (${TILEDB_ARROW_TESTS})
5858
if (NOT ${pybind11_FOUND})
5959
# Get the include arguments from the python executable (has "-I" compiler option)
6060
execute_process(COMMAND ${Python_EXECUTABLE} -m pybind11 --includes
61-
OUTPUT_VARIABLE CMD_PYBIND11_INCLUDE
62-
RESULT_VARIABLE CMD_PYBIND11_RESULT
63-
OUTPUT_STRIP_TRAILING_WHITESPACE)
61+
OUTPUT_VARIABLE CMD_PYBIND11_INCLUDE
62+
RESULT_VARIABLE CMD_PYBIND11_RESULT
63+
OUTPUT_STRIP_TRAILING_WHITESPACE)
6464
if (${CMD_PYBIND11_RESULT})
6565
message(FATAL_ERROR "Unable to find pybind11 via cmake or 'python3 -m pybind11 --includes'")
6666
endif()

0 commit comments

Comments
 (0)