Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include generated stubs in python package #6917

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
16719c3
Adding typing stubs to python package using pybind11-stubgen.
timohl Aug 13, 2024
4739963
Added py.typed marker file to python package.
timohl Aug 14, 2024
6c26d61
Added IGNORE_STUBGEN_ERRORS cmake option.
timohl Aug 15, 2024
ee90f58
Added changelog entry.
timohl Aug 15, 2024
dbfe46a
Removed message intended for debugging.
timohl Aug 15, 2024
138f3dd
Added COMMAND_ECHO to execute_process for CI debugging.
timohl Aug 15, 2024
2620894
Changed CI to use requirements_build.txt.
timohl Aug 15, 2024
c10dee2
Updated pyproject.toml build-system requirements.
timohl Aug 15, 2024
babbff0
Changed style check workflow to use requirements_style.txt.
timohl Aug 15, 2024
2674d5b
Added missing copy of requirements_build.txt to docker.
timohl Aug 15, 2024
cabef3c
Removed "" from execute_process args to fix build error.
timohl Aug 15, 2024
1abe058
Install open3d-ml dependencies for docker wheel build for stubgen.
timohl Aug 15, 2024
026aa0f
Fixed wrong working dir in windows workflow.
timohl Aug 15, 2024
acae49a
Added install step in MacOS Build wheel for o3d-ml requirements.
timohl Aug 16, 2024
89c482b
Added missing install of requirements.txt in windows workflow.
timohl Aug 16, 2024
8ed61cf
Added WITH_STUBGEN cmake flag to toogle typing stub generation.
timohl Aug 16, 2024
be32c1b
Added WITH_STUBGEN and IGNORE_STUBGEN_ERRORS to cmake config summary.
timohl Aug 16, 2024
d44139f
Disable stubgen for windows shared libs workflows.
timohl Aug 16, 2024
6a4e6d2
Disabled stubgen for windows cuda checks and fixed WITH_STUBGEN typo.
timohl Aug 16, 2024
c9fe4f0
Fixed typo in windows workflow.
timohl Aug 16, 2024
7dc7a38
Delete open3d reference in __init__.py to fix `open3d = ` in stubgen.
timohl Aug 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed typo in windows workflow.
timohl committed Dec 19, 2024
commit c9fe4f0771ece1c26abfcfba6f5a28c98b7e8c49
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -222,7 +222,7 @@ jobs:
python -m pip install -U jedi==${{ env.JEDI_VER }} idna==${{ env.IDNA_VER }}
- name: Install Open3D python requirements for stubgen
working-directory: ${{ env.SOURCE_DIR }}
if: ${{ matrix.WITH_STUBGEN == 'ON' }}
if: ${{ env.WITH_STUBGEN == 'ON' }}
run: |
$ErrorActionPreference = 'Stop'
python -m pip install -U -r python/requirements.txt