Propagate changes to backend loading to setup/setupext.#11962
Propagate changes to backend loading to setup/setupext.#11962tacaswell merged 1 commit intomatplotlib:masterfrom
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."? |
| # 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.
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.
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/*.gladein the package data is fine:that file had been removed in 962388f anyways.
PR Summary
PR Checklist