[BUG]: pybind11-config sometimes give wrong result
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- build-system
调研方向
首先,使用 issue 中的命令复现 matplotlib 的 editable 安装,并在使用 --user 安装 pybind11 时检查 pybind11-config 的结果。阅读链接的 matplotlib 上下文和 pip issue #13222,以确定失败属于 pybind11 还是 pip;完成的标准是确认 pybind11 方面的变更,或记录此处无需进行任何变更。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- C++
- 星标
- 18k
- 派生
- 2.3k
- 平均合并
- 5 天 7 小时
- 30 天内合并 PR
- 53
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pybind/pybind11 的其他 Issue
-
triage
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 3 天内回复
-
triage
难度 1/5 1 小时以内 新手友好度 62/100
pybind/pybind11#5604 · 1 条评论 ·
维护者通常 3 天内回复
-
triage
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 3 天内回复
-
docs
难度 2/5 1-3 小时 新手友好度 60/100
维护者通常 3 天内回复
-
array_t::at() returns a misaligned reference when the stride is not a multiple of alignof(T)可能已有人在做 @henryiii 今天认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 3 天内回复
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
raspberrypi/rpi-imager#1804 ·
-
difficulty: easy docs good first issue help wanted
难度 2/5 1-3 小时 新手友好度 74/100
Ryan-Millard/Img2Num#842 ·
维护者通常 12 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
microsoft/calculator#2532 ·
-
难度 2/5 1-3 小时 新手友好度 64/100
-
bug difficulty:easy prio:normal
难度 2/5 1-3 小时 新手友好度 62/100
NatronGitHub/openfx-misc#411 ·
维护者通常 1 天内回复