Skip to content
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

Bump pybind11-abi to 10 to reflect the fact that PYBIND11_INTERNALS_ID is not used anymore to track compatibility #106

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{% set version = "2.13.6" %}
{% set sha256 = "e08cb87f4773da97fa7b5f035de8763abc656d87d5773e62f6da0587d1f0ec20" %}

# this is set to PYBIND11_INTERNALS_VERSION
{% set abi_version = "4" %}
# Since pybind11 2.13.6, 2.12.1, 2.11.2, PYBIND11_INTERNALS_VERSION is not used anymore
# to check for compatibility between different,
{% set abi_version = "10" %}

package:
name: pybind11-split
Expand All @@ -14,7 +15,7 @@ source:
sha256: {{ sha256 }}

build:
number: 0
number: 1

requirements:
build:
Expand All @@ -30,11 +31,9 @@ outputs:
run_exports:
- pybind11-abi =={{ abi_version }}
test:
source_files:
- include/pybind11/detail/internals.h
commands:
# make sure the internals version matches the package version
- if [ $(grep "#define PYBIND11_INTERNALS_VERSION" include/pybind11/detail/internals.h | cut -d' ' -f3) != "{{ abi_version }}" ]; then exit 1; fi
- echo "pybind11-abi is a metapackage, no test is necessary."


- name: pybind11-global
script: build-pybind11-global.sh # [unix]
Expand Down