Skip to content

feat: Automatic stub generation using nanobind stubgen #5489

Description

@lgritz

Our python stubs (which provide full type information for our python bindings) currently lives as a separate file checked into the repo, which must be regenerated and re-committed any time the Python bindings change.

Now that we've switched to nanobind, I think we can use its built-in stubgen to generate them correctly and automatically every time we build the bindings, rather than being a separate checked-in file that could fall out of sync.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement of existing/working features.good first issueGood one-day project for beginners without much knowledge of the code base.pythonPython APIs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions