Skip to content

Update Pybind to v2.12.0#1640

Merged
ax3l merged 1 commit intoopenPMD:devfrom
franzpoeschel:pybind-2.12
Jun 24, 2024
Merged

Update Pybind to v2.12.0#1640
ax3l merged 1 commit intoopenPMD:devfrom
franzpoeschel:pybind-2.12

Conversation

@franzpoeschel
Copy link
Contributor

Factored out of #1637 since this commit has a different author and should not be squashed.
Pybind v2.12.0 is needed for Numpy 2.0 support.

CI will fail since the subsequent CI upgrades from #1637 are still needed.

An attempt at fixing this via updating dependencies...
@franzpoeschel franzpoeschel added third party third party libraries that are shipped and/or linked frontend: Python3 internal labels Jun 24, 2024
@franzpoeschel franzpoeschel requested a review from ax3l June 24, 2024 12:42
@franzpoeschel franzpoeschel enabled auto-merge (squash) June 24, 2024 12:42
typename ValueType = typename detail::iterator_access<Iterator>::result_type,
typename... Extra>
iterator make_iterator(Iterator first, Sentinel last, Extra &&...extra) {
typing::Iterator<ValueType> make_iterator(Iterator first, Sentinel last, Extra &&...extra) {

Check notice

Code scanning / CodeQL

Unused static variable

Static variable extra is never read.
typename KeyType = typename detail::iterator_key_access<Iterator>::result_type,
typename... Extra>
iterator make_key_iterator(Iterator first, Sentinel last, Extra &&...extra) {
typing::Iterator<KeyType> make_key_iterator(Iterator first, Sentinel last, Extra &&...extra) {

Check notice

Code scanning / CodeQL

Unused static variable

Static variable extra is never read.
typename ValueType = typename detail::iterator_access<Iterator>::result_type,
typename... Extra>
iterator make_iterator(Iterator first, Sentinel last, Extra &&...extra) {
typing::Iterator<ValueType> make_iterator(Iterator first, Sentinel last, Extra &&...extra) {

Check notice

Code scanning / CodeQL

Unused local variable

Variable extra is not used.
typename KeyType = typename detail::iterator_key_access<Iterator>::result_type,
typename... Extra>
iterator make_key_iterator(Iterator first, Sentinel last, Extra &&...extra) {
typing::Iterator<KeyType> make_key_iterator(Iterator first, Sentinel last, Extra &&...extra) {

Check notice

Code scanning / CodeQL

Unused local variable

Variable extra is not used.
@ax3l ax3l disabled auto-merge June 24, 2024 17:02
@ax3l ax3l merged commit 51bcde6 into openPMD:dev Jun 24, 2024
@ax3l ax3l self-assigned this Jun 24, 2024
@ax3l
Copy link
Member

ax3l commented Jun 24, 2024

@franzpoeschel can you do a follow-up PR to update the docs and CMake logic to require pybind11 v2.12.0+?

@ax3l
Copy link
Member

ax3l commented Jun 24, 2024

See it in #1637 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend: Python3 internal third party third party libraries that are shipped and/or linked

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants