File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ message(STATUS "xtensor-python v${${PROJECT_NAME}_VERSION}")
32
32
# Dependencies
33
33
# ============
34
34
35
- set (xtensor_REQUIRED_VERSION 0.26 .0 )
35
+ set (xtensor_REQUIRED_VERSION 0.27 .0 )
36
36
if (TARGET xtensor )
37
37
set (xtensor_VERSION ${XTENSOR_VERSION_MAJOR} .${XTENSOR_VERSION_MINOR}.${XTENSOR_VERSION_PATCH} )
38
38
# Note: This is not SEMVER compatible comparison
@@ -48,7 +48,7 @@ endif()
48
48
49
49
find_package (Python COMPONENTS Interpreter REQUIRED )
50
50
51
- set (pybind11_REQUIRED_VERSION 2.6.1 )
51
+ set (pybind11_REQUIRED_VERSION 3.0.0 )
52
52
if (NOT TARGET pybind11::headers )
53
53
# Defaults to ON for cmake >= 3.18
54
54
# https://github.com/pybind/pybind11/blob/35ff42b56e9d34d9a944266eb25f2c899dbdfed7/CMakeLists.txt#L96
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ namespace xt
195
195
static self_type ensure (pybind11::handle h);
196
196
static bool check_ (pybind11::handle h);
197
197
198
- #if PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3
198
+ // #if PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3
199
199
// Prevent ambiguous overload resolution for operators defined for
200
200
// both xt::xcontainer_semantic and pybind11::object.
201
201
using semantic_base::operator +=;
@@ -207,7 +207,7 @@ namespace xt
207
207
using semantic_base::operator ^=;
208
208
// using semantic_base::operator<<=;
209
209
// using semantic_base::operator>>=;
210
- #endif
210
+ // #endif
211
211
212
212
private:
213
213
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ namespace xt
214
214
static self_type ensure (pybind11::handle h);
215
215
static bool check_ (pybind11::handle h);
216
216
217
- #if PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3
217
+ // #if PYBIND11_VERSION_MAJOR == 2 && PYBIND11_VERSION_MINOR >= 3
218
218
// Prevent ambiguous overload resolution for operators defined for
219
219
// both xt::xcontainer_semantic and pybind11::object.
220
220
using semantic_base::operator +=;
@@ -226,7 +226,7 @@ namespace xt
226
226
using semantic_base::operator ^=;
227
227
// using semantic_base::operator<<=;
228
228
// using semantic_base::operator>>=;
229
- #endif
229
+ // #endif
230
230
231
231
private:
232
232
You can’t perform that action at this time.
0 commit comments