-
Notifications
You must be signed in to change notification settings - Fork 0
update to 2.12.0 #15
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
update to 2.12.0 #15
Conversation
Linter check found the following problems:ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_31prcxo6j0/clone` failed. (See above for error) The following problems have been found:===== ERRORS =====
|
Linter check found the following problems:ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_18jg6dz0e6/clone` failed. (See above for error) The following problems have been found:===== ERRORS =====
|
Linter check found the following problems:ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_c2b3q5i56r/clone` failed. (See above for error) The following problems have been found:===== ERRORS =====
|
Linter check found the following problems:ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_2el81t7jw0/clone` failed. (See above for error) The following problems have been found:===== ERRORS =====
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
{% set abi_buildnumber = "1" %} | ||
# pybind11 now defines two ABI version. 4 and 5 for 3.12+ or msvc. | ||
# https://github.com/pybind/pybind11/blob/v2.12.0/include/pybind11/detail/internals.h#L40 | ||
{% set abi_version = "4" %} # [py<312 and not win] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see the requirement that version 5 is used for py>=312
but I can't seem to find anything related to win
being affected or not. Can you please point me in the right direction?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line has defined(_MSC_VER)
. (which can be read as if visual studio).
And the details are in this PR: pybind/pybind11#4779
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jrice1317 In case you wonder, _MSC_VER
is documented in https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170.
# pybind11 now defines two ABI version. 4 and 5 for 3.12+ or msvc. | ||
# https://github.com/pybind/pybind11/blob/v2.12.0/include/pybind11/detail/internals.h#L40 | ||
{% set abi_version = "4" %} # [py<312 and not win] | ||
{% set abi_buildnumber = "1" %} # [py<312 and not win] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where does abi_buildnumber
come from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just the build number of the pybind11-abi
package (line 28).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! From conda-forge#95, it looks like conda-forge will potentially also change their pybind11-abi version to 5 for py312 and windows.
Linter check found the following problems:ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_cfy744ih9k/clone` failed. (See above for error) The following problems have been found:===== ERRORS =====
|
Changes:
https://github.com/pybind/pybind11/tree/v2.12.0
Note:
pybind11 now defines two ABI version. 4 and 5 for 3.12+ or msvc.
https://github.com/pybind/pybind11/blob/v2.12.0/include/pybind11/detail/internals.h#L40
pybind11-abi is used only by libmambapy (which will require a rebuild).