-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Propagate changes to backend loading to setup/setupext. #11962
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
Conversation
1) Restore the ability to set the default backend from setup.cfg. 2) Remove the backend fallback code. Note that not including `mpl-data/*.glade` in the package data is fine: that file had been removed in 962388f anyways.
1d4c035
to
954e84d
Compare
Thanks @anntzer ! |
For those building from source (which I'm sure is a decreasing number), this is bound to cause confusion because it will no longer attempt to pick the "best" backend for their system. For packagers, just telling them to set things with I think optimizing for the common case, this makes sense. But maybe to make the first faction happy we should say something at the end of compilation like: "Your default backend is set to X. This may not be optimal for your system."? |
@@ -81,10 +75,9 @@ | |||
# | |||
# The Agg, Ps, Pdf and SVG backends do not require external dependencies. Do | |||
# not choose MacOSX, or TkAgg if you have disabled the relevant extension | |||
# modules. Agg will be used by default. | |||
# modules. The default is determined by fallback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this change. Isn't the fallback approach being removed by this PR? (Or is this referring to something else recent that I probably missed while away from the project for the last couple of years...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fallback has been moved to runtime (not build time).
This has infact passed on travis, a webhook just got lost. |
Something went wrong ... Please have a look at my logs. |
Went ahead and merged this to move 3.0 forward, will do the backport by hand. |
BLD: Propagate changes to backend loading to setup/setupext.
Note that not including
mpl-data/*.glade
in the package data is fine:that file had been removed in 962388f anyways.
PR Summary
PR Checklist