Skip to content

Commit

Permalink
Updated pybind11_mkdoc to fix CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
themarpe authored and Matevz Morato committed Oct 4, 2023
1 parent 4c17f81 commit e7ba44d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
run: |
python -m pip install --upgrade pip
sudo apt install libusb-1.0-0-dev
python -m pip install clang==14.0 --force-reinstall
python -m pip install -r docs/requirements_mkdoc.txt
- name: Configure project
run: cmake -S . -B build -DDEPTHAI_PYTHON_FORCE_DOCSTRINGS=ON -DDEPTHAI_PYTHON_DOCSTRINGS_OUTPUT="$PWD/docstrings/depthai_python_docstring.hpp"
Expand Down
2 changes: 1 addition & 1 deletion cmake/pybind11-mkdoc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function(pybind11_mkdoc_setup_internal target output_path mkdoc_headers enforce)

# Execute module pybind11_mkdoc to check if present
message(STATUS "Checking for pybind11_mkdoc")
execute_process(COMMAND ${PYTHON_EXECUTABLE} -m ${PYBIND11_MKDOC_MODULE_NAME} RESULT_VARIABLE error OUTPUT_QUIET ERROR_QUIET)
execute_process(COMMAND ${PYTHON_EXECUTABLE} -m ${PYBIND11_MKDOC_MODULE_NAME} --help RESULT_VARIABLE error OUTPUT_QUIET ERROR_QUIET)
if(error)
set(message "Checking for pybind11_mkdoc - not found, docstrings not available")
if(NOT enforce)
Expand Down
3 changes: 2 additions & 1 deletion docs/requirements_mkdoc.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
git+https://github.com/luxonis/pybind11_mkdoc.git@59746f8d1645c9f00ebfb534186334d0154b5bd6
git+https://github.com/luxonis/pybind11_mkdoc.git@da6c64251a0ebbc3ffc007477a0b9c9f20cac165
libclang==16.0.6
numpy # Needed because of xtensor-python

0 comments on commit e7ba44d

Please sign in to comment.