-
-
Notifications
You must be signed in to change notification settings - Fork 30
Install Matplotlib as optional extra? #100
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
Comments
Yeah, this is something we want moving forward. I can't promise a timeline currently, but @TheTripleV was investigating this. |
@wpilibsuite Can you make socialcards /
Error example
|
In poetry my workaround for now is this: sphinxext-opengraph = "<0.8" # https://github.com/wpilibsuite/sphinxext-opengraph/issues/100 Then |
Note, I'm totally open to an external contributor PRing this. |
Hi, thank you for the project @Daltz333 and for the excellent addition as well @choldgraf! I use @choldgraf, I suppose this is mostly for you:
Sorry for the inconvenience - also let me know if I can clarify anything above. |
Hey all - I'm happy with whatever y'all wanna do on the project, but I don't have time to do any of this work. Sorry about that 😞 |
I have a PR open to make matplotlib opt in. I'll get it merged and released. |
Thank you for the social card previews (#88), they look really good!
(I would like to generate them for the CPython docs (https://docs.python.org/), but need to check some things first, e.g. how it works with translations, how to omit them from archives/non-web builds, check our deploy process works with ~500 images and 41 MB.)
We're already using this extension for OG metadata and it's working well.
Unfortunately, the new Matplotlib dependency broke our CI yesterday because we run doctests against the CPython 3.12 development branch, and unsurprisingly the NumPy dependency isn't yet compatible (for example: numpy.txt, which begins with
RuntimeWarning: NumPy 1.24.2 may not yet support Python 3.12
).So in the meantime we have to pin to the earlier 0.7.5 release (python/cpython#101642).
Would it be possible to have Matplotlib installable as an optional extra? Even when using Python < 3.12, it's a pretty heavy dependency to install if you don't need it.
Docs:
Thanks again!
The text was updated successfully, but these errors were encountered: