fix: PYBIND11_INTERNALS_VERSION bump for MSVC#4819
Conversation
…#4779. See comments there.
Good question, that crossed my mind, too. I think it would be much more straightforward to say "2.12 unconditionally uses 5". What I don't know: how much trouble will that cause for the community at large? Who feels strongly about making the call one way or another? I'm fine either way, happier with using 5 universally. I do believe though that we should merge this PR straightaway, because holding it back while we make up our minds doesn't do any good for anyone. |
I don't know. I don't really have a feel for this. I know PyTorch uses this, but they disable our protections for cross-compilers, since they want to mix and match compilers. CUDA users sometimes disable those too, since they want to mix and match a CUDA compiler with a host compiler.
Yes, but it was draft. :) |
|
Sorry I simply forgot to mark it as ready for review before. |
henryiii
left a comment
There was a problem hiding this comment.
This already is incompatible with previous versions, due to the previous PR. So an easy change.
PYBIND11_INTERNALS_VERSION bump for MSVCPYBIND11_INTERNALS_VERSION bump for MSVC
Description
Piggy-backed on PR #4779. See comments there.
Suggested changelog entry:
Also bump ``PYBIND11_INTERNALS_VERSION`` for MSVC, which unlocks two new features without creating additional incompatibilities.