-
Notifications
You must be signed in to change notification settings - Fork 2.2k
chore: use CPython macros to construct PYBIND11_VERSION_HEX
#5683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
We also read this in dynamic metadata. I don't think this can be described with regex. We could add a custom plugin; we already have What we have now (two edits to one file) is still much better than before (which also required edits to another file), though following CPython more closely sounds useful. |
Oh, nevermind, I see you left |
As long as we test somewhere that these two match (which I think we do?), I'm fine with it. |
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
PYBIND11_VERSION_HEX
PYBIND11_VERSION_HEX
Description
As per title, use CPython macros to construct
PYBIND11_VERSION_HEX
. See also: https://github.com/python/cpython/blob/HEAD/Include/patchlevel.hSuggested changelog entry:
PYBIND11_VERSION_HEX
📚 Documentation preview 📚: https://pybind11--5683.org.readthedocs.build/