Skip to content

Conversation

@inducer
Copy link
Owner

@inducer inducer commented Dec 19, 2024

This now generates a mostly-working stub file, automatically, at build time.

Still to do:

  • How to combine types from __init__ and the stub?
    • If kept redundant, add a stub check.
  • Make sure the types are actually seen
  • Make sure py.typed is installed
  • Stub issues:
    • Bogus enum.__str__ import
    • CallbackLifetimeHandle
    • .space returning object
    • Lots of spurious upcast overloads?
  • Fix docs
  • Fix barvinok build script

Closes #156.

x-ref: wjakob/nanobind#1055
x-ref: wjakob/nanobind#1061

@inducer inducer mentioned this pull request Feb 24, 2025
@inducer inducer force-pushed the towards-typing branch 6 times, most recently from b2cf885 to 8a13c72 Compare May 22, 2025 23:26
@inducer inducer changed the title Towards typing Scikit-build core, typing May 22, 2025
@inducer inducer changed the title Scikit-build core, typing Typing, scikit-build core May 22, 2025
@inducer inducer force-pushed the towards-typing branch 6 times, most recently from ed39b48 to df4d06b Compare May 29, 2025 22:07
@inducer inducer force-pushed the towards-typing branch 6 times, most recently from 3c6da0f to 09f9049 Compare June 3, 2025 14:06
@inducer
Copy link
Owner Author

inducer commented Jun 3, 2025

Based on inspection, the changes to the loopy tutorial output appear to have been equivalent, so I am not considering that a merge obstacle.

@inducer inducer merged commit b8c04ca into main Jun 3, 2025
18 of 19 checks passed
@inducer inducer deleted the towards-typing branch June 3, 2025 22:53
@inducer inducer mentioned this pull request Jun 7, 2025
This was referenced Jun 12, 2025
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.

2 participants