Skip to content

Commit 9265511

Browse files
Bump pybind11 version to enable Python 3.11 wheel builds (google#1489)
This commit bumps the pybind11 version to 2.10.0, which is the first pybind version coming with Python 3.11 support. This change is necessary to facilitate wheel builds for Python 3.11 and upward, as changes to Python internals in 3.11 broke compatibility with older pybind11 versions. Co-authored-by: Dominic Hamon <[email protected]>
1 parent 1c26d8a commit 9265511

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Build wheels on ${{ matrix.os }} using cibuildwheel
4949
uses: pypa/[email protected]
5050
env:
51-
CIBW_BUILD: 'cp37-* cp38-* cp39-* cp310-*'
51+
CIBW_BUILD: 'cp37-* cp38-* cp39-* cp310-* cp311-*'
5252
CIBW_SKIP: "cp37-*-arm64 *-musllinux_*"
5353
# TODO: Build ppc64le using some other trick
5454
CIBW_ARCHS_LINUX: x86_64 aarch64

WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ git_repository(
1919
http_archive(
2020
name = "pybind11",
2121
build_file = "@//bindings/python:pybind11.BUILD",
22-
sha256 = "1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d",
23-
strip_prefix = "pybind11-2.4.3",
24-
urls = ["https://github.com/pybind/pybind11/archive/v2.4.3.tar.gz"],
22+
sha256 = "eacf582fa8f696227988d08cfc46121770823839fe9e301a20fbce67e7cd70ec",
23+
strip_prefix = "pybind11-2.10.0",
24+
urls = ["https://github.com/pybind/pybind11/archive/v2.10.0.tar.gz"],
2525
)
2626

2727
new_local_repository(

0 commit comments

Comments
 (0)