robotpy / robotpy-build

(mostly) automated C++ wrapping for Python
BSD 3-Clause "New" or "Revised" License
35 stars 16 forks source link

Update pybind11-stubgen to 2.5.x #228

Open auscompgeek opened 4 months ago

auscompgeek commented 4 months ago
Changes since 2.3.x Version 2.5.1 (Mar 26, 2024) -------------------------- Changes: - 🐛 Fixed: Missed numpy unsigned int types Version 2.5 (Mar 3, 2024) -------------------------- Changes: - 🐛 Fixed: Don't render pybind11 `KeysView`, `ValuesView`, `ItemsView` class definitions - 🐛 Fixed: Escape backslashes in stub output Version 2.4.1 (Nov 25, 2023) -------------------------- Changes: - 🐛 Fixed: do not remove `self` parameter annotation when types do not match Version 2.4 (Nov 21, 2023) -------------------------- Changes: - ✨ Added `--numpy-array-use-type-var` flag which reformats the pybind11-generated `numpy.ndarray[numpy.float32[m, 1]]` annotation as `numpy.ndarray[tuple[M, Literal[1]], numpy.dtype[numpy.float32]]`