Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Open
Description
Following the instructions inhttps://matplotlib.org/devdocs/devel/development_setup.html#create-local-environment (but usinguv to manage the virtual environment), I end up with the following error:
% uv pip install --verbose --no-build-isolation --editable ".[dev]"DEBUG uv 0.6.5 (Homebrew 2025-03-06)DEBUG Searching for default Python interpreter in virtual environmentsDEBUG Found `cpython-3.12.8-macos-aarch64-none` at `/Users/dstansby/software/matplotlib/.venv/bin/python3` (active virtual environment)DEBUG Using Python 3.12.8 environment at: .venvDEBUG Acquired lock for `.venv`DEBUG At least one requirement is not satisfied: file:///Users/dstansby/software/matplotlibDEBUG Using request timeout of 30sDEBUG Found PEP 621 metadata for /Users/dstansby/software/matplotlib in `pyproject.toml` (matplotlib)DEBUG No static `pyproject.toml` available for: matplotlib @ file:///Users/dstansby/software/matplotlib (DynamicField("version"))DEBUG Acquired lock for `/Users/dstansby/.cache/uv/sdists-v8/editable/a93b495625504936`DEBUG Preparing metadata for: matplotlib @ file:///Users/dstansby/software/matplotlibDEBUG No workspace root found, using project rootDEBUG Proceeding without build isolationDEBUG Calling `mesonpy.prepare_metadata_for_build_editable()` Building matplotlib @ file:///Users/dstansby/software/matplotlibDEBUG Building: matplotlib @ file:///Users/dstansby/software/matplotlibDEBUG No workspace root found, using project rootDEBUG Proceeding without build isolationDEBUG Calling `mesonpy.build_editable("/Users/dstansby/.cache/uv/builds-v0/.tmp3JxhbI", {}, None)`DEBUG DEBUG meson-python: error: Could not find ninja version 1.8.2 or newer.DEBUG Released lock at `/Users/dstansby/.cache/uv/sdists-v8/editable/a93b495625504936/.lock` × Failed to build `matplotlib @ file:///Users/dstansby/software/matplotlib` ├─▶ The build backend returned an error ╰─▶ Call to `mesonpy.build_editable` failed (exit status: 1) [stdout] meson-python: error: Could not find ninja version 1.8.2 or newer. hint: This usually indicates a problem with the package or the build environment.DEBUG Released lock at `/Users/dstansby/software/matplotlib/.venv/.lock`Addingninja>=1.8.2 to the build requirements file seems to fix this.
Metadata
Metadata
Assignees
Labels
No labels