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}")
3232# Dependencies 
3333# ============ 
3434
35- set (xtensor_REQUIRED_VERSION 0.26 .0)
35+ set (xtensor_REQUIRED_VERSION 0.27 .0)
3636if (TARGET  xtensor)
3737    set (xtensor_VERSION ${XTENSOR_VERSION_MAJOR} .${XTENSOR_VERSION_MINOR} .${XTENSOR_VERSION_PATCH} )
3838    # Note: This is not SEMVER compatible comparison 
@@ -48,7 +48,7 @@ endif()
4848
4949find_package (Python COMPONENTS Interpreter REQUIRED)
5050
51- set (pybind11_REQUIRED_VERSION 2.6.1 )
51+ set (pybind11_REQUIRED_VERSION 3.0.0 )
5252if  (NOT  TARGET  pybind11::headers)
5353    # Defaults to ON for cmake >= 3.18 
5454    # 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:
66  - cmake 
77  - ninja 
88  #  Host dependencies
9-   - xtensor>=0.26 ,<0.27  
9+   - xtensor>=0.27 ,<0.28  
1010  - numpy>=2.0 
1111  - pybind11>=2.12.0,<4 
1212  #  Test dependencies
Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ def cpp_flag(compiler):
7878    """Return the -std=c++17 compiler flag  and errors when the flag is 
7979    no available. 
8080    """ 
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 ' 
8383    else :
8484        raise  RuntimeError ('C++17 support is required by xtensor!' )
8585
@@ -104,7 +104,7 @@ def build_extensions(self):
104104                opts .append ('-fvisibility=hidden' )
105105        elif  ct  ==  'msvc' :
106106            opts .append ('/DVERSION_INFO=\\ "%s\\ "'  %  self .distribution .get_version ())
107-             opts .append ('/std:c++17 ' )
107+             opts .append ('/std:c++20 ' )
108108        for  ext  in  self .extensions :
109109            ext .extra_compile_args  =  opts 
110110        build_ext .build_extensions (self )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments