From 340a61720b4293ca423a8ce7865f7fb9636ac907 Mon Sep 17 00:00:00 2001 From: Benoit Bovy Date: Tue, 3 Dec 2024 10:53:59 +0100 Subject: [PATCH] require pybind >= 2.11.0 The geoarrow module uses the `py::capsule` constructor added in 2.11.0. https://pybind11.readthedocs.io/en/stable/changelog.html#version-2-11-0-july-14-2023 --- ci/environment-dev.yml | 2 +- ci/environment.yml | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/environment-dev.yml b/ci/environment-dev.yml index a22d803..46403cc 100644 --- a/ci/environment-dev.yml +++ b/ci/environment-dev.yml @@ -8,7 +8,7 @@ dependencies: - cmake - python - numpy - - pybind11 + - pybind11>=2.11.0 - scikit-build-core - ninja - pytest diff --git a/ci/environment.yml b/ci/environment.yml index 7b9ab83..57bd9b6 100644 --- a/ci/environment.yml +++ b/ci/environment.yml @@ -9,7 +9,7 @@ dependencies: - cmake - python - numpy - - pybind11 + - pybind11>=2.11.0 - scikit-build-core - ninja - pytest diff --git a/pyproject.toml b/pyproject.toml index dda0dc0..86ac3be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ "scikit_build_core[rich]", - "pybind11", + "pybind11>=2.11", ] build-backend = "scikit_build_core.build"