| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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.
|
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 setup.cfg (which has worked for a long time, but wasn't the default) is clearly a step forward. 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."? |
Sorry, something went wrong.
| # 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...)
Sorry, something went wrong.
There was a problem hiding this comment.
The fallback has been moved to runtime (not build time).
Sorry, something went wrong.
|
Indeed, things changed with #9795 / #11581 / #11600 (sorry the discussion is a bit spread out). We still pick the best backend, but do it at import time now. So the best-backend-picking behavior occurs even when you install from a prebuilt distribution (wheel, linux distro, etc.). |
Sorry, something went wrong.
|
This has infact passed on travis, a webhook just got lost. |
Sorry, something went wrong.
|
Something went wrong ... Please have a look at my logs. |
Sorry, something went wrong.
|
Went ahead and merged this to move 3.0 forward, will do the backport by hand. |
Sorry, something went wrong.
BLD: Propagate changes to backend loading to setup/setupext.
| Back | FazBrowse Home | New Git URL |
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