pybind11 icon indicating copy to clipboard operation
pybind11 copied to clipboard

[BUG]: pybind11-config sometimes give wrong result

Open user202729 opened this issue 7 months ago • 0 comments

What version (or hash if on master) of pybind11 are you using?

latest

Problem description

when I install matplotlib in editable mode, with pybind11 installed in --user home directory but not globally, error about header not found is raised.

context: https://github.com/matplotlib/matplotlib/issues/29741#issuecomment-2830629159

Update: as mentioned in the linked issue, this is probably an issue with pip https://github.com/pypa/pip/issues/13222

to reproduce:

# make sure pybind11 is not installed globally
pip install --user pybind11
git clone --depth 1 https://github.com/matplotlib/matplotlib
cd matplotlib
pip install -r requirements/dev/build-requirements.txt
pip install --verbose --no-build-isolation --editable ".[dev]"

Is this a regression? Put the last known working version here if it is.

Not a regression

user202729 avatar Apr 25 '25 14:04 user202729