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
[Bug]: Running stubtest locally fails #27580
Comments
Unfortunately the way meson does editable installs doesn't work with stubtest... It does work with a normal install. It also does work if you edit the |
Can you update the docs to say that? I'd do it but not sure I'd get the details right. |
I think updating these lines would be good: matplotlib/doc/devel/coding_guide.rst Lines 91 to 93 in e5098e0
If it's not possible to run stubtest on an editable install maybe we should just remove mention of it from this section of the docs? |
:/ I added that section so fine w/ removing it if it doesn't make sense, but then my question is - when do you use these tools? Regular mypy should work and is a pre-commit hook. |
Bug summary
Running
python tools/stubtest.py
fails for me locally withI can't work out what I need to do to fix this, and was hoping someone who knew more about the stubs could help! I followed the contributing guidelines to set up a development environment, which is working fine for tests etc.
Code for reproduction
Actual outcome
Stub test fails.
Expected outcome
Stub test runs.
Additional information
No response
Operating system
macOS
Matplotlib Version
3.9.0.dev896+gc1b80c56f7
Matplotlib Backend
MacOSX
Python version
3.11.6
Jupyter version
No response
Installation
git checkout
The text was updated successfully, but these errors were encountered: