matplotlib / matplotlib/matplotlib
[Doc]: Setting up development environment guide doesn't work for Ubuntu 24.04 LTS
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 23.2k
- Forks
- 8.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 66
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked development setup guide and reproduce the clean mpl-dev conda environment and editable install on Ubuntu 24.04 LTS. Compare the failure with the reported workaround using --config-settings=setup-args="-Db_lto=false"; done means the project has a verified resolution, either updated setup instructions or a confirmed Meson-side fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100