← All tasks
cpppybind/pybind11 #6034Not a task: already works

[BUG]: does not work with Eigen 5

envgap__pybind__pybind11-6034

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
ae05b1556632cf1469ee99a9d3836a8fb861da8d
Manifest
tests/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

pybind/pybind11 #6034 · read the original issue
### Required prerequisites

- [x] Make sure you've read the [documentation](https://pybind11.readthedocs.io). Your issue may be addressed there.
- [x] Search the [issue tracker](https://github.com/pybind/pybind11/issues) and [Discussions](https:/pybind/pybind11/discussions) to verify that this hasn't already been reported. +1 or comment there if it has.
- [x] Consider asking first in the [Gitter chat room](https://gitter.im/pybind/Lobby) or in a [Discussion](https:/pybind/pybind11/discussions/new).

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

98e50b702d9ab784ec918399aaa20adcfd1af9a9

### Problem description

Eigen 5 was released on 30th Sep 2025 <https://gitlab.com/libeigen/eigen/-/releases/5.0.0>.

The following macros are no longer available:

https://github.com/pybind/pybind11/blob/98e50b702d9ab784ec918399aaa20adcfd1af9a9/tools/FindEigen3.cmake#L36-L44

namely version detection fails.

### Reproducible example code

```text
$ cmake -S . -B build
…
-- Eigen3 version .. found in /usr/include/eigen3, but at least version 3.2.7 is required
-- Building tests WITHOUT Eigen, use -DDOWNLOAD_EIGEN=ON to download
…
```

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

Not a regression
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]