Tim Ohliger

Results 49 comments of Tim Ohliger

All changes can be summarized as follows: - Fixed ToGoogleDocString to not strip type information (see 703beadf9a62b) - Fixed parser bug when docstrings contain `,` (20c1855924, see strange default value...

Fixed the last remaining errors: * Defining `capsule = typing.Any` (until types.CapsuleType will be available in 3.13, see python/cpython#109599) * Defining `m` and `n` as `typing.TypeVar` Now `pybind11-stubgen` is able...

I think the `Can't find/import '_abc._abc_data'` should not impact the generated stubs, but I will investigate if this is still an issue and if so, how to fix it. The...

This is ready for review now. In [85dd074](https://github.com/isl-org/Open3D/pull/6917/commits/85dd0748553dcb7eeffb299b4eeb0ab637b4090b) I moved the namespace fixing (`open3d.[cpu|cuda].pybind.*` -> `open3d.*`) to sphinx autodoc callbacks, since the imports in the generated stubs were not working...

The open3d python package installs the following now: ``` open3d: __init__.py __init__.pyi _build_config.py app.py cpu examples libc++.so.1 libc++abi.so.1 ml py.typed resources tools visualization web_visualizer.py ``` Note the following new files:...

I fixed some build errors from CI checks. For that, I changed the workflows to always use requirements_build.txt instead of locally defining the build dependencies. I applied this to all...

I fixed some CI stuff, but there are still two issues left in the Windows checks: * With `BUILD_CUDA_MODULE` enabled pybind11-stubgen throws: ` [Open3D Error] (void __cdecl open3d::core::__OPEN3D_CUDA_CHECK(enum cudaError,const char...

I disabled stubgen for windows shared libs and windows cuda workflows by introducing the `WITH_STUBGEN` cmake flag. Currently, I cannot really check if stubgen works for CUDA since I do...

Honestly, I am not sure why there is this `open3d = ` at the end. I am no expert in `pybind11-stubgen` internals and the `__init__.py` from which the `__init__.pyi` is...

I fixed some mypy errors: ### Changed Tensor.arange signature to be like in numpy (230a9a6). This is how numpy defines arange: ```python @overload def arange( # type: ignore[misc] stop: _IntLike_co,...