We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following the instructions on the dev setup page fails due to these missing dependencies:
$ python -m pip install --verbose --no-build-isolation --editable ".[dev]" Using pip 24.0 from /home/user/dev/matplotlib/venv/lib/python3.12/site-packages/pip (python 3.12) Obtaining file:///home/user/dev/matplotlib Running command Checking if build backend supports build_editable Checking if build backend supports build_editable ... done ... ModuleNotFoundError: No module named 'mesonpy'
It seems like the CI tasks need to manually install them as well:
matplotlib/azure-pipelines.yml
Line 138 in a4243d9
and once they are manually installed locally using python -m pip install meson-python numpy pybind11 setuptools-scm, the build succeeds:
python -m pip install meson-python numpy pybind11 setuptools-scm
$ python -m pip install --verbose --no-build-isolation --editable ".[dev]" ... Installing collected packages: matplotlib Attempting uninstall: matplotlib Found existing installation: matplotlib 3.8.4 Uninstalling matplotlib-3.8.4: Removing file or directory /home/user/dev/matplotlib/venv/lib/python3.12/site-packages/__pycache__/pylab.cpython-312.pyc Removing file or directory /home/user/dev/matplotlib/venv/lib/python3.12/site-packages/matplotlib-3.8.4.dist-info/ Removing file or directory /home/user/dev/matplotlib/venv/lib/python3.12/site-packages/matplotlib/ Removing file or directory /home/user/dev/matplotlib/venv/lib/python3.12/site-packages/mpl_toolkits/axes_grid1/ Removing file or directory /home/user/dev/matplotlib/venv/lib/python3.12/site-packages/mpl_toolkits/axisartist/ Removing file or directory /home/user/dev/matplotlib/venv/lib/python3.12/site-packages/mpl_toolkits/mplot3d/ Removing file or directory /home/user/dev/matplotlib/venv/lib/python3.12/site-packages/pylab.py Successfully uninstalled matplotlib-3.8.4 Successfully installed matplotlib-3.10.0.dev168+ga4243d9557
Update the requirements files to include these dependencies. Update the pipelines to only use the requirements files and not manual pip calls.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Summary
Following the instructions on the dev setup page fails due to these missing dependencies:
It seems like the CI tasks need to manually install them as well:
matplotlib/azure-pipelines.yml
Line 138 in a4243d9
and once they are manually installed locally using
python -m pip install meson-python numpy pybind11 setuptools-scm
, the build succeeds:Proposed fix
Update the requirements files to include these dependencies. Update the pipelines to only use the requirements files and not manual pip calls.
The text was updated successfully, but these errors were encountered: