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

Automate testing and updating of stub files in Python bindings #624

Open
paleolimbot opened this issue Sep 19, 2024 · 0 comments
Open

Automate testing and updating of stub files in Python bindings #624

paleolimbot opened this issue Sep 19, 2024 · 0 comments

Comments

@paleolimbot
Copy link
Member

Apparently stubtest is not quite sufficient to detect out-of-date stubs, as found in #606, and generating the stubs using mypy on CI and checking that the .pyi files didn't change also didn't quite work out-of-the-box. There are some options for generating type stubs that might be simpler than mypy or might not require installing in advance, and it might be necessary to not use .pyi files that start with an underscore for this to work with mypy.

In general, we should be able to follow the work in pyarrow to provide stubs that can at least enable a useful developer experience and user experience for the few object types that we don't provide Python wrappers for (e.g., buffer view).

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

No branches or pull requests

1 participant