Commit c509e0b
committed
Build pybind11 3.1.0 in the scdv scripts
Both scdv scripts pinned pybind11 2.13.6, whose `eval.h` calls the
`_Py_fopen_obj` that Python 3.14 deprecates. 3.1.0 calls `Py_fopen`
from 3.14 on, so the deprecation is gone at the source rather than
merely kept quiet by the `SYSTEM` include treatment. Ubuntu and
Windows move together so an scdv built on either ships the same
pybind11.
scipy 1.17.1 declares a pre-emptive `pybind11<3.1.0` build bound, but
its generated `requirements/build.txt` carries no upper bound and the
build is driven with `--no-build-isolation`, so the bound does not
apply and the compile is clean.
Verified on Ubuntu 24.04 with Python 3.14.5: pybind11 3.1.0 installs
into the scdv prefix through the same recipe, scipy 1.17.1 recompiles
and runs against it, and solvcon builds with `-Werror` and passes 242
gtests and 2114 pytests.1 parent 0922a01 commit c509e0b
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
297 | | - | |
298 | | - | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
1277 | 1277 | | |
1278 | 1278 | | |
1279 | 1279 | | |
1280 | | - | |
| 1280 | + | |
1281 | 1281 | | |
1282 | 1282 | | |
1283 | 1283 | | |
1284 | | - | |
| 1284 | + | |
1285 | 1285 | | |
1286 | 1286 | | |
1287 | 1287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
917 | 917 | | |
918 | 918 | | |
919 | 919 | | |
920 | | - | |
| 920 | + | |
921 | 921 | | |
922 | 922 | | |
923 | | - | |
| 923 | + | |
924 | 924 | | |
925 | 925 | | |
926 | 926 | | |
| |||
0 commit comments