Bump minimum required Python version (#24554)
This commit is contained in:
		
							parent
							
								
									f1f875063c
								
							
						
					
					
						commit
						292e0af293
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -207,8 +207,8 @@ def _eprint(errmsg):
 | 
			
		|||
# Ubuntu 24.04: 3.12
 | 
			
		||||
# void: 3.12
 | 
			
		||||
 | 
			
		||||
if sys.version_info[0] != 3 or sys.version_info[1] < 7:
 | 
			
		||||
    _eprint('Error: Your Python is too old! Please upgrade to Python 3.7 or later.')
 | 
			
		||||
if sys.version_info[0] != 3 or sys.version_info[1] < 9:
 | 
			
		||||
    _eprint('Error: Your Python is too old! Please upgrade to Python 3.9 or later.')
 | 
			
		||||
    exit(127)
 | 
			
		||||
 | 
			
		||||
milc_version = __VERSION__.split('.')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue