| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| 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 | |
|---|---|---|---|
@@ -6,7 +6,7 @@ dependencies: | |||
| 6 | 6 | - cmake | |
| 7 | 7 | - ninja | |
| 8 | 8 | # Host dependencies | |
| 9 | - - xtensor>=0.26,<0.27 | ||
| 9 | + - xtensor>=0.27,<0.28 | ||
| 10 | 10 | - numpy>=2.0 | |
| 11 | 11 | - pybind11>=2.12.0,<4 | |
| 12 | 12 | # Test dependencies | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -78,8 +78,8 @@ def cpp_flag(compiler): | |||
| 78 | 78 | """Return the -std=c++17 compiler flag and errors when the flag is | |
| 79 | 79 | no available. | |
| 80 | 80 | """ | |
| 81 | - if has_flag(compiler, '-std=c++17'): | ||
| 82 | - return '-std=c++17' | ||
| 81 | + if has_flag(compiler, '-std=c++20'): | ||
| 82 | + return '-std=c++20' | ||
| 83 | 83 | else: | |
| 84 | 84 | raise RuntimeError('C++17 support is required by xtensor!') | |
| 85 | 85 | ||
@@ -104,7 +104,7 @@ def build_extensions(self): | |||
| 104 | 104 | opts.append('-fvisibility=hidden') | |
| 105 | 105 | elif ct == 'msvc': | |
| 106 | 106 | opts.append('/DVERSION_INFO=\\"%s\\"' % self.distribution.get_version()) | |
| 107 | - opts.append('/std:c++17') | ||
| 107 | + opts.append('/std:c++20') | ||
| 108 | 108 | for ext in self.extensions: | |
| 109 | 109 | ext.extra_compile_args = opts | |
| 110 | 110 | build_ext.build_extensions(self) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments