File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed 
build/pkgs/exceptiongroup Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ SAGE_SPKG_CONFIGURE([ exceptiongroup] [ 
2+   SAGE_PYTHON_PACKAGE_CHECK([ exceptiongroup]  
3+ ] [ 
4+   # This is another backport package, but not one that is a direct 
5+   # dependency of sagelib yet. Since it provides python-3.11 features, 
6+   # it is superfluous when >=python-3.11 is being used. Here we test 
7+   # for a python minor version component greater than or equal to 11, 
8+   # and mark this package as "not required" if we succeed. 
9+   # 
10+   # See also: importlib_metadata, importlib_resources, typing_extensions 
11+   # 
12+   AC_MSG_CHECKING ( [ for >=python-3.11] )  
13+ 
14+   # PYTHON_MINOR is exported by python's spkg-configure.m4 
15+   AC_REQUIRE ( [ SAGE_SPKG_CONFIGURE_PYTHON3] )  
16+ 
17+   AS_IF ( [ test $PYTHON_MINOR -ge 11] [  
18+     AC_MSG_RESULT ( [ yes] )  
19+     sage_require_exceptiongroup=no 
20+   ]  ,[ 
21+     AC_MSG_RESULT ( [ no] )  
22+   ]  ) 
23+ ] 
24+ 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments