Published April 19, 2026 | Version v3.0.4
Software Open

pybind/pybind11: Version 3.0.4

  • 1. EPFL
  • 2. Princeton University
  • 3. @NVIDIA
  • 4. Optics11
  • 5. xAI
  • 6. @facebookresearch
  • 7. Sapienza University of Rome & Vrije Universiteit Brussel
  • 8. LBNL, previously HZDR
  • 9. Toyota Research Institute
  • 10. @ros2
  • 11. CFCS @ PKU
  • 12. QuantStack
  • 13. Georgia Tech
  • 14. Johns Hopkins University
  • 15. @4TelPtyLtd
  • 16. Bielefeld University
  • 17. Meta

Description

Bug fixes:

  • Fixed test builds with installed Eigen 5 by improving Eigen3 CMake package detection. #6036

  • Fixed move semantics of scoped_ostream_redirect to preserve buffered output and avoid crashes when moved redirects restore stream buffers. #6033

  • Fixed py::dynamic_attr() traversal on Python 3.13+ to correctly propagate PyObject_VisitManagedDict() results. #6032

  • Fixed std::shared_ptr<T> fallback casting to avoid unnecessary copy-constructor instantiation in reference_internal paths. #6028

CI:

  • Updated setup-uv to the maintained GitHub Action tag scheme. #6035

  • Updated pre-commit hooks. #6029

  • Updated GitHub Actions dependencies, including actions-setup-cmake and cibuildwheel. #6027

Files

pybind/pybind11-v3.0.4.zip

Files (1.1 MB)

Name Size Download all
md5:1d664200f45bca47b0af565afa8a51f0
1.1 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/pybind/pybind11/tree/v3.0.4 (URL)

Software