Documentation Link
https://matplotlib.org/devdocs/devel/development_setup.html
Problem
If I follow these instructions for setting up a clean mpl-dev conda environment on Ubuntu 24.04 LTS, the editable install fails to import with an error similar to the one reported in #28357. Adding --config-settings=setup-args="-Db_lto=false" to the pip install command worked for me. The question is, should we add documentation about using setting (that I still have no clue what it did), as a troubleshooting step, or would it make more sense to have the meson code somehow detect the correct setting for LTO and avoid the problem all together?
Suggested improvement
No response
Documentation Link
https://matplotlib.org/devdocs/devel/development_setup.html
Problem
If I follow these instructions for setting up a clean mpl-dev conda environment on Ubuntu 24.04 LTS, the editable install fails to import with an error similar to the one reported in #28357. Adding
--config-settings=setup-args="-Db_lto=false"to the pip install command worked for me. The question is, should we add documentation about using setting (that I still have no clue what it did), as a troubleshooting step, or would it make more sense to have the meson code somehow detect the correct setting for LTO and avoid the problem all together?Suggested improvement
No response