Skip to content

[BUG]: pybind11-config sometimes give wrong result #5631

Open
@user202729

Description

@user202729

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: matplotlib/matplotlib#29741 (comment)

Update: as mentioned in the linked issue, this is probably an issue with pip pypa/pip#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNew bug, unverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions