Skip to content

[CI] Pin pybind11 version - #6366

Merged
hugtalbot merged 2 commits into
sofa-framework:masterfrom
bakpaul:pixi-pybind11-pin
Oct 8, 2026
Merged

hugtalbot merged 2 commits into
sofa-framework:masterfrom
bakpaul:pixi-pybind11-pin

Conversation

@bakpaul

@bakpaul bakpaul commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

This fixes crashes in bindings.

I had to recreate this PR because I cannot push to original remote.

supersedes #6348
--> See original PR for more info


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@hugtalbot

Copy link
Copy Markdown
Contributor

could you remove Claude form reviewers? @bakpaul

@bakpaul
bakpaul force-pushed the pixi-pybind11-pin branch from e4dd145 to 32ed39c Compare October 8, 2026 13:24
@hugtalbot

Copy link
Copy Markdown
Contributor

Big thanks to you @brentDSL

brent and others added 2 commits October 8, 2026 15:48
pybind11 3.1.0 runs keep_alive's postcall on the try-next-overload
sentinel, so bindings declared with keep_alive<0, N> -- Node.addObject --
segfault when called with arguments that match no overload instead of
raising TypeError. pixi.lock currently resolves 3.1.0 for every
environment. Fixed upstream by pybind/pybind11#6183.

author: @brentDSL
@bakpaul
bakpaul force-pushed the pixi-pybind11-pin branch from 32ed39c to 0658f43 Compare October 8, 2026 13:49
@hugtalbot
hugtalbot merged commit ace65a9 into sofa-framework:master Oct 8, 2026
8 of 10 checks passed
@hugtalbot hugtalbot added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Oct 14, 2026
bakpaul added a commit to bakpaul/sofa that referenced this pull request Oct 29, 2026
* [Pixi] Build SofaPython3 against pybind11 < 3.1

pybind11 3.1.0 runs keep_alive's postcall on the try-next-overload
sentinel, so bindings declared with keep_alive<0, N> -- Node.addObject --
segfault when called with arguments that match no overload instead of
raising TypeError. pixi.lock currently resolves 3.1.0 for every
environment. Fixed upstream by pybind/pybind11#6183.

author: @brentDSL

* regenerated the pixi lock file

---------

Co-authored-by: brent <brentpease@gmail.com>
@hugtalbot hugtalbot added this to the v26.12 milestone Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: project-ci-infrastructure pr: status ready Approved a pull-request, ready to be squashed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants