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

Generate nanobind type stubs #775

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Generate nanobind type stubs #775

wants to merge 1 commit into from

Conversation

inducer
Copy link
Owner

@inducer inducer commented Aug 2, 2024

This is an attempt to make use of nanobind's stub generation

This does not work at all for now. Problems:

  • How do we convince scikit-build-core to install py.typed?
  • nanobind.stubgen produces a bunch of lines with @property that decorate nothing.
  • Can editable installs work?
  • nanobind.stubgen fails during build while trying to import pytools (because it's apparently trying to import pyopencl)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant